Displaying 1 result from an estimated 1 matches for "path_to_input".
2013 Apr 02
3
How to do platform independent system calls?
Dear R experts,
I hope everyone has had a happy easter break.
Recently my work included writing R function that need to call external tools.
I did this using R's system function for example:
system( paste( 'tool', '-input', path_to_input, '-output',
path_to_output, '-other_switch', some_val ) )
I have two question about this:
1) Is there a way to implement such calls to external tools, so they
become platform independent? I mean, so that these calls will work
both on a *nix and a Windows system?
2) Is there a way...