如何在不更改Makevars文件的情况下安装64位类型的R包?

时间:2016-10-03 12:04:25

标签: r compilation 64-bit large-data

我在我的Windows PC上安装了largeVis包。通常的安装安装32位版本。当我加载包时,我收到消息:

Loading required package: Matrix
largeVis was compiled with 32-bit types. This will limit the size of the datasets it can process. Consider recompiling with -DARMA_64BIT_WORD

显然,我必须更改文件Makevars.win并添加此行。 由于我没有管理员权限,我不能这样做。

是否有办法使用64位命令或类似命令的形式安装包,我可以传递参数-DARMA_64BIT_WORD

我的会话信息是

R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C                           LC_TIME=English_United States.1252    

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

other attached packages:
[1] largeVis_0.1.9.1 Matrix_1.2-6    

loaded via a namespace (and not attached):
 [1] colorspace_1.2-6 scales_0.4.0     plyr_1.8.4       tools_3.3.1      gtable_0.2.0     Rcpp_0.12.7      ggplot2_2.1.0   
 [8] grid_3.3.1       munsell_0.4.3    lattice_0.20-33 

0 个答案:

没有答案