[R] inline/Rcpp: Problem with space in path under Windows

Dieter Menne dieter.menne at menne-biomed.de
Sun Jul 24 10:09:27 CEST 2011

I am trying to run inline/Rcpp under Windows 64. The RTools are installed on
a spaceless path D:\rtools.

Inlining pure c-code works perfectly. When I try the sample code for cpp in
the cxx Documentation, I get:

x86_64-w64-mingw32-g++.exe: C:/Program: No such file or directory

The path to the compiler is correct. Obviously there is some problem with
the space in C:/Program (Files). 

Any ideas where to look for the settings that caused the failure?


R version 2.13.0 (2011-04-13)
Platform: x86_64-pc-mingw32/x64 (64-bit)

[1] LC_COLLATE=German_Germany.1252  LC_CTYPE=German_Germany.1252   
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C                   
[5] LC_TIME=German_Germany.1252    

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

other attached packages:
[1] Rcpp_0.9.5   inline_0.3.8

loaded via a namespace (and not attached):
[1] tools_2.13.0

View this message in context: http://r.789695.n4.nabble.com/inline-Rcpp-Problem-with-space-in-path-under-Windows-tp3689982p3689982.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list