Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r 和 rtools 安装和更新 #7

Open
ShixiangWang opened this issue Jul 1, 2020 · 2 comments
Open

r 和 rtools 安装和更新 #7

ShixiangWang opened this issue Jul 1, 2020 · 2 comments

Comments

@ShixiangWang
Copy link
Owner

No description provided.

@ShixiangWang
Copy link
Owner Author

sudo apt install build-essential
sudo apt install xorg-dev libreadline-dev
sudo apt install libcurl4-openssl-dev libbz2-dev libcairo2-dev libgtk2.0-dev texinfo texlive
sudo apt install default-jdk
sudo apt-get install libpcre2-dev

wget -c http://mirrors.ctan.org/fonts/inconsolata.zip
unzip inconsolata.zip
sudo cp -Rfp inconsolata/* /usr/share/texmf/
sudo mktexlsr

wget -c https://mirrors.tuna.tsinghua.edu.cn/CRAN/src/base/R-4/R-4.0.2.tar.gz

tar zxvf R-4.0.2.tar.gz R-4.0.2/
cd R-4.0.2/
./configure --prefix=$HOME/local/R --enable-R-shlib --with-cairo=yes

cd /usr/bin/
sudo ln -s $HOME/local/R/bin/Rscript Rscript
sudo ln -s $HOME/local/R/bin/R R

@ShixiangWang
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant