From h@brede| @end|ng |rom gmx@de  Mon Mar 18 17:28:52 2019
From: h@brede| @end|ng |rom gmx@de (Henning Bredel)
Date: Mon, 18 Mar 2019 17:28:52 +0100
Subject: [Rd] Possibly broken system2 env-option
Message-ID: <f38d1b55-c8f8-dbe4-94c4-bf15bb32c052@gmx.de>

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



[Rd] Possibly broken system2 env-option
Henning Bredel