Giter Site home page Giter Site logo

Comments (6)

nsh87 avatar nsh87 commented on August 17, 2024

Good point...I'll put something in the README. Open up Vagrantfile, the settings for the VM are in there, which you can change. Right now there is "1536" RAM (~1.5GB). You can change the value and then do vagrant reload. Disk space shouldn't be an issue, the VM will resize to fit. You're probably running out of memory.

from shinyvm.

data-steve avatar data-steve commented on August 17, 2024

I bump it up to 5GB in Vagrantfile.

After I vagrant up again and vagrant ssh, I sudo R and try a simple install: install.packages("devtools") and I get the following errors

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
also installing the dependencies ‘httr’, ‘RCurl’

"trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/httr_0.6.1.tar.gz'
Content type 'application/x-gzip' length 247531 bytes (241 KB)
opened URL
downloaded 241 KB

trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/RCurl_1.95-4.5.tar.gz'
Content type 'application/x-gzip' length 878607 bytes (858 KB)
opened URL
downloaded 858 KB

trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/contrib/devtools_1.7.0.tar.gz'
Content type 'application/x-gzip' length 130760 bytes (127 KB)
opened URL
downloaded 127 KB

  • installing source package ‘RCurl’ ...
    ** package ‘RCurl’ successfully unpacked and MD5 sums checked
    checking for curl-config... no
    Cannot find curl-config
    ERROR: configuration failed for package ‘RCurl’
  • removing ‘/usr/local/lib/R/site-library/RCurl’
    ERROR: dependency ‘RCurl’ is not available for package ‘httr’
  • removing ‘/usr/local/lib/R/site-library/httr’
    ERROR: dependencies ‘httr’, ‘RCurl’ are not available for package ‘devtools’
  • removing ‘/usr/local/lib/R/site-library/devtools’

The downloaded source packages are in
‘/tmp/RtmpvSClWS/downloaded_packages’
Warning messages:
1: In install.packages("devtools") :
installation of package ‘RCurl’ had non-zero exit status
2: In install.packages("devtools") :
installation of package ‘httr’ had non-zero exit status
3: In install.packages("devtools") :
installation of package ‘devtools’ had non-zero exit status

"

from shinyvm.

data-steve avatar data-steve commented on August 17, 2024

how do I get to /tmp/RtmpvSClWS/downloaded_packages to do a R CMD INSTALL?

from shinyvm.

data-steve avatar data-steve commented on August 17, 2024

I bumped it up to 20GB and it still is getting this error on RCurl and devtools. I tried the scales package and it installed ok. But I need devtools to get some github packages installed.

from shinyvm.

data-steve avatar data-steve commented on August 17, 2024

This Stackoverflow answer solved the problem. Need to include curl and xml in the ubuntu install for R to load packages RCurl and XML

http://stackoverflow.com/questions/20671814/non-zero-exit-status-r-3-0-1-xml-and-rcurl

from shinyvm.

nsh87 avatar nsh87 commented on August 17, 2024

Ah, yes, RCurl has some dependencies outside of R. I added that to the Readme this morning, a moment too late it seems.

from shinyvm.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.