I've been having a few problems installing some packages/updates in R Studio. The following error seems to come up consistently
Fatal error: cannot open file 'C:\Users\Lawrence': No such file or directory
ERROR: lazy loading failed for package 'rmarkdown'
Now, my Windows 10 user folder name actually has a space between my first (Lawrence) and last name. Is this known to be a problem when installing packages?
Yes it is, R doesn't like empty spaces and non ASCII characters on the libPath, a quick walk around would be to install on the system wide library folder, try something like this but change the R version accordingly to your actual setup