Skip to content
Prev 8257 / 15076 Next

R.app cannot see tar but R (console) can

And R itself (on any Unix-alike) sets the standard environment 
variable TAR, so why not simply use it, e.g.

system2(Sys.getenv("TAR"), <character vector of args>))

Or use utils::untar etc.
On Mon, 1 Aug 2011, Berend Hasselman wrote: