Platforms

Windows

Windows is special, because the same repository is used for multiple architectures. Probably most people use 64 bit R on Windows, because that's what RStudio starts by default. But we also need to make sure that people who need 32 bit R will have a way to install packages, without ruining the 64 bit installation.

Luckily, there are no packages on CRAN or Bioconductor currently that are 32 bit only. (There are a few that are 64 bit only.) In addition, 32 bit R currently installs the package for both architectures, when installing from source. (64 bit R-devel does the same currently, but this might change.)

In light of these, this is what we do:

In summary, when compiling packages, we compile for both archs, except if we are in a 64 bit R session and the platform is x86_64-w64-mingw32.



r-lib/pkgcache documentation built on April 7, 2024, 5:57 a.m.