Question: Trouble installing BiocInstaller
1
gravatar for 2299639P
11 months ago by
2299639P10
2299639P10 wrote:

I'm trying to install a package on FlowJo (FlowClean), and as far as I understand it, I need to install the packages on R. To fetch the packages on R, however, I need to have BiocInstaller. However, when I copy and paste the given script for R, it brings up the following:

> source("http://bioconductor.org/biocLite.R")
Installing package into ‘\\cfsk16.campus.gla.ac.uk/SSD_Home_Data_V/2299639P/My Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning: unable to access index for repository https://bioconductor.org/packages/3.7/bioc/src/contrib:
  cannot open URL 'https://bioconductor.org/packages/3.7/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://bioconductor.org/packages/3.7/bioc/bin/windows/contrib/3.5:
  cannot open URL 'https://bioconductor.org/packages/3.7/bioc/bin/windows/contrib/3.5/PACKAGES'
'biocLite.R' failed to install 'BiocInstaller', use
  'install.packages("BiocInstaller",
  repos="https://bioconductor.org/packages/3.7/bioc")' or
  'install.packages("BiocInstaller",
  repos="http://bioconductor.org/packages/3.7/bioc")'
Warning message:
package ‘BiocInstaller’ is not available (for R version 3.5.0)

Do I need to install an older version of R for this to work? If so, how do I do that, as I can't seem to find older version on R's website.

Thanks!

Narissa

 

biocinstaller • 332 views
ADD COMMENTlink modified 11 months ago by Martin Morgan ♦♦ 23k • written 11 months ago by 2299639P10
Answer: Trouble installing BiocInstaller
0
gravatar for Martin Morgan
11 months ago by
Martin Morgan ♦♦ 23k
United States
Martin Morgan ♦♦ 23k wrote:

Does this link https://bioconductor.org/packages/3.7/bioc/src/contrib/PACKAGES work in a browser? If not, then you are perhaps behind a proxy; see the "Setting proxies" file in ?download.file.

ADD COMMENTlink written 11 months ago by Martin Morgan ♦♦ 23k

When I click the link, I can see lines of text - does that mean it works?

ADD REPLYlink written 11 months ago by 2299639P10

Yes, text like

Package: a4
Version: 1.28.0
Depends: a4Base, a4Preproc, a4Classif, a4Core, a4Reporting
Suggests: MLP, nlcv, ALL, Cairo
License: GPL-3
MD5sum: 44fdfaae597a79d4d57e833b0d9d045a
NeedsCompilation: no

Package: a4Base
Version: 1.28.0
...

means that it is working in the browser. The code being evaluated is

url = "https://bioconductor.org/packages/3.7/bioc/src/contrib/PACKAGES"
destfile = tempfile()
method = getOption("download.file.method")
download.file(url = url, destfile = destfile, method = method, mode = "wb")

Does this work for you? If not, try changing method = to other methods documented on ?download.file; some will definitely fail depending on your system.

Also I notice that your file system is on a a network share \\cfsk16.campus.gla.ac.uk/SSD_HOME. Try mapping this to a network drive (google for your specific OS; you'll want to be able to access your files with something like W://SSD_HOME...). This might also involve editing the shortcut you use to start R.

ADD REPLYlink modified 11 months ago • written 11 months ago by Martin Morgan ♦♦ 23k
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 16.09
Traffic: 207 users visited in the last hour