How to get Rcpp to work in R on a Windows XP platform?

前端 未结 3 1171
说谎
说谎 2020-12-18 09:22

I\'ve been trying to work with Rcpp in R 2.14.2 on a Windows XP platform. As far as I can tell, I followed all of the recommended steps for getting Rcpp to work:

3条回答
  •  [愿得一人]
    2020-12-18 09:49

    I was having the same problem setting up Rcpp. It looks like you uninstalled R and then re-installed it to create a set up compatible with Rcpp. When you do this, R will install packages in the same folder as the previous installs. After uninstalling R, make sure that you delete the folder that holds the packages. On my windows 7 machine, this was folder was located in C:/Users/Chandler/R. Delete this folder; then re-install R. Make sure that new packages are installed in your new R folder, e.g. C:\R\R-2.14.2\library. This should eliminate the problem with spaces in folder locations that Dirk mentioned above.

    Also, make sure the path is the same as the example in the "R Installation and Administration" manual appendix D. It will easiest to follow this manual if you are using the most current version of R instead of 2.14.2

    Note: I still get the cygwin warning even though Rcpp works.

提交回复
热议问题