2

Just for curiosity, I have dual boot system and in both side I use R, however, regarding to the library installation, I found Linux is way slower than Windows, sometimes also you need to manully install dependencies using apt install in Ubuntu and for windows, everything is just smooth and fast.

2
  • Does not sound like a question, more like an observation.
    – Doc Brown
    Commented Jul 12, 2019 at 6:20
  • It is a question, I wonder what's the mechanism that caused this
    – Negrito
    Commented Jul 12, 2019 at 6:21

1 Answer 1

2

R on Windows installs binary (i.e., precompiled) versions of R extension packages (.zip suffix on CRAN). There are also precompiled packages for macOS on CRAN (.tgz). If you use install.packages() on Linux, the package is build from the sources, which requires a proper development setup (compilers, development libraries, etc). See also ?install.packages.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .