[Rcpp-devel] Rcpp and inline, compiler configuration errors, windows 7
Hi Valentin, For the warning you just have to add a new "system variable" Name : CYGWIN Value : nodosfilewarning Then restart and that's it! No more warning. On Wed, Jul 4, 2012 at 2:18 AM, valentin.mansion at laposte.net <
valentin.mansion at laposte.net> wrote:
Thank you Dirk and Darren for your answers ! I edited the path to redirect it to C:\R\Rtools\gcc-4.6.3\bin (which comes with Rtools) instead of C:\R\Rtools\MinGW\bin (which I had installed manually). The examples now work ; I still have the cygwin warning but as long as it doesn't affect the results it doesn't matter to me. For the record, here is a summary of the different steps I went through to run Rcpp and inline on Windows 7: .R must be installed in a place that does NOT contain spaces (e.g. C:\R\R-2.15.1) .Rtools must be downloaded (from CRAN), and installed in a place that does NOT contain spaces (e.g. C:\R\Rtools). .The ?path variable? must be edited according to the recommendations of the Appendix D of "R installation and administration" -Either using the "path" command in the Windows Command Prompt -Either using the RedmondPath software, which does the same thing in a more user-friendly approach .The packages Rcpp and inline must be downloaded and loaded into R Useful tips can be found on: .The Rcpp FAQ http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-FAQ.pdf .The Appendix D of R installation and administration http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset .Various threads of the Rcpp-devel list http://lists.r-forge.r-project.org/pipermail/rcpp-devel/ .This blog page http://tonybreyal.wordpress.com/2011/12/07/installing-rcpp-on-windows-7-for-r-and-c-integration/ Now I can begin coding the functions I need to use ! Thank you again for your fast and useful answers. Valentin
From what I understand of the error messages, g++ (the compiler, I think) cannot be found. On this thread, someone had a problem that looks like mine, it was a path problem :
Their problem is distinct, in that g++ is being found ('cos it is g++
that gives their error message).
However note that their PATH contains:
C:\R\Rtools\gcc-4.6.3\bin
Whereas yours does not. So try adding that (but with the correct gcc
version for your system of course :-)
Darren
Une messagerie gratuite, garantie ? vie et des services en plus, ?a vous tente ? Je cr?e ma bo?te mail www.laposte.net
_______________________________________________ Rcpp-devel mailing list Rcpp-devel at lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120704/ddd81d85/attachment.html>