Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

liweichen6/r-base-openblas

 
 

Repository files navigation

Base R Installer AppVeyor Build Status

Building base R using rtools40

Scripts to build R for Windows using Rtools40 toolchains. This version automatically gets built, checked, and deployed every day to CRAN.

Build requirements

To build R for Windows yourself, you need:

Rtools40 provides perl and all required system libraries so we no longer need any special "extsoft" file like we did in the past.

How to build yourself

Clone or download this repository. Optionally edit MkRules.local.in to adjust compiler flags. Now open any rtools msys2 shell from the Windows start menu.

win10

Option 1: Quick development build

The ./quick-build.sh script shows how to build a local single-architecture version of R from a source tarball.

To build, run the ./quick-build.sh script inside the rtools40 bash shell. This will build a complete 64-bit version of R, but not 32-bit R and also not manuals or the installer.

This is useful if you want to test a patch for base R. Obviously you can adjust the ./quick-build.sh script to add patches.

Option 2: build full installer

Alternatively run ./full-build.sh to build the complete installer as it appears on CRAN. This can take about 2 hours and requires you have innosetup and latex installed on your machine (in addition to rtools40). The process involves building both 32 and 64 bit R, as well as pdf manuals and finally the installer program.

OpenBLAS

Building R 4+ for Windows with OpenBLAS

About

Scripts for building R for Windows using rtools40

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 52.4%
  • PowerShell 41.7%
  • Makefile 5.9%