Entering edit mode
heremin
•
0
@heremin-16589
Last seen 6.3 years ago
I am trying to install bioconductor pathview, but it always shows the error message "installation path not writable". Can someone help?
Thank you.
You will have to give us more information than that. How are you trying to install? Show some code. Also, what is the output from sessionInfo()? Can you install other BioC packages?
I followed the instruction from website http://pathview.r-forge.r-project.org/#fig-2 step by step.
source("http://bioconductor.org/biocLite.R")
biocLite("pathview")
Then it shows me that message:
The downloaded source packages are in
‘C:\Users\min.he\AppData\Local\Temp\RtmpkHOG8Q\downloaded_packages’
installation path not writeable, unable to update packages: foreign, survival
This message is about updating packages 'foreign' and 'survival', not 'pathview' or other BioC packages. These two packages come with the R installation and you need to run R as an administrator in order to update them.
If there are no other complaints by biocLite() -- have you tried loading 'pathview' (or other BioC pkgs) after the installation?
> library("pathview")
Thank you so much for your help. It works now.
I can't install other BioC packages