VScode C、C++不用管配置文件
先把
sudo get-apt install g++
sudo get-apt install gcc
sudo get-apt install gdb
RBase:
sudo echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" | sudo tee -a /etc/apt/sources.list
gpg --keyserver keyserver.ubuntu.com --recv-key 51716619E084DAB9
gpg -a --export 51716619E084DAB9 | sudo apt-key add -
sudo apt-get update
sudo apt-get install r-base r-base-dev
Rstudio:
sudo apt-get install gdebi-core
wget https://download1.rstudio.org/desktop/xenial/amd64/rstudio-1.4.1106-amd64.deb
sudo gdebi rstudio-1.4.1106-amd64.deb
rm rstudio-1.4.1106-amd64.deb