By Greg Nowak, 9 July, 2021 Handling Multibyte Characters And Strings In R Project If you encounter this problem when reading csv-files, you might want to try to change the encoding from UTF-8 to latin1. This worked for me when using the tolower function in R. Pretty nice solution here with gsub (https://stackoverflow.com/questions/38828620/how-to-remove-strange-char…): Tags Script rscript rstudio
By Greg Nowak, 5 February, 2021 Reinstalling and Updating All Current R-Packages To New Version of R In bash: R -e 'update.packages(checkBuilt = TRUE, ask = FALSE)' Source: https://community.rstudio.com/t/reinstalling-packages-on-new-version-of… Tags rscript r-project
By Greg Nowak, 12 April, 2017 Time Stamp in R How to make a nice time stamp with date and time in R: now <- strptime(Sys.time(), "%Y-%m-%d%T") time_stamp <- sprintf("%s", now ) Tags r-project rstudio rscript