Take control of your R for Windows code!

RStudio

RStudio

  -  253 MB  -  Open Source
  • Latest Version

    RStudio 2024.12.0 LATEST

  • Review by

    Daniel Leblanc

  • Operating System

    Windows 10 / Windows 11

  • User Rating

    Click to vote
  • Author / Product

    RStudio, Inc. / External Link

  • Filename

    RStudio-2024.12.0-467.exe

RStudio is an integrated development environment (IDE) for R. It includes a console and syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging, and workspace management.

RStudio is a powerful integrated development environment (IDE) designed specifically for R, a popular programming language for statistical computing and data analysis. This open-source IDE is widely recognized as one of the most comprehensive and user-friendly tools for R programming. It provides an extensive set of features, making it an essential choice for data scientists, statisticians, researchers, and anyone working with R.

RStudio (The Premier IDE for R) is available in open source and commercial editions and runs on the desktop (Windows, Mac, and Linux) or in a browser connected to RStudio Server or RStudio Server Pro (Debian/Ubuntu, RedHat/CentOS, and SUSE Linux).

Highlights
  • Syntax highlighting, code completion, and smart indentation
  • Execute R code directly from the source editor
  • Quickly jump to function definitions
  • Integrated R help and documentation
  • Easily manage multiple working directories using projects
  • Workspace browser and data viewer
  • Interactive debugger to diagnose and fix errors quickly
  • Extensive package development tools
  • Authoring with Sweave and R Markdown
Main Features

Script Editor
It offers a robust script editor with syntax highlighting, code autocompletion, and error checking, making it easy to write and debug R code.

Data Visualization
The software includes a built-in graphical interface for creating interactive and static data visualizations using popular R packages like ggplot2 and lattice.

Data Manipulation
The app facilitates data manipulation with a dedicated viewer for data frames, integration with dplyr and tidyr packages, and interactive data filtering.

Package Management
Manage R packages effortlessly with an integrated package manager. Install, update, and load packages with a few clicks.

Version Control
Git and GitHub integration is seamless, allowing you to track changes, collaborate with others, and manage your R projects efficiently.

R Markdown
Create dynamic reports and documents with R Markdown. Combine R code, visualizations, and narrative text for reproducible research.

Shiny Apps
Build interactive web applications directly from the app using the Shiny framework, ideal for sharing data-driven insights.

Integrated Help
Access R documentation, help files, and community resources from within the IDE, ensuring you have the support you need while coding.

Customization
Customize your workspace with various themes, editor layouts, and configurable shortcuts to tailor the app to your workflow.

Cross-Platform Compatibility
RStudio is available for Windows, macOS, and Linux, ensuring a consistent experience across different operating systems.

Installation and Setup
  • Download the appropriate version for your operating system from the official website or FileHorse.
  • Run the installer and follow the on-screen instructions.
  • During installation, you may be prompted to install R if it's not already on your system. It requires R to function.
  • Once installed, launch the app, and you're ready to start coding in R.
How to Use
  • Script Editor: Write and edit your R code here.
  • Console: Interact with R directly through the console.
  • Environment/History: View and manage your workspace and command history.
  • Files/Plots/Packages/Help: Access files, plots, packages, and help resources.
Here's a quick guide on using the app:
  • Create or open an R script in the script editor.
  • Write your R code.
  • Execute code by selecting and running lines or sections.
  • View results in the console or graphical plots pane.
FAQ

Is RStudio FREE to use?
Yes, the app is open-source software and is available for free under the AGPLv3 license. There's also a commercial version called RStudio Desktop Pro with additional features and support.

Can I use RStudio on my Mac?
Yes, RStudio is compatible with macOS, Windows, and Linux, making it versatile for various platforms.

How do I install packages in RStudio?
To install packages, use the install.packages("package_name") command in the console or use the package manager pane in RStudio's interface.

Does RStudio support version control?
Yes, It has built-in support for Git and GitHub, making it easy to manage your R projects and collaborate with others.

Can I create interactive web applications with RStudio?
Absolutely!! It allows you to build interactive web applications using the Shiny framework, making it a powerful tool for creating data-driven web apps.

Alternatives

Visual Studio Code: Offers R extensions and is a versatile code editor with a wide range of programming languages supported.

Jupyter Notebook: Ideal for interactive data analysis, especially when working with multiple languages, including R and Python.

R Tools for Visual Studio: A Windows-specific option with excellent R integration for those who prefer the Visual Studio environment.

Pricing

