Hi Valentin,<div><br></div><div>For the warning you just have to add a new "system variable"</div><div><br></div><div>Name : CYGWIN</div><div>Value : nodosfilewarning</div><div><br></div><div>Then restart and that's it! No more warning.<br>
<br><div class="gmail_quote">On Wed, Jul 4, 2012 at 2:18 AM, <a href="mailto:valentin.mansion@laposte.net">valentin.mansion@laposte.net</a> <span dir="ltr"><<a href="mailto:valentin.mansion@laposte.net" target="_blank">valentin.mansion@laposte.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Dirk and Darren for your answers !<br>
<br>
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.<br>
<br>
For the record, here is a summary of the different steps I went through to run Rcpp and inline on Windows 7:<br>
.R must be installed in a place that does NOT contain spaces (e.g. C:\R\R-2.15.1)<br>
.Rtools must be downloaded (from CRAN), and installed in a place that does NOT contain spaces (e.g. C:\R\Rtools).<br>
.The “path variable” must be edited according to the recommendations of the Appendix D of "R installation and administration"<br>
-Either using the "path" command in the Windows Command Prompt<br>
-Either using the RedmondPath software, which does the same thing in a more user-friendly approach<br>
.The packages Rcpp and inline must be downloaded and loaded into R<br>
<br>
Useful tips can be found on:<br>
.The Rcpp FAQ <a href="http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-FAQ.pdf" target="_blank">http://cran.r-project.org/web/packages/Rcpp/vignettes/Rcpp-FAQ.pdf</a><br>
.The Appendix D of R installation and administration <a href="http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset" target="_blank">http://cran.r-project.org/doc/manuals/R-admin.html#The-Windows-toolset</a><br>
.Various threads of the Rcpp-devel list <a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/" target="_blank">http://lists.r-forge.r-project.org/pipermail/rcpp-devel/</a><br>
.This blog page <a href="http://tonybreyal.wordpress.com/2011/12/07/installing-rcpp-on-windows-7-for-r-and-c-integration/" target="_blank">http://tonybreyal.wordpress.com/2011/12/07/installing-rcpp-on-windows-7-for-r-and-c-integration/</a><br>
<br>
Now I can begin coding the functions I need to use !<br>
<br>
Thank you again for your fast and useful answers.<br>
<br>
Valentin<br>
<div class="im"><br>
<br>
> >> From what I understand of the error messages, g++ (the compiler, I<br>
> >> think) cannot be found. On this thread, someone had a problem that<br>
> >> looks like mine, it was a path problem :<br>
> >> <a href="http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2012-March/003597.html" target="_blank">http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2012-March/003597.html</a><br>
><br>
> Their problem is distinct, in that g++ is being found ('cos it is g++<br>
> that gives their error message).<br>
> However note that their PATH contains:<br>
> C:\R\Rtools\gcc-4.6.3\bin<br>
><br>
> Whereas yours does not. So try adding that (but with the correct gcc<br>
> version for your system of course :-)<br>
><br>
> Darren<br>
<br>
<br>
</div>Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?<br>
Je crée ma boîte mail <a href="http://www.laposte.net" target="_blank">www.laposte.net</a><br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Rcpp-devel mailing list<br>
<a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a></div></div></blockquote></div><br></div>