gpt4 book ai didi

How to run a script at the end of RStudio initialization?(如何在RStudio初始化结束时运行脚本?)

转载 作者:bug小助手 更新时间:2023-10-24 18:42:10 24 4
gpt4 key购买 nike



I want to use my browser instead of the viewer integrated in RStudio.

我想使用我的浏览器,而不是RStudio中集成的查看器。


In order to do that one can do:

为了做到这一点,人们可以这样做:


options(viewer = NULL)

I have added this line inside my .Rprofile file but this option seems to be modified by RStudio after reading the profile script.

我已经在我的.Rprofile文件中添加了这一行,但是在阅读配置文件脚本之后,RStudio似乎修改了这个选项。


Is there a way to automatically run a script after the complete initialization of RStudio?

有没有办法在RStudio完成初始化后自动运行脚本?


更多回答
优秀答案推荐

You can create a function called .first which is automatically run when R starts. Maybe that will help. See
?Startup

您可以创建一个名为.first的函数,该函数在R启动时自动运行。或许这会有所帮助。看到了吗?创业公司


更多回答

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com