[英]Does sys.setenv() modify the .Rprofile or .Renviron?
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()
文档中也找不到 function 打算修改哪些文件?
Sys.setenv()
for modifying the .Rprofile
file.您可以使用Sys.setenv()
来修改.Rprofile
文件。usethis::edit_r_environ()
for modifying the .Renviron
file.您可以使用usethis::edit_r_environ()
来修改.Renviron
文件。There's a wealth of information in this RStudio blog page about the difference between the two. 此 RStudio 博客页面中有大量关于两者之间区别的信息。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.