Package Installation failure: RxODE, odeintr

package-installation

#1

Hi there,

when I want to install the RxODE package on RStudio cloud, I end up with the following issue:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make: *** [rxData.o] Error 4
/opt/R/3.5.0/lib/R/etc/Makeconf:168: recipe for target 'rxData.o' failed
ERROR: compilation failed for package ‘RxODE’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/RxODE’
Error in i.p(...) : 
  (converted from warning) installation of package ‘/tmp/RtmpnwPJMv/file22630d6e5e2/RxODE_0.8.1-0.tar.gz’ had non-zero exit status

Similarly the odeintr package returns an installation error:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
/opt/R/3.5.0/lib/R/etc/Makeconf:168: recipe for target 'RcppExports.o' failed
make: *** [RcppExports.o] Error 4
ERROR: compilation failed for package ‘odeintr’
* removing ‘/home/rstudio-user/R/x86_64-pc-linux-gnu-library/3.5/odeintr’

I already installed them on different shiny servers (pro or open source). Besides, I tried to change the compiler from gcc to clang but the same error appears.

According to https://bitcointalk.org/index.php?topic=304389.0, this should be a RAM issue ... if yes, how could I solve it?

Thanks

David


#2

We will look into caching versions of these packages to work around the 1 GB memory limit currently in place in rstudio.cloud.

I will update this topic when I know more.


#3

I had no issue installing odeintr. It did not run out of memory, so I would encourage you to try installing it in a fresh package and see if you see the same.

RxODE consistently runs out of memory, and I have added it to our cache for R 3.5.2.


#4

@josh: odeintr installation finally worked after several attempts as well as RxODE. Thanks for your support!


closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.