.R File Extension

R Script File

Developer The R Project for Statistical Computing
Popularity
3.9  |  63 Votes
 
NEW: Open your .R file online with File Helper.View Online

What is an R file?

An R file is a script written in R, a programming language used for statistical analysis and graphing purposes. It contains code that can be executed within the R software environment. R files may include commands that create objects (functions, values, etc.) and produce visualizations of the computed data.

More Information

Screenshot of a .r file in RStudio 1.2.5
R file open in RStudio 1.2.5

You will most likely only encounter R scripts if you work in a field that focuses on statistical analysis and uses the R programming language to develop data analysis programs. The R and RStudio programs are typically used to open R files since they provide helpful IDE tools.

You can also use a plain text editor to view the contents of an R script. This is especially helpful for users unsure of what the R file contains. If this pertains to you, open the file with Microsoft Notepad in Windows or Apple TextEdit in macOS to examine what is stored in the file. Both of these text editors come bundled with their respective operating systems.

Programs that open or reference R files

Windows
Mac
Free
Linux
Free
Web

Rez Source Code File

Developer Apple
Popularity
2.6  |  11 Votes
 

Text file used by Rez, a resource compiler for Mac OS X applications; contains declarations for application resources, which can be string lists, icons, alerts, or one of many other resource types; used for building the resources into the resource fork of an application file.

More Information

R files must must contain both the type declarations and the resource definitions required to compile the resources. Compiled resources can be decompiled back into R files using DeRez.

NOTE: The Rez compiler is included with Apple Xcode development software.

Programs that open or reference R files

Right Audio Channel File

Developer N/A
Popularity
1.9  |  9 Votes
 

Audio file containing the right channel of an audio track; often exported by audio production programs, such as Digital Performer (Mac) and Cubase (Mac and Windows).

Programs that open R files

Windows
Mac

Ratfor Source Code File

Developer Brian Kerhighan
Popularity
1.8  |  8 Votes
 

File used by Ratfor, a preprocessor for the FORTAN programming language; contains regular FORTRAN source code as well as Ratfor statements that can be translated into FORTAN source code before they are compiled by a FORTRAN compiler.

More Information

Ratfor source code allows developers to use a wider syntax than the syntax supported by the FORTRAN compiler. For example, Ratfor allows the specification of C-like control flow constructs such as if-else, switch, while, and for.

NOTE: Ratfor is distributed in a source code format.

Programs that open or reference R files

Windows
Free
Mac
Free
Linux
Free

REBOL Script

Developer REBOL Technologies
Popularity
1.4  |  16 Votes
 

Script written in the REBOL programming language; contains code that can be compiled into an executable program; may be a program file or a header file referenced by other REBOL program files.

More Information

REBOL stands for "Relative Expression Based Object Language." The language is commonly used for creating Internet scripts and applications.

Programs that open or reference R files

Windows
REBOL/View
REBOL/Core
REBOL/SDK
Mac
REBOL/View
REBOL/Core
REBOL/SDK
Linux
REBOL/View
REBOL/Core
REBOL/SDK

Verified by FileInfo.com

The FileInfo.com team has independently researched all file formats and software programs listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.