The software is primarily an open-source project, and you can download and use it for FREE. However, it offers a commercial version called RStudio Desktop Pro, which includes features like enhanced support, offline usage, and more. Pricing for RStudio Desktop Pro is available on the official website.

Open Source Edition - FREE
The Premier IDE for R
  • Access the RStudio IDE locally
  • Syntax highlighting, code completion, and smart indentation
  • Execute R and Python code directly from the source editor
  • Quickly jump to function definitions
  • View content changes in real time with the Visual Markdown Editor
  • Easily manage multiple working directories using projects
  • Integrated R help and documentation
  • Interactive debugger to diagnose and fix errors
  • Extensive package development tools
  • Support: Community forums only
  • License: AGPL v3
RStudio Desktop Pro - $1,045 per year
The RStudio IDE, is superpowered for your professional workflow

ALL OF THE FEATURES OF OPEN SOURCE; PLUS:
  • A commercial license for organizations not able to use AGPL software
  • Access to priority support
  • Posit Professional Drivers
  • Priority Email Support
  • 8-hour response during business hours (ET)
  • License: Posit License Agreement
System Requirements
  • Operating System: Windows 7/8/10/11
  • CPU: 1 GHz or faster.
  • RAM: 1 GB minimum (2 GB or more recommended).
  • Disk Space: 1.5 GB of free disk space.
PROS
  • User-friendly and feature-rich IDE for R programming.
  • Excellent data visualization and manipulation capabilities.
  • Seamless Git and GitHub integration.
  • R Markdown support for reproducible research.
  • Cross-platform compatibility.
CONS
  • The learning curve for beginners unfamiliar with R.
  • Some advanced features are only available in the commercial version.
  • Resource-intensive for very large datasets and complex operations.
Conclusion

RStudio is a top-tier integrated development environment for R, tailored to meet the needs of data scientists, statisticians, and researchers. With its extensive features, excellent documentation, and active community, it's the go-to choice for anyone working with R.

Whether you're analyzing data, building interactive web apps, or creating dynamic reports, it provides the tools you need to excel in the world of statistical computing and data analysis. Plus, its open-source nature ensures accessibility to all, making it a valuable asset to the R community.

So, if you're diving into R programming or already well-versed in it, the dev app is an essential tool that will streamline your workflow and enhance your productivity. Download it today and experience the power of RStudio for yourself.

Note: Requires R for Windows.

Also Available: Download RStudio for Mac

  • RStudio 2024.12.0 Screenshots

    The images below have been resized. Click on them to view the screenshots in full size.

    RStudio 2024.12.0 Screenshot 1
  • RStudio 2024.12.0 Screenshot 2
  • RStudio 2024.12.0 Screenshot 3
  • RStudio 2024.12.0 Screenshot 4

What's new in this version:

