I have R Studio(and R of course) and am aiming to use the Rcpp package.I am using a windows machine.
And I get an error message
The application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information
Also a pop-up alert comes out stating
R Session Aborted. R encountered a fatal error. The session was terminated.
By running library(rcpp) and sessionInfo() I get version information
R version 3.3.1 (2016-06-21)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows >= 8 x64 (build 9200)
locale:
[1] LC_COLLATE=English_Malaysia.1252 LC_CTYPE=English_Malaysia.1252
[3] LC_MONETARY=English_Malaysia.1252 LC_NUMERIC=C
[5] LC_TIME=English_Malaysia.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Rcpp_0.12.6
loaded via a namespace (and not attached):
[1] tools_3.3.1
Can anyone tell me what is wrong and how can I fix it?
Two issues:
The path should have:
c:\Rtools\bin;
c:\Rtools\mingw_32\bin;
For more help on install Rtools correctly, please see this guide:
http://thecoatlessprofessor.com/programming/rcpp/install-rtools-for-rcpp/
在装有Windows 7的32位操作系统上,我遇到了完全相同的问题。我通过使用R:R 3.2.5的早期版本解决了该问题。
This is a bad interaction between RStudio and R 3.3.x on Windows, arising from a bad interaction with RStudio + the new compiler toolchain used to build R on Windows.
There are a couple solutions:
Install the preview release of RStudio: https://www.rstudio.com/products/rstudio/download/preview/
Switch to the 64bit version of R,
Roll back to R 3.2.x.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.