Download R For Studio Mac

Posted : admin On 11/24/2021
  1. Download R For Studio Mac Free
  2. Download R Studio Per Mac
  3. Download R For Studio Machine

R-Studio for Mac run in the demo mode allows you to evaluate how the utility recovers lost files. The only limitation is you can not recover files larger than 256KB in the demo mode. R-Studio for Mac is registered on on-the-fly and no reinstallation required. Whether you use Mac®, Windows®, or iOS®, we have an interface that fits your application and budget. Mixing Systems Finder PreSonus StudioLive® Series III, StudioLive AR, and StudioLive Classic digital mixers provide complete, easy-to-use solutions for live and studio applications.

This is the new home for experimental binaries and documentation related to R for macOS. To learn more about the R software or download released versions, please visit www.r-project.org.
  1. To install R on a Mac, click the “Download R for Mac” link. Next, click on the R-3.0.3 package link (or the package link for the most current release of R). An installer will download to guide you through the installation process, which is very easy.
  2. The new R version appear right after I install R and restart RStudio. Update: For Mac users, solution 3 is too painful and not working well for me. This method is fast and working well.

All software on this page is strictly experimental and subject to acceptance of the supplied R license agreement and the disclaimer at the end of the page.

Download R For Studio Mac Free

Important note about R 4.0.0
Starting with R 4.0.0 alpha we are building R using standard Apple tools (Xcode 11.4) and GNU Fortran 8.2 from fxcoudert and the target is macOS 10.13 (High Sierra). All dependent static libraries are available in the libs-4 directory. Please make sure you remove any modifications to build flags from your home since no custom compilers are used anymore. For more information about alternative OpenMP options (as in older version) see the openmp page of this site.

Apple silicon update: it is now possible to build R for the Apple silicon arm architecture (new Macs with the M1 processor) - see our R developer blog post. The plan is to have an official native arm release of R 4.1.0, but in the meantime we intend to provide native builds of R-devel here once the hardware arrives (est. mid-December). That said, our current Intel releases work just fine on the new Macs as well.

