Make a file writable in order to add new packages

前端 未结 4 1819
长情又很酷
长情又很酷 2020-12-04 02:03

I use Rstudio and try to add new packages through command console.

It fails to install it for this reason

install.packages(\"devtools\"); devtools::i         


        
4条回答
  •  南方客
    南方客 (楼主)
    2020-12-04 02:26

    I ran into this problem. The issue for me was using single quotes instead of double quotes. Using install.packages("foo") worked fine, whereas install.packages('foo') caused this issue.

提交回复
热议问题