Skip to content

In R, how do I execute a script that sets environment variables within the same shell session?

2 messages · Michael, Duncan Murdoch

#
On 12-05-22 1:24 PM, Michael wrote:
You already answered it.  Use Sys.setenv(). It will only affect the 
current process.

Duncan Murdoch