I\'ve been using R in Ubuntu to make system calls using system() for things like spinning up Amazon EC2 instances, managing files on S3, etc. If I start R from
system()
You can try to set them in R itself using Sys.setenv.
Sys.setenv