I have been reading about the differences between these files but can't find even in the Sys.setenv() documentation which of these files the function is intended to modify?
I have been reading about the differences between these files but can't find even in the Sys.setenv() documentation which of these files the function is intended to modify?
Sys.setenv() for modifying the .Rprofile file.usethis::edit_r_environ() for modifying the .Renviron file.There's a wealth of information in this RStudio blog page about the difference between the two.