Files with r extension are in most cases script files written and saved in the R programming language.

There are 6 other file types using
the R file extension!

empty icon.r - RatFor Fortran preprocessor source

r icon.r - Corel Paradox data

empty icon.r - Pegasus Mail resource file

r icon.r - Apple Xcode core rez program

empty icon.r - Progress database compiled program

empty icon.r - Sound Designer 2 data

Bookmark & share this page with others:

R file extension - R script

What is r file? How to open r files?

File type specification:

Source code and script file type icon Source code and script file type

File extension r is related to R programming language.

R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories (formerly AT&T, now Lucent Technologies) by John Chambers and colleagues.

R can be considered as a different implementation of S. There are some important differences, but much code written for S runs unaltered under R.

Also used by REBOL is a cross-platform data exchange language.

Updated: November 27, 2023

The default software associated to open r file:

Sublime Text icon

Sublime Text  Microsoft Windows software

Company or developer:
Sublime HQ Pty Ltd

Sublime Text is advanced text editor used to write source codes in various programming languages. It is a great tool for programmers and offers great feature and performance. It is available for Microsoft Windows, Mac OS X and Linux operating systems.

Visual Studio Code icon

Microsoft Corporation logoVisual Studio Code  Multiplatform software

Company or developer:
Microsoft Corporation

Visual Studio Code is integrated development tool for creating web and cloud software available for Linux, Mac OS X (macOS), and Windows.

Help how to open:

Use text editor, or source code editor to view content of the *.r script files.

How to convert:

There is probably no real way how you can convert this particular file type to anything else.

Related links:

R Project website

List of software applications associated to the .r file extension

Recommended software programs are sorted by OS platform (Windows, macOS, Linux, iOS, Android etc.)
and possible program actions that can be done with the file: like open r file, edit r file, convert r file, view r file, play r file etc. (if exist software for corresponding action in's database).

Click on the tab below to simply browse between the application actions, to quickly get a list of recommended software, which is able to perform the specified software action, such as opening, editing or converting r files.

Software that open r file - R script

Programs supporting the exension r on the main platforms Windows, Mac, Linux or mobile. Click on the link to get more information about listed programs for open r file action.

Microsoft Windows:

Main software associated with r file by default:
Sublime Text small icon Sublime Text
Other suggested software:
Atom small icon Atom

Apple macOS / Mac OS X:


Previous file extension
QXM file extension > Source code and script file types

Next file extension
file extension RADIUS


Enter any file extension without dot (e.g. pdf)
Search for file extension details and associated application(s)

RSS feed