r - install package on rstudio server ubuntu 12.04.1 -


i followed instructions on randyzwitch's blog (http://randyzwitch.com/r-amazon-ec2/) install r-studio server on ec2 instance running ubuntu 12.04.

when start r-studio server , try install packages, happening:

> install.packages("dplyr") warning in install.packages :   package ‘dplyr’ not available (for r version 2.14.1) installing package(s) ‘/usr/local/lib/r/site-library’ (as ‘lib’ unspecified) warning in install.packages :   'lib = "/usr/local/lib/r/site-library"' not writable create personal library ~/r/x86_64-pc-linux-gnu-library/2.14 install packages into?  (y/n) y warning in install.packages :   package ‘dplyr’ not available (for r version 2.14.1) 

i realized need update r checked out post , updated it: https://askubuntu.com/questions/218708/installing-latest-version-of-r-base/436491#436491

i logged in sudo user. when try install package now, this:

> install.packages("plyr") installing package ‘/home/ubuntu/r/x86_64-pc-linux-gnu-library/3.2’ (as ‘lib’ unspecified) installing dependency ‘rcpp’  trying url 'http://cran.rstudio.com/src/contrib/rcpp_0.11.5.tar.gz' content type 'application/x-gzip' length 2353791 bytes (2.2 mb) ================================================== downloaded 2.2 mb  trying url 'http://cran.rstudio.com/src/contrib/plyr_1.8.2.tar.gz' content type 'application/x-gzip' length 392136 bytes (382 kb) ================================================== downloaded 382 kb  warning in install.packages :   system call failed: cannot allocate memory warning in install.packages :   installation of package ‘rcpp’ had non-zero exit status warning in install.packages :   system call failed: cannot allocate memory warning in install.packages :   installation of package ‘plyr’ had non-zero exit status  downloaded source packages in     ‘/tmp/rtmp6kgx5d/downloaded_packages’ 

i saw post : lme4 package install failing on ubuntu 12.04 , followed instructions didn't solve problem. still same result. thoroughly frustrated trying run rstudio server on aws. please help!

are using instance type t2.micro? try using more powerful instance more ram, worked me.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -