New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRAN version of readr crashes the compiler on small-RAM Ubuntu 16.04 system #544
Comments
|
I seem to have a similar problem (described here http://stackoverflow.com/questions/40945512/r-ubuntu-cant-install-packages-readr-and-eurostat). Is memory the issue here? |
|
@iliastsergoulas It was for me - I raised the RAM and it compiled. How much RAM do you have? |
|
@znmeb I got a virtual server with 1 GB RAM. I know, I got the cheapest because I did not have high demands from this server. |
|
@iliastsergoulas Yeah - 1 GB isn't enough to compile that routine. You might be able to get a per-compiled binary for readr at R-Hub ... https://builder.r-hub.io/ I'm going to start testing my build scripts with R-Hub next week; I have a bunch of Docker images with header files required to compile packages. |
|
This StackOverflow question referenced this issue. I just provided a complete solution over there which I may as well quote here:
What is suggested here (ie using r-hub) is a waste of resources as we already have (most of) these binaries. Michael's PPAs cover over 3000 packages for several Ubuntu flavours. |
|
Yes, that worked for me fine! Thank you for your solution @eddelbuettel |
|
@eddelbuettel I just discovered Michael's PPA thanks to your comment here - how come there's no link to it on https://cran.rstudio.com/bin/linux/ubuntu/? The PPA page itself implies there is one - https://launchpad.net/~marutter/+archive/ubuntu/rrutter |
|
Those PPAs are neither hidden nor secret nor new. Michael had them for over a decade, methinks, and they have been mentioned on |
I'm building a system on a Ubuntu 16.04LTS base. On a 1024 MB (64-bit) virtual machine I get this:
If I push the RAM up to 1536 MB it compiles. But if I enable two-job "make" it crashes again.
This is in a Vagrant box, so I can try various experiments.
The text was updated successfully, but these errors were encountered: