search for: r_runr

Displaying 2 results from an estimated 2 matches for "r_runr".

Did you mean: _run
2007 Aug 23
1
missing --vanilla option in INSTALL (PR#9877)
...ange to library directory \$opt_library'\n"; $library = cwd(); $library = Win32::GetShortPathName($library) if $library =~ / /; my $R_LIBS = $ENV{'R_LIBS'}; $ENV{'R_LIBS'} = join(";", $library, $R_LIBS); chdir($startdir); } else { my @out = R_runR("cat('\n~~~', .libPaths()[1], '\n', sep = '')", "--slave"); foreach $f (@out) { if($f =~ /^~~~/) { $library = $f; $library =~ s/^~~~//; } } $library = Win32::GetShortPathName($library) if $library =~ / /; print "installing...
2019 Dec 15
1
system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows
...o set a precedent. On Windows, stdin, stdout, and stderr are handled independently of the shell, so it also just works without the use of shQuote by the caller. Have people been relying on system2 not quoting the `stdin` argument, but quoting `stdout` and `stderr`? For what it's worth, neither R_runR in src/library/tools/R/check.R, nor .system_with_capture in src/library/tools/R/utils.R (the only callers of system2(..., stdin = ...)), nor their callers seem to be shQuote'ing the `stdin` argument. Nor the rare system2(..., stdin = ...) callers (or their callers) on CRAN seem to be quoting t...