[Rcpp-devel] link issue when Rcpp package is installed in a path with space

Darren Cook darren at dcook.org
Wed Jul 18 00:29:18 CEST 2012


>> ..., or as stated, follow the R-on-Windows FAQ, and keep R in a
>> path without spaced.   And Rcpp and RInside then work swimmingly,
>> evem on Windoze.
> ...
> Like spaces, those are all perfectly valid in file/directory
> names when properly quoted or escaped from the shell.  In general,
> when I see shell quoting problems when a script does a system call,
> it raises a red flag, and that shell call should be eliminated in
> favor of a direct exec() that doesn't invoke the shell at all and
> thus doesn't process metacharacters.

+1

As I spend a lot of time with web-facing code, these space problems on
Windows R mean something isn't being quoted properly, and that implies a
potential security exploit.

(Thankfully I've not needed R on Windows, yet, touch wood...)

Darren

-- 
Darren Cook, Software Researcher/Developer

http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)




More information about the Rcpp-devel mailing list