Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

R script

Open and edit R files

You can open, view and edit R files for free right here in your browser, without RStudio and without uploading anything. Code in R, the statistics language created by Ross Ihaka and Robert Gentleman in New Zealand in the 1990s. Scripts load data, run analyses and draw charts.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

View a R file without RStudio

Open and viewYes
EditYes
Create a new oneNot yet
Save as RYes, keeping what Anyfile doesn’t show
FormatBy Ross Ihaka and Robert Gentleman, since 1993

Edit R files

Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them.

More about the text and code editor

.r

R script

Code in R, the statistics language created by Ross Ihaka and Robert Gentleman in New Zealand in the 1990s. Scripts load data, run analyses and draw charts.

Statistics, data analysis and research graphics.

Opens in RStudio, Positron, VS Code, any text editor

Questions

How do I open a R file without RStudio?

Drop it on this page, or choose it. It opens in Anyfile’s text and code editor right in your browser, with nothing to install and no account.

Can I edit a R file online for free?

Yes. Keeps the original encoding (UTF-8, UTF-16 or Windows-1252), byte-order mark and line endings unless you change them..

Is my R file uploaded?

No. It opens, changes and saves on your device. Nothing is sent to a server.