<div>Dear List,</div><div><br></div><div>From some reason, my Rcpp package on windows is installed in C:/Program Files/R/R-2.15.1/library/, which has a space in the path.  So in the end, when compiling cpp code using inline package, I would have the following error, which prevent me using Rcpp at all. </div>
<div><br></div><div><div>Compilation argument:</div><div> C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD SHLIB file75c3d5d6216.cpp 2> file75c3d5d6216.cpp.err.txt </div><div>g++  -I"C:/PROGRA~1/R/R-215~1.1/include" -DNDEBUG    -I"C:/Program Files/R/R-2.15.1/library/Rcpp/include"      -O2 -Wall  -mtune=core2 -c file75c3d5d6216.cpp -o file75c3d5d6216.o</div>
<div>g++ -shared -s -static-libgcc -o file75c3d5d6216.dll tmp.def file75c3d5d6216.o C:/Program Files/R/R-2.15.1/library/Rcpp/lib/i386/libRcpp.a -LC:/PROGRA~1/R/R-215~1.1/bin/i386 -lR</div><div>g++.exe: error: C:/Program: No such file or directory</div>
<div>g++.exe: error: Files/R/R-2.15.1/library/Rcpp/lib/i386/libRcpp.a: No such file or directory</div></div><div><br></div><div>Could we add quotes to those the Rcpp libraries?  It is easy to just fix for me on my computer, i.e., change file RcppLdpath.R </div>
<div>(<a href="https://r-forge.r-project.org/scm/viewvc.php/pkg/Rcpp/R/RcppLdpath.R?view=markup&root=rcpp">https://r-forge.r-project.org/scm/viewvc.php/pkg/Rcpp/R/RcppLdpath.R?view=markup&root=rcpp</a>)</div><div>
and reinstall from source.  But it would be nice that we do not have this issue in the next release. </div><div><br></div><div>Thanks,</div><div>Jiqiang </div><div><br></div><div><br></div>