0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

ubuntu(virtual box)にRとR Studioをインストールしてみた

Last updated at Posted at 2023-10-27

参照サイト
https://noooooorick.hatenablog.jp/entry/2023/04/18/122151
https://cran.r-project.org/bin/linux/ubuntu/
https://posit.co/code-signing/

インストール

Rをインストール

console
sudo apt update -qq
sudo apt install --no-install-recommends software-properties-common dirmngr
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | sudo tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
sudo apt install --no-install-recommends r-base
sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+

R Studioをインストール

debファイルをダウンロード

インストール

console
sudo apt install ./RSTUDIO-20xx.xx.x-494-AMD64.DEB

コンパイラをインストール

console
sudo apt install g++
sudo apt install gfortran
  • パッケージをインストールする際にコンパイラがインストールされていないとエラーとなる
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?