[BioC] DNAString ("GC") -- error in nchar?

Paul Shannon pshannon at systemsbiology.org
Fri Sep 28 22:04:04 CEST 2007


The Biostrings vignette has some code like this:

 > library(Biostrings)
 > b <- BString("I am a BString object")
 > d <- DNAString("TTGAAAA-CTC-N")

With the first, I get this error:

    Error in BString("I am a BString object") : Error in nchar(src) :
      2 arguments passed to .Internal(nchar) which requires 3

With the second, I get:

    Error in DNAString("TTGAAAA-CTC-N") : Error in nchar(src) :
      2 arguments passed to .Internal(nchar) which requires 3


I'm running bioc 2.6; is that my problem?

sessionInfo ()
R version 2.6.0 alpha (2007-09-12 r42830)
i386-apple-darwin8.10.1

locale:
C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] RUnit_0.4.17      Biostrings_2.5.19

loaded via a namespace (and not attached):
[1] tools_2.6.0


Thanks!

  - Paul



More information about the Bioconductor mailing list