How to install S4Vector package in R v 3.1.1?
Entering edit mode
colaneri ▴ 30
Last seen 3.1 years ago
United States

Hi, I was doing part of a RNAseq workflow in R 3.1.1 using command line. But know I want to generate some graph so I decided to copy my RData file to open it in my local computer and continue working with R GUI version (also 3.1.1).

When I open the file I got this messsage:

> load("~/Documents/KIRK_LAB/AD_RNA-seq/results/ale.RData")
Warning: namespace ‘S4Vectors’ is not available and has been replaced
by .GlobalEnv when processing object ‘hse’


I was trying to install S4Vectors but I found out that there is not version for R c 3.1.1

> biocLite("S4Vectors")
Using Bioconductor version 2.14 (BiocInstaller 1.14.3), R version 3.1.1.
Installing package(s) 'S4Vectors'
Warning message:
package ‘S4Vectors’ is not available (for R version 3.1.1) 


How can I have this working?

I will appreciate some help





s4vectors R 3.1.1 • 1.5k views
Entering edit mode
Last seen 25 minutes ago
Seattle, WA, United States


It looks like you generated your RData file with BioC 3.0 and that you are now trying to load it in BioC 2.14 (note that these 2 versions of BioC are based on R 3.1). You cannot in general mix BioC versions. In that particular case, the problem is that the S4Vectors package was introduced in BioC 3.0 and is not available for prior BioC versions. So my advice is that you use BioC >= 3.0 to load your RData file, preferably the current BioC release (BioC 3.1, released last month, and based on R 3.2). Older BioC versions are not supported.




Login before adding your answer.

Traffic: 363 users visited in the last hour
Help About
Access RSS

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6