Hi, this could be an xgboost error and not be related to Rstudio.
I tried to install xgboost and got the error below.
Is this a known issue on rstudiocloud?
When you get an error, compiler or otherwise, one of the things to do is to do a search for some fragments of the error message you received.
For example searching for "recipe for target 'amalgamation/xgboost-all0.o' failed" finds an Stack Overflow discussing the error you appear to have run into.
Thank you. I will try that. I just thought that maybe something could be improved in the general set-up of the rstudio cloud service concerning xgboost. I didn't try and risk my current local installation but I think I did not get the error on my local machine on Windows..
That output often implies that g++ ran out of memory while attempting to compile the associated source file. There are typically two ways around this:
Add more memory to the machine,
Modify compilation flags to require less memory (e.g. don't compile translation units in parallel). This is typically done by unsetting the MAKEFLAGS environment variable.
How much memory is available for the R session attempting installation of xgboost?
@kevinushey How can I check this on rstudio.cloud? I only encounter this problem in the cloud. Is this the right spot to address such issues? I would really love to use rstudio.cloud as my online plattform for demanding machine learning tasks (in the future, I am aware that it is in alpha state). So far it crashes when I try to run my production scripts. Standard packages work fine. Now I try to install more special ones. Thank you!
I guess I would have to configure rstudio.cloud but I don't know how. I would be thankful for some reference. Thank you and regards!
PS: I could open up a new "package topic" and not add it to the other question if you prefer.