[BioC] Error in Views method c()

Michael Dondrup michael.dondrup at ii.uib.no
Wed Jun 18 06:32:32 CEST 2014


I am trying to use function c() to combine two Views, but get an error.

> library(XVector)
> v= Views(1:10,1,2)
> c(v, v)
Error in unclass(target) : cannot unclass an external pointer

> dna = DNAString("ACTGCA")
> v = Views(dna, IRanges(1, 2:5))
> c(v,v)
Error in unclass(target) : cannot unclass an external pointer


My report was triggered by this post https://www.biostars.org/p/103854/

Best
Michael


> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] Biostrings_2.32.0   XVector_0.4.0       IRanges_1.22.9      BiocGenerics_0.10.0

loaded via a namespace (and not attached):
[1] splines_3.1.0   stats4_3.1.0    tools_3.1.0     zlibbioc_1.10.0




Michael Dondrup
Postdoctoral fellow
Sea Lice Research Centre/Department of Informatics
University of Bergen
Thormøhlensgate 55, N-5008 Bergen, 
Norway



More information about the Bioconductor mailing list