-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
Hi,
Just wondering if anyone might know the reason for this error. I am using a pretty freshly installed ubuntu xenial 16.04 on an AWS instance (t2 micro so only 1GB of RAM). My g++ version is 5.4.0
It takes quite long before the compilation error appears.
> install.packages('RcppEigen')
Installing package into ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/RcppEigen_0.3.3.4.0.tar.gz'
Content type 'application/x-gzip' length 1631870 bytes (1.6 MB)
==================================================
downloaded 1.6 MB
* installing *source* package ‘RcppEigen’ ...
** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG -I"/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I../inst/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppEigen.cpp -o RcppEigen.o
g++ -I/usr/share/R/include -DNDEBUG -I"/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I../inst/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
g++ -I/usr/share/R/include -DNDEBUG -I"/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/Rcpp/include" -I../inst/include -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c fastLm.cpp -o fastLm.o
virtual memory exhausted: Cannot allocate memory
/usr/lib/R/etc/Makeconf:168: recipe for target 'fastLm.o' failed
make: *** [fastLm.o] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/home/ubuntu/R/x86_64-pc-linux-gnu-library/3.4/RcppEigen’
The downloaded source packages are in
‘/tmp/RtmphYSiGQ/downloaded_packages’
Warning message:
In install.packages("RcppEigen") :
installation of package ‘RcppEigen’ had non-zero exit status
Metadata
Metadata
Assignees
Labels
No labels