R package installtion error
When i gonna install packages it showing error like this.
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/survival_2.42-3.zip'
Content type 'application/zip' length 4396605 bytes (4.2 MB)
downloaded 4.2 MB
trying URL 'https://bioconductor.org/packages/3.3/bioc/bin/windows/contrib/3.3/systemPipeR_1.6.4.zip'
Content type 'application/zip' length 8452906 bytes (8.1 MB)
downloaded 8.1 MB
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/XML_3.98-1.11.zip'
Content type 'application/zip' length 4307695 bytes (4.1 MB)
downloaded 4.1 MB
Error in unzip(zipname, exdir = dest) :
**cannot open file 'C:/Users/Amit/Documents/R/win-library/3.3/file16dc44deeaa/assertthat/DESCRIPTION': Permission denied**
Please help me to fix this problems. Thank you
• 3,328 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Looks like you don't have administrator permission, try to get them first and then try again,
How can get administrator permission in R studio?
Get an administrator account for windows.
If your account has local admin privileges then right click on R-studio icon and use "run as administrator". Looks like you are using Windows so this should work.
Hello amitunited0532!
We believe that this post does not fit the main topic of this site.
Not bioinformatics
For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.
If you disagree please tell us why in a reply below, we'll be happy to talk about it.
Cheers!
Read about
libargument ofinstall.packages(), and set it to a directory where you have write access.