[Rd] Possibly broken system2 env-option

Henning Bredel h@brede| @end|ng |rom gmx@de
Mon Mar 18 17:28:52 CET 2019


Hey all,

what is wrong with this command:

  system2("echo", env = c(VAR = "Hello World"), args = c("$VAR"))

I am a bit confused, as help("system2") writes about the env option:

> character vector of name=value strings to set environment variables.

Is this option buggy, or am I using it just wrong?

Thanks for your help

  Henning



More information about the R-devel mailing list