I just installed package biostrings
biocLite("Biostrings")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.1 (BiocInstaller
1.18.4), R version 3.2.0.
Installing package(s) ‘Biostrings’
also installing the dependencies ‘S4Vectors’, ‘IRanges’, ‘XVector’, ‘zlibbioc’
library(Biostrings)
Loading required package: S4Vectors
Loading required package: stats4
Creating a generic function for ‘nchar’ from package ‘base’ in package ‘S4Vectors’
Loading required package: IRanges
Loading required package: XVector
Warning messages:
1: package ‘S4Vectors’ was built under R version 3.2.1
2: package ‘IRanges’ was built under R version 3.2.1
But when I try to use it's datatypes I get the following errors.
d <- BString("TTGAAAAACTCGN")
Error in nchar(x, type = "bytes") :
could not find symbol "keepNA" in environment of the generic function
> dna <- DNAString("TTGAAAAACTCGN")
Error in nchar(x, type = "bytes") :
could not find symbol "keepNA" in environment of the generic function
What can I do?
Can you confirm that, in a new R session,
library(S4Vectors)
fails, and thatpacakgeVersion("S4Vectors")
reports version 0.6.3 installed? If that is not the installed version, please provide the full output of Jim's suggestion tobiocLite("S4Vectors")
.@Martin Morgan
I have such problem, too.
Here is my session info:
Can you help me for "BioStrings" package?
The most reliable solution is to use a current version of R (3.2.2) and Bioconductor (3.2).