我在 Rstudio 中安装软件包时遇到问题,我尝试安装“nortest”,但它一直说以下错误:
> install.packages("nortest")
Installing package into ‘C:/Users/meliv/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
'lib = "C:/Users/meliv/Documents/R/win-library/3.6"' is not writable
probando la URL
'https://cran.rstudio.com/bin/windows/contrib/3.6/nortest_1.0-4.zip'
Content type 'application/zip' length 39063 bytes (38 KB)
downloaded 38 KB
Warning in install.packages :
cannot create dir 'C:\Users\meliv\Documents\R\win-library\3.6\file408c43245306', reason 'No such file or directory'
Error in install.packages : unable to create temporary directory ‘C:\Users\meliv\Documents\R\win-library\3.6\file408c43245306’
我尝试取消选中文件夹的“只读”功能,但没有任何区别。
希望可以有人帮帮我。谢谢
附言。我有 Windows 10