Question: Offline loading of BiocInstaller or depending packages and connection timeout
gravatar for akaever
24 months ago by
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 ''

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 24 months ago by Martin Morgan ♦♦ 22k • written 24 months ago by akaever30
gravatar for Martin Morgan
24 months ago by
Martin Morgan ♦♦ 22k
United States
Martin Morgan ♦♦ 22k 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 24 months ago by Martin Morgan ♦♦ 22k
Please log in to add an answer.


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