如何使Rstudio成为RFILE而不是记事本的默认应用程序?
我需要您在被认为“容易”但几天困扰我的东西上的帮助。
几个月前,我的计算机上发生了一些变化,我无法使用rstudio(甚至R)打开R文件,但只有使用记事本,而且坦白说,这很累人。
问题是,当我选择rstudio打开文件而不是记事本时,没有选项“始终使用rstudio打开R文件” 我还尝试通过将.r文件更改为使用rstudio打开的设置通过设置进行更改,但是.r文件的选项甚至没有出现。
有人知道发生了什么吗?
为了更清楚,我只想双击R文件,然后立即使用同一脚本打开Rstudio。
谢谢大家!
I need your help on something that is considered "easy" but has troubled me some days now.
Some months ago, something changed on my computer and I couldn't open R files with Rstudio (or even R) but only with Notepad and honestly, this has been very tiring lately.
The thing is that when I select RStudio to open the file instead of Notepad, there is NOT the option to "Always open R files with RStudio"
I've also tried to change it through the settings by changing .R files to open with RStudio but the option of .R files doesn't even appear.
Does anyone have any idea of what is going on?
To make it more clear, I simply want to double-click on an R file and instantly open RStudio with the same script.
Thank you all in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我将尝试右键单击文件,然后不要单击与... rstudio打开。而是单击“选择另一个应用”
我正在谈论的菜单的示例
打开文件的Windows节目是一个完全的谜。如果您没有可用的上下文菜单(我实际上不适合.r文件,我必须右键单击.png才能获取此屏幕截图示例),请确保您要单击的任何选项都打开一些对话框选择程序。如果该程序仅在上下文菜单中列出,则单击它不会为您提供更改关联的选项。
I'd try right clicking on the file, then NOT clicking on Open with... RStudio. Instead, click on "Choose another app"
example of the menu I'm talking about
What options Windows shows for opening a file is a total mystery; if you don't have that context menu available (I actually don't for .R files, I had to right click on a .PNG to get this screenshot example) then make sure whatever option you are clicking on opens up some dialog to chose the program. If the program is just listed in the context menu, clicking on it won't give you an option to change the association.
我希望我能正确理解您的问题。
步骤:右键单击文件 - >使用 - >选择另一个应用程序 - >在其他选项中选择该应用程序& tick:始终使用此应用程序打开.r
I hope that I understand your question correctly.
Steps: right click on the file -> open with -> choose another app -> select the app in other options & tick: always use this app to open .R