Automatically run R code when RStudio project is opened

前端 未结 2 1507
闹比i
闹比i 2021-01-11 17:45

I wrote an R function that updates the version number of a package in another question. I work a lot with GitHub and RStudio, and it would safe me quite some time (plus be m

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-11 18:45

    You can make a separate .Rprofile for each project. You have to put it in the main directory of the project (http://www.rstudio.com/ide/docs/using/projects).

提交回复
热议问题