this is the error you get in R when you try to make a vector with a length of 2^31 or more.
print(object.size(vector(length = choose(10, 2), mode = "numeric")), units = "auto")# 400 bytesprint(object.size(vector(length = choose(100, 2), mode = "numeric")), units = "auto")# 38.7 Kbprint(object.size(vector(length = choose(1000, 2), mode = "numeric")), units = "auto")# 3.8 Mbprint(object.size(vector(length = choose(10000, 2), mode = "numeric")), units = "auto")# 381.4 Mbprint(object.size(vector(length = choose(10000, 2), mode = "numeric"))*100, units = "auto")# 37.2 Gb
To view this discussion on the web visit https://groups.google.com/d/msgid/poppr/c6e21cf2-7520-46da-be3f-d5ba9abb1029%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "poppr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poppr+un...@googlegroups.com.
To post to this group, send email to po...@googlegroups.com.
> sessionInfo()
R version 3.2.3 (2015-12-10)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.1 LTS
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] poppr_2.3.0 adegenet_2.0.1 ade4_1.7-4
loaded via a namespace (and not attached):
[1] Rcpp_0.12.8 spdep_0.6-8 plyr_1.8.4 pegas_0.9
[5] LearnBayes_2.15 tools_3.2.3 boot_1.3-17 digest_0.6.10
[9] tibble_1.2 nlme_3.1-124 gtable_0.2.0 lattice_0.20-33
[13] mgcv_1.8-11 fastmatch_1.0-4 Matrix_1.2-3 igraph_1.0.1
[17] shiny_0.14.2 DBI_0.5-1 parallel_3.2.3 coda_0.18-1
[21] cluster_2.0.3 dplyr_0.5.0 stringr_1.1.0 gtools_3.5.0
[25] grid_3.2.3 R6_2.2.0 phangorn_2.0.4 sp_1.2-3
[29] gdata_2.17.0 ggplot2_2.2.0 reshape2_1.4.2 seqinr_3.3-3
[33] deldir_0.1-12 magrittr_1.5 nnls_1.4 scales_0.4.1
[37] htmltools_0.3.5 MASS_7.3-45 splines_3.2.3 gmodels_2.16.2
[41] assertthat_0.1 permute_0.9-4 mime_0.5 ape_4.0
[45] colorspace_1.3-1 xtable_1.8-2 httpuv_1.3.3 quadprog_1.5-5
[49] stringi_1.1.2 lazyeval_0.2.0 munsell_0.4.3 vegan_2.4-1
kxb901@melanie1:~$ free -m
total used free shared buff/cache available
Mem: 483751 1222 482528 117 0 482528
Swap: 1376 654 722
--
You received this message because you are subscribed to the Google Groups "poppr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to poppr+un...@googlegroups.com.
To post to this group, send email to po...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/poppr/8614994c-c699-419a-9ca6-33c04173485f%40googlegroups.com.