By Gabor Kiss
Hi Everyone!
First of all, the DigitalOcean service is super easy and really happy with the onboarding. I just created a droplet (Ubuntu 16.04) and installed R and Rstudio Server to it.
Everything went okay, but some packages I cannot install and I don’t know why, like dplyr, tidyr, lubridate, while others like quantmod went without error.
The error message is like:
g++ -I/usr/share/R/include -DNDEBUG -I…/inst/include/ -fpic -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c Date.cpp -o Date.o
Warning messages: 1: In install.packages(“stringr”) : installation of package ‘stringi’ had non-zero exit status 2: In install.packages(“stringr”) : installation of package ‘stringr’ had non-zero exit status
library(stringr)
I googled around on stackoverflow for answers about “apt-get install libssl-dev” and ran that
Can someone help me why I see this issue?
Have a great day, Gabor
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This question was answered by @gaborkiss:
Solved: The memory was the issue, I had to scale up the droplet (and some other dependencies like jvm etc).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.