Question: "duplicated" on LogicalList with fromLast = TRUE gives error
0
gravatar for helen.lindsay
3.2 years ago by
European Union
helen.lindsay0 wrote:

Hi,

I’m getting an error when running “duplicated” with “fromLast = TRUE” on a LogicalList object using Bioconductor devel. Here’s an example:

>x <- LogicalList(list(c(TRUE, FALSE), c(FALSE, TRUE, TRUE)))
>duplicated(x, fromLast = TRUE)
Error in rev(ans) : object 'ans' not found
> sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.4 LTS

locale:
 [1] LC_CTYPE=C                 LC_NUMERIC=C              
 [3] LC_TIME=en_CA.UTF-8        LC_COLLATE=en_CA.UTF-8    
 [5] LC_MONETARY=en_CA.UTF-8    LC_MESSAGES=en_CA.UTF-8   
 [7] LC_PAPER=en_CA.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C            
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] Biostrings_2.41.4   XVector_0.13.7      IRanges_2.7.12     
[4] S4Vectors_0.11.10   BiocGenerics_0.19.2

loaded via a namespace (and not attached):
[1] zlibbioc_1.19.0

Am I doing something wrong here?

Thanks,

Helen

iranges • 398 views
ADD COMMENTlink modified 3.2 years ago by Michael Lawrence11k • written 3.2 years ago by helen.lindsay0
Answer: "duplicated" on LogicalList with fromLast = TRUE gives error
1
gravatar for Michael Lawrence
3.2 years ago by
United States
Michael Lawrence11k wrote:

Sorry, fixed in 2.7.13.

ADD COMMENTlink written 3.2 years ago by Michael Lawrence11k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 278 users visited in the last hour