Jonathan Greenberg wrote:
> 
> The problem is that I'm trying to create a path to use with a system()
> call, and the command window will not work with the forward slash,
> only with the standard backslash.  I do understand that within R it
> will work with either way, but not via the system call.  I'm trying to
> create a "generic" system() call that will work with an external
> executable that is available on both windows and unix machines.
> 

Would .Platform$file.sep help you?
I can't test this.

Berend

--
View this message in context: 
http://r.789695.n4.nabble.com/Querying-the-path-separator-tp3631806p3632161.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to