Search
Question: Offline loading of BiocInstaller or depending packages and connection timeout
0
gravatar for akaever
16 months ago by
akaever30
akaever30 wrote:

When loading the BiocInstaller package or packages which import BiocInstaller (e.g. affy) without internet connection, this results in a long timeout (depends on connection settings) and warns:

Warning message:
In read.dcf(con) : unable to resolve 'bioconductor.org'

The problem is, that packages importing BiocInstaller and which should be usable in offline modus suffer from the same issue. The timeout causes further problems when combined with time-critical operations and internet connection is not an option for some scenarios (e.g. sandbox or test environments).

From my point of view, internet connection should be tested only when running corresponding functions, not when loading the package or packages containing some functions requiring internet connection.

ADD COMMENTlink modified 16 months ago by Martin Morgan ♦♦ 20k • written 16 months ago by akaever30
3
gravatar for Martin Morgan
16 months ago by
Martin Morgan ♦♦ 20k
United States
Martin Morgan ♦♦ 20k wrote:

I agree and will make that change. If you're using the release version, an undocumented feature is that you can set a system environment variable or R options(BIOCINSTALLER_ONLINE_DCF=FALSE) e.g., in ~/.Rprofile.

ADD COMMENTlink written 16 months ago by Martin Morgan ♦♦ 20k
Please log in to add an answer.

Help
Access

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