RStudio file association doesn't work in Windows 10 Enterprise?

Hi,

I have installed Rstudio 3.5.1 and i cannot associate R(.r) files to Rstudio in Windows 10.

Anyone else with this problem?

Ops I got R 3.5.1 and RStudio 1.1.463

I fixed my problem doing this command in CMD with admin rights :slight_smile:

Assoc .r=rfile

Then

Ftype rfile="C:\Program Files\RStudio\bin\rstudio.exe" %1

I just installed on another machine Rstudio that has Windows 10 Entreprise and i had to manually associate ".r" files to RStudio.

This issue need to be added in known bugs.

Thanks

1 Like

The issue tracker is here, if you’d like to file the issue, with steps to reproduce:

Otherwise, if your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: FAQ: How do I mark a solution?

1 Like

I just did what you asked.

I think one of my users put us in error.

his files of R had the extension .r and as i can see R extensions are .rdata?

that why i had to manually associate rstudio to .r files

.r (or more commonly .R) files are scripts.

.RData are R workspace data files.

well then the .r file is not associate with r studio or R. rdata are.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.