Trouble installing BiocInstaller
1
1
Entering edit mode
2299639P ▴ 10
@2299639p-15822
Last seen 6.0 years ago

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 • 1.4k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 17 days ago
United States

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 COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

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 REPLY

Login before adding your answer.

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