New:
- RStudio now supports the inclusion of environment variables when publishing applications to Posit Connect
- Available environment variables are now provided as completion suggestions within Sys.unsetenv()
- RStudio now supports new features from the R graphics engine (groups, glyphs) when supported by the underlying device
- The .Rproj.user folder location can now be customized globally by both users and administrators
- RStudio now supports code formatting using the ‘styler’ R package, as well as other external applications
- The RStudio diagnostics system now supports destructuring assignments as implemented in the dotty package.
- The “Include all function arguments in the completion list” user preference can be used to control whether RStudio includes function arguments that appear to have already been used in the current context
- RStudio supports usethis.description option values when creating projects via the RStudio New Project wizard
- Rename in Scope now operates across chunks within R Markdown and Quarto documents
- RStudio now respects the chunk ‘dpi’ option when generating plots in R Markdown and Quarto documents
- RStudio now supports the display of an HTML table of contents for R help files when options(help.htmltoc = TRUE) is set
- RStudio now includes .env files in the fuzzy finder and displays these files in the Files pane.
- Quarto documents now have a gear icon for editing cell (chunk) options
- A “Copy RStudio Version” command has been added to the command palette for copying the RStudio version, commit, and build date to the clipboard.
- RStudio now supports syntax highlighting for Fortran source files
- The label “Publish” now appears next to the publish icon on the editor toolbar
- The font size used for the document outline can now be customized [Accessibility]
- The www-socket option has been added to rserver.conf to enable the server to listen on a Unix domain socket (#14938; Open-Source Server).
- The “Insert Chunk” button now acts as a menu in both Quarto and R Markdown documents
- Improved support for highlighting nested chunks in R Markdown and Quarto documents
- Improved support for variable-width chunk headers and footers in R Markdown and Quarto documents
- RStudio now provides executed chunk code as a single multi-line entry in the Console history
- RStudio now provides snippet completions within function calls and subset calls
- RStudio now supports zooming the IDE via Meta + NumpadAdd and Meta + NumpadSubtract
- RStudio now uses lobstr::obj_size() when computing object sizes for display in the Environment pane
- The RStudio IDE User Guide and the RStudio & Posit Workbench Release Notes have versioned URLs in the Guides drop-down menu in the navigation bar. Additionally, the navigation bar links to the Release Notes and Versions URLs have versioned URLs

Posit Workbench:
- Added preview support for Positron Pro sessions on RHEL9 and Ubuntu 22/24. Positron Pro sessions must be manually configured by an admin
- Added support for saving Positron Pro state across user logout
- Added a feature that prevents Positron Pro and VS Code sessions from starting for insecure (non-SSL/TLS) contexts because they require SSL/TLS for full functionality
- Added a session-timeout-kill-hours setting to VS Code and Positron Pro sessions, which terminates sessions after being idle for a set number of hours. There is a known issue that prevents this feature from working correctly with a custom www-root-path
- Added the Quarto, Posit Shiny, and Posit Publisher extensions to the default vscode.extensions.conf file for fresh installs. These extensions will be installed automatically for users upon VS Code session launch
- Added preview support for setting an active timeout, which logs out users after a period of time, regardless of activity
- Added a new session init container that copies session components to the session container, allowing updates to components independent of the session image. The session init container can be enabled in Kubernetes sessions by setting launcher-sessions-auto-update=1 in rserver.conf. Additionally, the init container uses a new multi-platform Linux session components package to support session images across different Linux distributions
- Added the auth-user-rewrite-rule setting to rserver.conf. When this option is set in environments with Google OAuth, OpenID, SAML, or Proxied Authentication configured, Workbench will rewrite the username from the authentication provider using the provided regex
- Added support for HTTP Proxy variables in rserver and rsession to enable managed credentials features in Workbench environments behind a proxy server
- Set Posit Public Package Manager (P3M) as the default for R libraries in RStudio Pro sessions, if no other repository is specified. Package Manager will deliver pre-built binary packages when available, which are faster to install than source packages and don’t require most additional build dependencies
- Added support to the Workbench API for registering shell scripts as session hooks that can run when a session starts and stops
- Extended the Workbench API, adding support for launching jobs, resuming sessions, and retrieving user lists. Additionally, support for passing in environment variables, session hooks, and a file to open on session load has been added to the launch session endpoint
- The Posit Workbench Administration Guide, the Posit Workbench User Guide, and the Posit Workbench Licenses Guide have versioned URLs in the Guides drop-down menu in the navigation bar
- The Posit Workbench User Guide underwent a reorganization of how the individual IDE guides are presented. Each guide was migrated from the left-hand navigation to the upper (main) navigation bar. Now, when a guide is selected from the navigation bar, only that guide’s contents display in the left-hand navigation. Additionally, the Posit Workbench guide was renamed to “Workbench Setup” in the navigation bar to prevent confusion between the title of the guide and to create more distinction between the home page of the guide and the Posit Workbench Overview. Lastly, the links for the five IDEs were updated to navigate to the corresponding guide within the Posit Workbench User Guide (instead of the IDE’s external site) and are displayed as buttons
- Added an FAQ page to the Reference Architectures section of the Posit Workbench Administration Guide
- Re-designed the user experience for configuring managed credentials (rstudio-pro#6748)
- Added support for using Azure delegated credentials to access DevOps repositories (rstudio-pro#6734)
- Improved the database migration experience with additional feedback to the admin, logging, and potential error handling (rstudio-pro#6674)
- Increased default values for rsession-proxy-max-wait-secs and www-thread-pool-size (rstudio-pro#6149)
- Improved diagnostics for the license manager (rstudio-pro#5932)
- Added support for reloading the Launcher through systemd (rstudio-pro#3749)
- Added support for a configurable auth (SAML/OpenID) username re-write rule (rstudio-pro#6987)

Fixed:
- “Run All” now only executes R chunks when “Chunk Output in Console” is set
- Fixed an issue where the chunk options popup didn’t recognize chunk labels preceded by a comma
- Fixed an issue where the chunk options popup was confused by quoted strings containing spaces
- Fixed an issue where the chunk options popup was confused by spaces around equals signs
- Fixed the chunk options popup to work in Visual Mode for non-R chunks
- Fixed issue where collapsed raw chunks were displayed with an incorrect label in the Visual Editor
- Fixed an issue where an R Markdown chunk label containing dashes was truncated in Visual Editor
- Fixed issue with highlight of tikz code chunks in R Markdown documents
- Fixed an issue where ghost text could not be inserted in non-chunk parts of an R Markdown / Quarto document
- Fixed an issue where the R session could crash on connect while generating console output
- Fixed an issue where some output from uv could be rendered blurry in the RStudio Console
- Fixed an issue where right-clicking on the console history did not present Paste as an option
- RStudio no longer logs warning / error messages related to disabled R actions (e.g., ReadConsole) in forked sessions
- Fixed an issue where the Console header label was not properly layed out when other tabs (e.g., Terminal) were closed
- Fixed Windows Desktop Pro so it starts up after using the Choose R dialog
- Fixed an issue with the splash screen appearing on top of the Desktop Pro Manage License
- Fixed Mac Desktop Pro so it starts on an ARM (Mx) Mac that doesn’t have Rosetta2 installed
- RStudio Desktop now forwards LD_LIBRARY_PATH when detecting available R installations
- Fixed an issue where attempts to publish to a collaborator’s application could fail to update that application
- Fixed an issue where the Rename File command did not write unsaved changes before performing the rename
- Fixed being unable to save file after cancelling the “Choose Encoding” window
- Fixed problems creating new files and projects on a UNC path
- Fixed an issue where RStudio could autosave files on blur even while a Save As… modal was active
- Fixed an issue where the IDE could hang when changing the file type of an R Markdown document
- Fixed an issue where autocompletion results within piped expressions were incorrect in some cases
- Fixed an issue where completion types for objects with a .DollarNames method were not properly displayed
- Fixed an issue where quoted variable names were not completed properly in dplyr pipes
- Fixed an issue with incorrect completions provided in readline() context
- Fixed issue where certain Python variable names were incorrectly quoted when inserted via autocompletion
- Fixed an issue where column names starting with numbers were not properly quoted when inserted as a completion
- Reformat Code no longer inserts whitespace around ‘^’ operator
- Auto-saves no longer trim trailing whitespace on the line containing the cursor
- Fixed an issue where pressing Tab would insert a literal tab instead of indenting a multi-line selection
- Fixed an issue where debugger breakpoints did not function correctly in some cases with R 4.4
- RStudio over-aggressively required packages to be rebuilt when setting breakpoints
- Clicking in the editor gutter to toggle a breakpoint no longer also selects the associated line
- Fixed a performance regression that occurred when requesting completions for very large R objects
- RStudio now uses current session repositories when installing package dependencies via background jobs
- RStudio now forward the current ‘repos’ option for actions taken in the Build pane
- Executing options(warn = ...) in an R code chunk now persists beyond chunk execution
- Prevent attempting to start Copilot on a non-main thread
- Fixed an issue where updating the Copilot agent on Windows could fail if Copilot was already in use
- Prompt for personal access token instead of password when using GitHub via HTTPS
- RStudio now includes Markdown headers without any label in the document outline
- Remove focus-visible polyfill and instead use native browser :focus-visible pseudoclass [Accessibility]
- Fixed an issue where RStudio could hang on startup with projects containing a very large number of files

Posit Workbench:
- Fixed an issue with Workbench login not respecting “Stay signed in when browser closes” when using Single Sign-On (SSO)
- Fixed Slurm queue (partition) selection behavior in the launcher UI (Slurm resource profiles that specify an invalid queue are now disabled in the UI)
- Fixed several cross-reference links in the Posit Workbench Administration Guide and Posit Workbench User Guide - VS Code sections
- Fixed heading anchor ID issue in Posit Administration Guide - VS Code PWB Code Server section
- Fixed inconsistencies in naming throughout Reference Architecture sections
- Fixed an issue where Workbench does not properly set the queue when starting a session (rstudio-pro#7025)
- Fixed an issue where the displayed contianer image does not match the used image when starting a Kubernetes session (rstudio-pro#6910)
- Fixed an issue where a user mismatch would return a 500 instead of a 401 (rstudio-pro#6579)
- Fixed an issue where Workbench Jobs in VS Code show NaN when there is no maximum memory value configured (rstudio-pro#6510)
- Fixed an issue when resuming RStudio Pro sessions where the version of unattached R packages is not prsevered