RStudio Sys.setenv() does not persist

This is still an issue?

You can write in manually the text of setme in or run that snippet in the console and it will update the file for you.

In both cases you need to refresh the R session after the file is updated