File extensions / Developer

.R file — R script

Statistical programming source; inspect as text because sourcing a file can execute arbitrary R operations.

Technical information

Extension.r
CategoryDeveloper
MIME type hintapplication/octet-stream
PRONOM PUIDfmt/1599

Evidence for .r

PRONOM record
R Program File (fmt/1599)
Version on this record
Unspecified
External extensions
.r
Same extension in the registry
1
Record provenance
Yale University Library / Yale University Library

PRONOM snapshot for fmt/1599

Compare your file with .r

Read the file on this device to compare byte evidence with the registry and show any competing candidates. The result is a lead for investigation.

Registry evidence and possible variants

The registry associates .r with 1 record(s). These are version or format candidates, not confirmation of the contents of your file.

PUIDRecorded formatVersionSignature references
fmt/1599R Program FileNot specifiedNone listed

No fixed-byte rule in the imported local subset is associated with this extension. Identification may still use generic headers, but a version-specific match is not promised.

Source: PRONOM/DROID V125; registry names and version labels are retained as published. DROID V125 · Open Government Licence v2.0

How to open or inspect this file

  1. Keep the original and use File Identifier to inspect the contents. Extensions alone are not conclusive.
  2. Application to research (verify exact version): RStudio / text editor. Check the version and official compatibility documentation.
  3. Verify the output on a separate copy; never execute unfamiliar files just to inspect them.

Application compatibility

Documented means checked against the publisher’s documentation, not a local installation test. Candidate means not yet verified.

ApplicationCapabilityEvidence
RUnverified candidateNeeds version-specific review
RStudio IDEUnverified candidateNeeds version-specific review

Common questions

Can I open this file in FileTypeKit?

File Identifier and SHA-256 can inspect bytes, but a dedicated renderer is not promised for this format.

Will changing the extension convert my file?

No. A filename change leaves the underlying bytes unchanged. Use a compatible converter and keep the original.

Technical reference

Source specification or registry record · Search registry

Related formats

.JSJavaScript sourceDeveloper.WASMWebAssembly binaryDeveloper.CLASSJava class fileDeveloper.PYPython sourceDeveloper.CC sourceDeveloper.CPPC++ sourceDeveloper.JAVAJava sourceDeveloper.RSRust sourceDeveloper.AABAndroid App BundleDeveloper.AARAndroid library archiveDeveloper.BASBASIC sourceDeveloper.BATWindows batch scriptDeveloper