install r on ubuntu

install r-base on ubuntu: sudo apt-get install -y r-base

download rstudio:

https://download1.rstudio.org/rstudio-1.0.153-amd64.deb

install gui tool(rstudio) for r language: sudo dpkg -i rstudio-***-amd64.deb

some examples for r language:

***

# library(plotrix)
# slices <- c(1,2,3,4)
# cc <- c(‘a‘, ‘b‘, ‘c‘, ‘d‘)
# pie3D(slices, labels = cc, explode = 0.1)

# library(scatterplot3d)
# scatterplot3d(iris[,1:2])

# library(ggplot2)
# qplot(1:1000, rnorm(1000))

***

时间: 2024-11-03 03:30:03

install r on ubuntu的相关文章

Install R &amp; RStudio for Ubuntu

Install R r-project.org official source to install the latest R system. add R source   sudo vi /etc/apt/sources.list # append below line to end of sources.list # you can view mirror at http://cran.r-project.org/mirrors.html deb http://ftp.ctex.org/mi

R on Ubuntu

I have been using R recently. R is statistics programming language. R has attracted more and more attention as analytics in cloud gets more and more hot. Don't install R in default ubuntu source which only contains a older version. Update apt source

Install golang on Ubuntu 14.04 LTS

1. Install golang on Ubuntu 14.04 LTS a)~$ sudo apt-get install golang                   success b)~$ sudo add-apt-repository ppa:gophers/go ~$ sudo apt-get update ~$ sudo apt-get install golang-stable         fail c) complie from source code        

How to Install PhantomJS on Ubuntu 16.04

Introduction PhantomJS is a scripted, headless browser that can be used for automating web page interaction. PhantomJS is a free, open source and distributed under the BSD license. PhantomJS is based on WebKit and is very similar browsing environment

(转) How to install eclipse in ubuntu 12.04

源地址:http://www.krizna.com/ubuntu/install-eclipse-in-ubuntu-12-04/ Eclipse installation in ubuntu 12.04 is very simple . you can install eclipse using “software center” but you may not get the latest version, better download the latest version and ins

Install ntopng on Ubuntu 14.04 Server

please check http://www.nmon.net/apt-stable/ 1. echo -e "deb http://www.nmon.net/apt-stable/14.04/ x64/\ndeb http://www.nmon.net/apt-stable/14.04/ all/" > /etc/apt/sources.list.d/ntop.list wget -qO - http://www.nmon.net/apt-stable/ntop.key |

Install OpenCV-Python in Ubuntu

之前安装python版opencv,需要下载whl文件,进行安装 今天发现一个简单的方法. Install OpenCV-Python in Ubuntu Install package python-opencv with following command in terminal (as root user). $ sudo apt-get install python-opencv Open Python IDLE (or IPython) and type following codes

install postgresql in ubuntu

摘要:install postgresql in ubuntu 使用apt-get install postgresql-9.3无法安装 In Ubuntu official repositories only PostgreSQL 9.1 is available. n order to get PostgreSQL v9.2 in your VPS using apt you should follow the official PostgreSQL procedure for Ubuntu

How To Install Docker On Ubuntu 18.04

Docker is an increasingly popular software package that creates a container for application development. Developing in Docker speeds up applications, as it shares the kernel and other resources, instead of requiring dedicated resources. There are two