title: R安装包前的一些配置 tags: [] id: '1292' categories:
.libPaths("/home/jovyan/Rlibrary")
options(BioC_mirror="https://mirrors.tuna.tsinghua.edu.cn/bioconductor")
options(CRAN="http://mirrors.tuna.tsinghua.edu.cn/CRAN/")
options(repr.plot.width=12, repr.plot.height=12)
options(ggrepel.max.overlaps = Inf)
Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE)
Sys.setenv(http_proxy="http://127.0.0.1:20809")
git config --global http.proxy 'socks5://127.0.0.1:20808'
git config --global https.proxy 'socks5://127.0.0.1:20808'
install.packages('BiocManager')
install.packages('devtools')
R CMD
export C_INCLUDE_PATH=/opt/conda/include/freetype2
export CPLUS_INCLUDE_PATH=/opt/conda/include/freetype2
wget https://download.savannah.gnu.org/releases/freetype/freetype-2.11.1.tar.gz
R CMD INSTALL systemfonts_1.0.3.tar.gz
conda 安装依赖
proxychains4 conda install jags
conda 本地安装
conda install --use-local boost-1.59.0-py27_0.tar.bz2
PIDS=`ps -ef grep 'xray run -c' grep -v grep awk '{print $2}'`
if [ "$PIDS" != "" ]; then
echo "xray is runing!"
else
xray run -c $HOME/etc/xui2.json >$HOME/log/xray.log 2>&1 &
fi