how to load edgeR each time I start R?
1
0
Entering edit mode
lplough • 0
@lplough-8459
Last seen 7.2 years ago
United States

This is an easy question but I can't find good documentation. 

After installing  or "sourcing" biocLite and installed relevant packages (edgeR, etc) I can run my analyses. But after closing the R session, and then restarting it, I have to resource BiocLite and then load all packages again. Seems like I wouldnt want to do this each time. Is there an appropriate way to have my packages saved from previous installations, so i can just load (e.g.  > library(xxx) ) all neccessary BiocLite packages ? 

Thanks

edger bioclite installation • 1.5k views
ADD COMMENT
0
Entering edit mode

Sorry, I didn't explain myself well.  I haven't been using Bioconductor for long, so thought I had missed something in how packages were loaded/retained/accessed.  Anyway I figured out my brainfart.  I was switching between 2 servers and R versions and had not installed BiocLite on both. So I thought I had installed the edgeR package on my local server, but had not so obv. it wouldn't load! Thanks for the reply and sorry for the question. 

ADD REPLY
1
Entering edit mode
@james-w-macdonald-5106
Last seen 12 hours ago
United States

I think you misunderstand the process. Once you have installed a package, it is available on a permanent basis. In other words, you should be able to just start R and then use library(edgeR), without having to reinstall the package.

ADD COMMENT

Login before adding your answer.

Traffic: 949 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6