Question: how to load edgeR each time I start R?
gravatar for lplough
4.4 years ago by
United States
lplough0 wrote:

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 ? 


edger bioclite installation • 662 views
ADD COMMENTlink modified 4.4 years ago by James W. MacDonald52k • written 4.4 years ago by lplough0

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 REPLYlink modified 4.4 years ago • written 4.4 years ago by lplough0
Answer: how to load edgeR each time I start R?
gravatar for James W. MacDonald
4.4 years ago by
United States
James W. MacDonald52k wrote:

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 COMMENTlink written 4.4 years ago by James W. MacDonald52k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 158 users visited in the last hour