0
我在數字海洋服務器上安裝了免費的rstudio服務器。我得到了一切,但我想定製我的.RProfile。如何在RStudio服務器上更新我的.Rrofile文件
我跑:
candidates <- c(Sys.getenv("R_PROFILE"),
file.path(Sys.getenv("R_HOME"), "etc", "Rprofile.site"),
Sys.getenv("R_PROFILE_USER"),
file.path(getwd(), ".Rprofile"))
file.edit(Filter(file.exists, candidates))
其中在RStudio打開該文件,但它說我沒有覆蓋它的權利。我不應該是root
來更新RProfile,因爲理論上的不同用戶可能有不同的RProfile。
有誰知道如何更新R Studio服務器上的.RProfiles?