[R] Associate a .R file with the RGui
@kw@|mmo @end|ng |rom gm@||@com
Fri Nov 4 10:08:50 CET 2022
In an R session, run this:
Right click your .R file > Open with > Choose another app > Check the box
"Always use this app to open .R files" > Look for another app on this PC
Paste the directory found above, then select "Rgui.exe"
On Fri, Nov 4, 2022, 04:49 Amarjit Chandhial via R-help <
r-help using r-project.org> wrote:
> My OS is Windows 11 Pro 64-Bit, I have R 4.2.2 and RStudio installed.
> If I double-click on a .R file in File Explorer the OS gives me the
> option of opening the .R in RStudio, or Look for an app in the Microsoft
> Store, or More Apps. Similarly with a right-click.
> I would like to associate a .R file with the RGui, not RStudio, thus
> when I double-click on a .R file in File Explorer the .R file opens in
> the R Editor in RGui.
> On my PC R 4.2.2 is located in "C:/Program Files/R/R-4.2.2/etc"
> Please can someone provide step-by-step instructions on how to
> [[alternative HTML version deleted]]
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help