Create R binary packages for Linux that can be installed on different machines?

后端 未结 1 1641
心在旅途
心在旅途 2021-01-02 01:33

I\'m pretty sure this isn\'t possible, because if it were, then CRAN would have R Linux binary packages. Why isn\'t it possible? We can create Mac and Windows binary versi

相关标签:
1条回答
  • 2021-01-02 02:16

    Different compiler releases, different libc/libstc++ releases, different "other library" releases, different per-distro release cycles, ... make it that you just cannot match that goal with dynamic linking.

    You can get half-way there as e.g. RStudio does by a) bundling all your depends and b) reflecting subsets as they do for Debian/Ubuntu and RH/FC/CentOS. But with a) the tarballs would get massive, as they would with static linking.

    In short: you can't on Linux. So back to sources it is.

    0 讨论(0)
提交回复
热议问题