Install R package on UBUNTU virtual machine

Original link: http://tecdat.cn/?p=14174

Use Ubuntu Virtual Machine. Some problems may occur when installing certain packages. One trick is to open Terminal

Then use the sudo command to install some packages,

(After entering the password). Just type (or copy/paste)

sudo apt-get install libcurl4-openssl-devsudo apt-get install libxml2-devsudo apt-get install openjdk-8-*update-alternatives --config javasudo apt-get install aptitudesudo aptitude install libgdal-devsudo aptitude install libproj-devsudo apt-get install build-essential libcurl4-gnutls-dev libxml2-dev libssl-devsudo apt-get install curlsudo apt-get build-dep r-cran-rglsudo apt-get install r-cran-plyr r-cran-xml r-cran-reshape r-cran-reshape2 r-cran-rmysqlsudo apt-get install r-cran-rjavasudo apt-get install r-cran-glmnetsudo apt-get build-dep r-cran-bootsudo apt-get build-dep r-cran-classsudo apt-get build-dep r-cran-clustersudo apt-get build-dep r-cran-codetoolssudo apt-get build-dep r-cran-foreignsudo apt-get build-dep r-cran-kernsmoothsudo apt-get build-dep r-cran-latticesudo apt-get build-dep r-cran-masssudo apt-get build-dep r-cran-matrixsudo apt-get build-dep r-cran-mgcvsudo apt-get build-dep r-cran-nlmesudo apt-get build-dep r-cran-nnetsudo apt-get build-dep r-cran-rpartsudo apt-get build-dep r-cran-spatialsudo apt-get build-dep r-cran-survivalsudo apt-get build-dep r-cran-rodbcsudo apt-get build-dep

Then, in RStudio, enter

install.packages("RCurl")install.packages("xml")install.packages("rJava")install.packages("rgdal")install.packages("xlsx")install.packages("devtools")

Recommended Posts

Install R package on UBUNTU virtual machine
Install ubuntu on virtual machine
Install R4 on ubuntu20
Install gsl package in R language on ubuntu
Virtual machine VirtualBox-5.1 install ubuntu16.0.1
Install OS X 10.15 virtual machine based on Ubuntu platform
How to install R on Ubuntu 20.04
Install Python virtual environment on Ubuntu 18.04
Install Ubuntu 18.04 in the virtual machine VMware
install vscode on ubuntu18
Install Redis on Ubuntu
Install nvtop on Ubuntu 18.04
Install docker on Ubuntu
Install Docker on ubuntu18.04
Install nodejs10 on Ubuntu16
Install mysql on Ubuntu 14.04
Install Django on ubuntu
Install Pytorch+CUDA on Ubuntu 16.04
Install rJava on Ubuntu18
Install JDK10+ on Ubuntu
Install Python3 on Ubuntu 16.04
Install Docker on Ubuntu18
Install Python3.7 on Ubuntu
Install flashplayer on Ubuntu
Install OpenSSL 1.0.2 on Ubuntu Server 14.04
Install QQ robot on Ubuntu 16.04
Install Python 3.7 on Ubuntu 18.04 LTS
Install KVM on CentOS 7 and create a virtual machine
Ubuntu14.04 creates Genymotion virtual machine
Install Android Studio on Ubuntu
Install scrapy framework on ubuntu
Install Mysql offline on Ubuntu
Install Oracle Java8 on Ubuntu
VMwareWorkstation10.0 install CentOS7.0 virtual machine
Install Odoo 11 stack on Ubuntu 16.04
Install Go locale on Ubuntu16
Install non-portable QQ on ubuntu
Install Docker on Ubuntu 18.04 offline
Install rgl package under Ubuntu
How to install Centos operating system on VMware virtual machine
How to install Ruby on Ubuntu 20.04
How to install Memcached on Ubuntu 20.04
Virtual machine Linux Ubuntu installation tutorial
How to install MySQL on Ubuntu 20.04
How to install VirtualBox on Ubuntu 20.04
How to install R on CentOS 8
How to install Protobuf 3 on Ubuntu
Install Tenda u12 driver on Ubuntu
How to install Nginx on Ubuntu 20.04
How to install Apache on Ubuntu 20.04
How to install Git on Ubuntu 20.04
How to install Node.js on Ubuntu 16.04
How to install MySQL on Ubuntu 20.04
Install and configure MySQL on Ubuntu
Install Chef server workstation on Ubuntu 18.04
How to install Vagrant on Ubuntu 20.04
How to install Bacula-Web on Ubuntu 14.04
Install botan2 encryption library on ubuntu
How to install PostgreSQL on Ubuntu 16.04
How to install Git on Ubuntu 20.04
How to install Anaconda3 on Ubuntu 18.04