How to get rid of "Update all/some/none? [a/s/n]:"
1
1
Entering edit mode
jacorvar ▴ 40
@jacorvar-8972
Last seen 8 months ago
European Union

Dear BioC community,

Every time I install a bioconductor package as biocLite('oligo'), I'm always asked (after installing it) if I'd like to update the following packages:

Old packages: 'rgl', 'mgcv', 'nlme'
Update all/some/none? [a/s/n]: n

Does anyone know how to solve this? It doesn't cause me a problem, but it's annoying to be prompted every time.

Thanks

rgl mgcv nlme package installation • 12k views
ADD COMMENT
0
Entering edit mode

Do you mean that you have previously answered 'a', the update fails (or does not?), and you continue to be prompted to update those packages? Or that you don't want to update those packages (in which case the answer is as Dan indicated below).

ADD REPLY
1
Entering edit mode

My guess is that the OP is using R-devel for Windows and is getting a message from biocLite() like this:

Packages which are only available in source form, and may need compilation of
  C/C++/Fortran: ‘mgcv’ ‘nlme’
  These will not be installed

I have been getting this message for a couple of weeks. CRAN is providing Windows binaries for these packages for R-release but not for R-devel. biocLite() keeps prompting to install these packages even though they are not actually available for the operating system being used.

I eliminated the problem for myself by installing each of the packages from source under Windows using Rtools 3.3.

ADD REPLY
0
Entering edit mode

I think that CRAN would normally provide these; I'll ask what's up and report back.

ADD REPLY
0
Entering edit mode

These packages are part of the daily R(-devel) snapshot, and CRAN does not build the binaries. So one could (1) install the current snapshot of R-devel, or (2) install Rtools and install the packages from source (e.g., via biocLite(c("nlme", "mgcv"), type="source")). (1) seems preferable, since the packages may use features only available in the most recent R-devel snapshot.

ADD REPLY
5
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 7 months ago
United States

Add the argument suppressUpdates=TRUE when you call biocLite(). Example:

biocLite("IRanges", suppressUpdates=TRUE)

More information at ?biocLite .

 

ADD COMMENT

Login before adding your answer.

Traffic: 201 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