Packages installation errors with users directory in hebrew letter

My windows user name and home directory is in hebrew letters. I somehow only gave warning messages until now when I tried to update my R version and install installr package for it and it retruns the following error:Error in .read_description(dfile) :
file 'C:/Users/éåøé/AppData/Local/Temp/Rtmp4CSgfJ/R.INSTALL5f066541d76/installr/DESCRIPTION' does not exist

Is there anyway around it?


You can change the default library folder by setting your R_LIBS_SITE environmental variable on a .Reviron or .Rprofile file, for example:

# In a .Renviron file you can set it by adding this line
R_LIBS_SITE="C:\\Program Files\\R\\R-4.0.5\\library"

For a more detailed explanation, you can read this blog post

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.