Kindly confirm if the update is successful before i go ahead to install phyloseq
DONE (renv)
The downloaded source packages are in
‘C:\Users\Paulina\AppData\Local\Temp\RtmpqUXQnd\downloaded_packages’
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
'lib = "C:/Program Files/R/R-4.2.2/library"' is not writable
I have no idea, really; I have not used Windows in years. I would assume you are okay unless you got an actual error messages. My Ubuntu Linux machine gives somewhat similar messages after I install a package successfully. Good luck.
You need to run RStudio as administrator to be able to install packages in that folder, otherwise, usa a user level package library in a folder where you have write permissions.
You need to be more specific, saying "it didn't work" doesn't give us any clue on what your current problem might be. Please post the complete console output you get when you try to update your packages.
That is not what I meant, I asked you for the console output when you try to update your CRAN packages. Run this command and post the complete console output you get.
installing source package 'renv' ...
** package 'renv' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
DONE (renv)
The downloaded source packages are in
‘C:\Users\Paulina\AppData\Local\Temp\RtmpUDeING\downloaded_packages’
Warning in install.packages(update[instlib == l, "Package"], l, repos = repos, :
'lib = "C:/Program Files/R/R-4.2.2/library"' is not writable
This suggests you have connectivity issues, these are some things to try.
Choose a different CRAN repository, RStudios repository is a good choice (http://cran.rstudio.com/) or you could choose one that is geographically closer to you.
Check if your internet connection has traffic restrictions of some kind, like a firewall, proxy server, etc. This is usually the case when you are at work or school.
Also, you are still not running RStudio as administrator so you are not going to be able to install packages on that location, as I said before, either you have to set your package library in a folder where you have write permissions or you need to run RStudio as administrator