Index

  • Will R Work on Apple Silicon?(Information on the status of the port to Apple's new M1 architecture.)

Nightly builds for macOS

R framework

BuildOSDateStatusDownload
R-3.6-branch
3.6.3 Patched
(2020/04/28, r79526)
el-capitanNov 29 23:30x86_64: OK (log)
Package: OK

R-3.6-branch-el-capitan-sa-x86_64.tar.gz (67Mb)
R-3.6-branch-el-capitan-signed.pkg (77Mb, installer incl. GUI)
R-4.0-branch
4.0.3 Patched
(2020/11/29, r79526)
high-sierraNov 29 21:41x86_64: OK (log)
Package: OK

R-4.0-branch.tar.gz (73Mb)
R-4.0-branch.pkg (85Mb, installer incl. GUI)
R-devel
4.1.0 Under development (unstable)
(2020/11/29, r79526)
high-sierraNov 29 21:52x86_64: OK (log)
Package: OK

R-devel.tar.gz (73Mb)
R-devel.pkg (85Mb, installer incl. GUI)

The installer image (*.pkg) is packaged exactly the same way as the CRAN release of R (including the GUI) and it will update your R version (unless you use pkgutil - see instructions during installation and/or the 'Multiple versions'section of the R Installation and Administration manual).

Alternatively, you can use the tar-ball (*.tar.gz) in the table above. The tar-ball must be unpacked in the root directory using:

$ tar fvxz R*.tar.gz -C /

NOTE: The tar-ball does not contain the GUI (see below for a separate download).

NOTE: The installer includes Tcl/Tk package which will install in /usr/local. It is optional (only needed for the tcltk R package) and can be unchecked at installation time.

If you see any issues with the builds, please contact Simon Urbanek (the macOS maintainer of R) or report on the R-SIG-Mac mailing list.

Mac OS X GUI

VersionBuildDownload
Mac OS X GUI rev. 7782 for R 3.6.xel-capitan-Debug.dmgR-GUI-7782-3.6-el-capitan-Debug.dmg
Mac OS X GUI rev. 7782 for R 3.6.xel-capitan-Release.dmgR-GUI-7782-3.6-el-capitan-Release.dmg
Mac OS X GUI rev. 7899 for R 4.0.xhigh-sierra-Debug.dmgR-GUI-7899-4.0-high-sierra-Debug.dmg
Mac OS X GUI rev. 7899 for R 4.0.xhigh-sierra-Release.dmgR-GUI-7899-4.0-high-sierra-Release.dmg
Mac OS X GUI rev. 7899 for R 4.1.xhigh-sierra-Debug.dmgR-GUI-7899-4.1-high-sierra-Debug.dmg
Mac OS X GUI rev. 7899 for R 4.1.xhigh-sierra-Release.dmgR-GUI-7899-4.1-high-sierra-Release.dmg

To install, open the image and drag the R icon to your Applications folder. Alternatively the GUI can be run directly off that image without copying if you just want to test it. Build configurations with '64' suffix are 64-bit builds, all others are 32-bit (except for Debug). If you want to use both, rename one of them or place them in different directories.

Tools

In order to compile R and R packages you will need Xcode Developer Tools and a Fortran compiler. For details and download, please read the Tools page. The R 4.0.0 and higer binaries are built using Xcode 11.4.

Experimental binary packages

MacThis site no longer hosts experimental packages. It is now the master repository for released R package binaries. If you have issues with other mirrors, try using https://mac.r-project.org/ as your mirror as it is updated first.

Legacy R

The current build supports only macOS X 10.13 (High Sierra) or higher. Older versions of macOS are not supported in binary form, but R can be compiled from sources for such legacy OS versions. Last released version for Mac OS X 10.4 (Tiger) was R 2.10.1, last release for Mac OS X 10.5 (Leopard) was R 2.15.3, last release for Mac OS X 10.11 (El Capitan) was R 3.6.3.

Other binaries

The following binaries are not maintained or supported by R-core and are provided without any guarantee and for convenience only (Mac OS X 10.4.4 or higher required). They match the binaries used on the CRAN binary build machine and thus are recommended for use with CRAN R package binaries.
  • GTK+ 2.24.17 framework - 64-bit build of GTK+ 2.24.17, necessary for binary R packages that use GTK+ version 2 (such as RGtk2+). R 3.0.0 and higher, Snow Leopard build
    Download: GTK_2.24.17-X11.pkg (ca. 41MB)
  • GTK+ 2.18.5 framework - universal build of GTK+ 2.18.5, necessary for binary R packages that use GTK+ version 2 (such as RGtk2+). R 2.10.0 - 2.15.3, Leopard build
    Download: GTK_2.18.5-X11.pkg (ca. 58MB)
  • RSwitch - a small GUI that allows you to switch between R versions quickly (if you have multiple versions of R framework installed).
    Download: RSwitch-1.2.dmg (ca 67kB, universal, updated 2011/03/24 to support R 2.13.0 and up)
    Sources: RSwitch-1.2.tar.gz (Xcode project and sources)

    NOTE: Bob Rudis is maintaining a new version of a tool which has RSwitch functionality and more - see 3rd party RSwitch replacement (NOT related to R-Foundation or CRAN!).

More external libraries for R 4.0.0 and higher can be found in the /libs-4/ directory. For older versions see the /libs/ directory.

Disclaimer

All software is provided 'as is' and any express or implied warranties, including, but but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the publisher, copyright owner or contributors be liable for any direct, indirect, incidental,special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.

R and RStudio are both free, open-source software, available for all commonly used operating systems. R is developed cooperatively and noncommercially under the auspices of the Free Software Foundation; RStudio is a commercial product.

R and RStudio install in the standard manner on each of Windows, macOS, and Linux systems. System-specific instructions for installing R are given below. Regardless of your operating system, you should install R before installing RStudio.

If you wish to install the R Commander graphical user interface for R (used only in lecture 1), you may want also to consult the R Commander installation instructions (especially if you run into difficulties).

Please read and follow these instructions carefully. Installation assistance will also be availabile from the instructor (John Fox) and teaching assistant (Allison Leanage) prior to the start of thelecture series and during office hours.

Installing R on Windows

Visit the Comprehensive R Archive Network (CRAN) and select a mirror site; a list of CRAN mirrors appears at the upper left of the CRAN home page. I suggest that you use the 0-Cloud mirror, which is the first on the list. Click on the link Download R for Windows, which appears near the top of the page; then click on install R for the first time, and subsequently on Download R x.y.z for Windows (where x.y.z is the current version of R, which is R 4.0.2 at the start of the lectures series). Once it is downloaded, double-click on the R installer. You may take all of the defaults, but I suggest that you make the following modifications:

Instead of installing R in the standard location, C:Program FilesRR-x.y.z, I suggest that you use C:RR-x.y.z. Again, x.y.z is the current version of R. This will allow you to install packages in the main R library without running R with administrator privileges and may avoid problems that sometimes occur when there are spaces in paths.

In the Startup options screen, I suggest that you select Yes (customized startup). Then select the SDI (single-document interface) in preference to the default MDI (multiple-document interface); feel free to make other changes, but you may take all the remaining defaults.

Download R Studio Per Mac

Building Packages Under Windows, etc. (Optional)

If you wish to build packages, or use compiled C, C++, or Fortran code in R, or use the rstan package for Bayesian inference, you will have to install some additional software and properly configure your Windows system. You do not have to be able to build R packages in order to install pre-built Windows binary packages from CRAN, so these steps are generally unnecessary unless you plan to write your own packages, use compiled code, or use rstan. None of these topics are covered in the lecture series.

Click on the Rtools link on the R for Windows CRAN page. Download the current version of the Rtools installer and run it. You may take all of the other defaults. An additional necessary step is to add the Rtools usrbin subdirectory to your system path; for example, if Rtools is installed in c:rtoolsxy (which is the standard location for version xy of Rtools), then you would add c:rtoolsxyusrbin; to your system path. Type this location carefully, including the terminating semicolon -- you don't want to mess up your path.

An alternative, and possibly safer, procedure for specifying the path to Rtools is described on the Rtools webpage.

If you want to be able to build R packages outside of RStudio, also add c:RR-x.y.zbin; to the path (assuming that you installed R in the location that I suggested).

If you want to be able to build PDF help files for packages, download and install the MiKTeX LaTeX system; there is also a link to MiKTeX on the Building R for Windows page. Installing MiKTeX will also allow you to create Sweave and knitr LaTeX documents in RStudio, and to compile R Markdown documents directly to PDF files.

Installing R on macOS

Visit the Comprehensive R Archive Network (CRAN) and select a mirror site; a list of CRAN mirrors appears at the upper left of the CRAN home page. I suggest that you use the 0-Cloud mirror, which is the first on the list. Click on the link Download R for MacOS X, which appears near the top of the page; then click on R-x.y.z.pkg (where x.y.z is the current version of R -- R 4.0.2 at the start of the lectures series), which assumes that you are using macOS 10.11 (El Capitan) or higher. You'll also find older versions of R if you have an older version of macOS. Note: As a general matter, you're probably better off updating your macOS to the current version.

Once it is downloaded, double-click on the R installer. You may take all of the defaults.

Building Packages Under macOS, etc. (Optional)

If you wish to build packages, or use compiled C, C++, or Fortran code in R, or use the rstan package for Bayesian inference, you must install the Apple Xcode developer tools. None of these topics is covered in the lecture series. For macOS 10.7 (Lion) or higher, you can install Xcode for free from the App Store. For earlier versions of macOS, Xcode can be installed from your system DVD or downloaded from the Apple developer website. You do not need Xcode to install pre-built macOS binary packages from CRAN, so this step is unnecessary unless you plan to write your own packages, use compiled code, or use the rstan Bayesian estimation package.

Some R packages include Fortran, C, or C++ code; to build such packages, you will have to install compilers for these languages.The C and C++ compilers are included in the Apple Xcode tools, but you will have to separately download and install a Fortran compiler.

If you want to be able to build PDF help files, download and install the MacTeX LaTeX system. Installing MacTeX will also allow you to create Sweave and knitr LaTeX documents in RStudio, and to compile R Markdown documents directly to PDF files.

Installing X-Windows on macOS (Optional)

Some R software (e.g., my Rcmdr package) makes use of the Tcl/Tk graphical-user-interface (GUI) builder via the tcltk package to create point-and-click interfaces and to display GUI elements such as progress bars. To use the tcltk package, which is a standard part of the R distribution, you must have the X11 windowing system installed on your Mac. Some other packages that don't use Tcl/Tk, such as the rgl package for dynamic 3D graphics, also require X11.

Check to see whether the X11 windowing system (X Windows) has already been installed on your computer. If you wish, it should do no harm to skip this step and simply go to the next step to install XQuartz.

For OS X 10.6 and 10.7, the file X11.app should appear in the Utilities folder under Applications in the finder. This application should always be installed under OS X 10.7.

For OS X 10.8 or higher, the file is named XQuartz.app and is no longer included with the operating system. XQuartz.app may also be installed in OS X 10.6 or 10.7.

Note that if you upgrade macOS, you will have to reinstall XQuartz even if you installed it previously.

You may also issue the command capabilities('X11') at the R command prompt. If the response is TRUE then X11 is installed.

If neither X11.app nor XQuartz.app is installed, install XQuartz from http://xquartz.macosforge.org. As mentioned, it should do no harm to install XQuartz even if you have X11 currently installed.

    1. Download the disk image (dmg) file for XQuartz.

    2. When you open this file by double-clicking on it, you'll find XQuartz.pkg; double-click on it to run the installer, clicking through all the defaults.

    3. Important: After the installer runs, you'll have to log out and back on to your macOS account, or just reboot your Mac. Also, on first use, XQuartz builds a cache of fonts and so initial performance may be slow; this problem should go away after a short period of time.

Installing R on Linux Systems

Visit the Comprehensive R Archive Network (CRAN) and select a mirror site near you; a list of CRAN mirrors appears at the upper left of the CRAN home page. I suggest that you use the 0-Cloud mirror, which is the first on the list. Click on the link Download R for Linux, which appears near the top of the page. R is available for several Linux distributions (Debian, RedHat, SUSE, and Ubuntu); select your distribution, and proceed as directed.

If you have a Linux or Unix system that's not compatible with one of these distributions, you will have to compile R from source code; the procedure for doing so is described in the R FAQ (frequently asked questions) list.

Installing RStudio

Go to the RStudio download page, select the free version of RStudio Desktop, scroll down to Installers for Supported Platforms, and click on the link to the appropriate installer for your operating system (Windows, macOS, or Linux distro). Visit the RStudio IDE home page for more information about RStudio.

Once it is downloaded, run the RStudio installer and take all of the defaults: In Windows, double-click on the RStudio installer to start the installation; in macOS, double-click on the downloaded RStudio disk-image file, and drag the RStudio icon to the Applications folder.

Download R For Studio Machine

When you first run RStudio, it should detect your R installation and start the R console. To configure RStudio to your taste, select Tools > Global Options (Windows) or RStudio > Preferences (macOS) from the RStudio menus. In particular, I suggest that on the General options screen you deselectRestore .RData into workspace at startup, and set Save workspace to .RData on exit to Never.

If you encounter difficulties, consult the RStudio troubleshooting guide. or seek help from John or Allison.

Installing R Packages for the Lecture Series

Once you have installed R and RStudio, you can install additional packages required for the lecture series by typing the following command at the > command prompt in the R Console (and pressing the Enter or return key):

install.packages(c('car', 'data.table', 'effects', 'knitr', 'lme4', 'rgl', 'rmarkdown', 'sfsmisc', 'tidyverse'))

You can simply copy and paste this command from these installation instructions. Alternatively, you can install packages from the RStudio Packages tab. Be aware that, depending on the speed of your internet connection, it may take some time to download and install these packages and their dependencies.

If you wish to use the R Commander, also issue the command install.packages('Rcmdr'). On first use, via the library('Rcmdr') command in R, the R Commander will offer to install additional packages that it needs.

If you want to try using C++ code within R (not discussed in the lecture series), also install the Rcpp package, install.packages('Rcpp'). You'll also have to install a C++ compiler, as described in the sections above on building packages under Windows and macOS.

Similarly, if you want to use the Stan Bayesian statistical software via the rstan package (not discussed in the lecture series), you'll have to install the package by the command install.packages('rstan'), and also install a C++ compiler.