Description of issue - Downloaded R studio for the first time. Trying to install packages(readxl). When I write the command, a dialogue box appears asking me to use the personal directory or not. I have tried both options but still cannot install packages.
The following error message is coming up.
Warning in install.packages :
'lib = "C:/Program Files/R/R-4.0.3/library"' is not writable
Warning in install.packages :
cannot create dir 'C:\Users\bhaum\Documents\R', reason 'No such file or directory'
Error in install.packages : unable to create ‘C:/Users/bhaum/Documents/R/win-library/4.0’
I have also installed R tools but the result has been the same.
System Information:
- RStudio Edition: Desktop version
- RStudio Version: 1.4 (newest version)
- OS Version: windows 64 bit
- R Version: 4.0.3