Tidyverse package is getting installed

install.packages("tidyverse")
Warning in install.packages("tidyverse") :
'lib = "C:/Program Files/R/R-3.6.1/library"' is not writable
Error in install.packages("tidyverse") :
unable to create ‘C:\Users??????/R/win-library/3.6’
In addition: Warning message:
In dir.create(userdir, recursive = TRUE) :
cannot create dir 'C:\Users??????', reason 'Invalid argument'

?????is in other language.
can anyone tell me what is wrong.

R has problems with non ASCII characters on windows user names, I recommend you to run Rstudio as administrator so you can install packages in C:/Program Files/R/R-3.6.1/library instead of your user package library.

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