yihui 我试了清华的镜像,也可以(速度飞快),下面是测试日志
sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 9 (stretch)
Matrix products: default
BLAS: /usr/lib/openblas-base/libblas.so.3
LAPACK: /usr/lib/libopenblasp-r0.2.19.so
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C LC_TIME=en_US.UTF-8
[4] LC_COLLATE=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_MESSAGES=C
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.4.3 tools_3.4.3 yaml_2.1.16
>
>
>
> packageVersion('tinytex')
[1] ‘0.2.13’
> library(help=tinytex)
> devtools::install_github('yihui/tinytex')
Downloading GitHub repo yihui/tinytex@master
from URL https://api.github.com/repos/yihui/tinytex/zipball/master
Installing tinytex
'/usr/local/lib/R/bin/R' --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \
'/tmp/RtmpY1WNSp/devtoolsa213ee4536/yihui-tinytex-3798627' \
--library='/usr/local/lib/R/site-library' --install-tests
* installing *source* package ‘tinytex’ ...
** R
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (tinytex)
> tinytex::install_tinytex(TRUE, repository = 'http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet')
trying URL 'https://github.com/yihui/tinytex/raw/master/tools/install-unx.sh'
Content type 'text/plain; charset=utf-8' length 604 bytes
==================================================
downloaded 604 bytes
Downloading install-tl-unx.tar.gz to /tmp ...
--2018-01-20 07:11:52-- http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz
Resolving mirror.ctan.org (mirror.ctan.org)... 176.28.54.184, 2a01:488:67:1000:b01c:36b8:0:1
Connecting to mirror.ctan.org (mirror.ctan.org)|176.28.54.184|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirror.lzu.edu.cn/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz [following]
--2018-01-20 07:11:52-- http://mirror.lzu.edu.cn/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz
Resolving mirror.lzu.edu.cn (mirror.lzu.edu.cn)... 202.201.0.160, 2001:da8:c000::160
Connecting to mirror.lzu.edu.cn (mirror.lzu.edu.cn)|202.201.0.160|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4071742 (3.9M) [application/octet-stream]
Saving to: ‘install-tl-unx.tar.gz’
0K .......... .......... .......... .......... .......... 1% 877K 4s
50K .......... .......... .......... .......... .......... 2% 1.33M 4s
100K .......... .......... .......... .......... .......... 3% 32.7M 2s
150K .......... .......... .......... .......... .......... 5% 145M 2s
200K .......... .......... .......... .......... .......... 6% 2.61M 2s
250K .......... .......... .......... .......... .......... 7% 21.4M 1s
300K .......... .......... .......... .......... .......... 8% 2.97M 1s
350K .......... .......... .......... .......... .......... 10% 3.35M 1s
400K .......... .......... .......... .......... .......... 11% 2.20M 1s
450K .......... .......... .......... .......... .......... 12% 1.11M 1s
500K .......... .......... .......... .......... .......... 13% 3.04M 1s
550K .......... .......... .......... .......... .......... 15% 3.57M 1s
600K .......... .......... .......... .......... .......... 16% 2.89M 1s
650K .......... .......... .......... .......... .......... 17% 3.25M 1s
700K .......... .......... .......... .......... .......... 18% 2.31M 1s
750K .......... .......... .......... .......... .......... 20% 932K 1s
800K .......... .......... .......... .......... .......... 21% 3.73M 1s
850K .......... .......... .......... .......... .......... 22% 3.32M 1s
900K .......... .......... .......... .......... .......... 23% 14.7M 1s
950K .......... .......... .......... .......... .......... 25% 2.22M 1s
1000K .......... .......... .......... .......... .......... 26% 2.29M 1s
1050K .......... .......... .......... .......... .......... 27% 521K 1s
1100K .......... .......... .......... .......... .......... 28% 46.7M 1s
1150K .......... .......... .......... .......... .......... 30% 9.53M 1s
1200K .......... .......... .......... .......... .......... 31% 575M 1s
1250K .......... .......... .......... .......... .......... 32% 2.12M 1s
1300K .......... .......... .......... .......... .......... 33% 10.3M 1s
1350K .......... .......... .......... .......... .......... 35% 2.52M 1s
1400K .......... .......... .......... .......... .......... 36% 2.22M 1s
1450K .......... .......... .......... .......... .......... 37% 2.31M 1s
1500K .......... .......... .......... .......... .......... 38% 2.34M 1s
1550K .......... .......... .......... .......... .......... 40% 2.33M 1s
1600K .......... .......... .......... .......... .......... 41% 2.21M 1s
1650K .......... .......... .......... .......... .......... 42% 2.19M 1s
1700K .......... .......... .......... .......... .......... 44% 2.49M 1s
1750K .......... .......... .......... .......... .......... 45% 2.02M 1s
1800K .......... .......... .......... .......... .......... 46% 2.76M 1s
1850K .......... .......... .......... .......... .......... 47% 2.22M 1s
1900K .......... .......... .......... .......... .......... 49% 2.23M 1s
1950K .......... .......... .......... .......... .......... 50% 2.45M 1s
2000K .......... .......... .......... .......... .......... 51% 2.20M 1s
2050K .......... .......... .......... .......... .......... 52% 2.31M 1s
2100K .......... .......... .......... .......... .......... 54% 2.35M 1s
2150K .......... .......... .......... .......... .......... 55% 2.23M 1s
2200K .......... .......... .......... .......... .......... 56% 2.31M 1s
2250K .......... .......... .......... .......... .......... 57% 2.32M 1s
2300K .......... .......... .......... .......... .......... 59% 2.05M 1s
2350K .......... .......... .......... .......... .......... 60% 2.57M 1s
2400K .......... .......... .......... .......... .......... 61% 2.32M 1s
2450K .......... .......... .......... .......... .......... 62% 632K 1s
2500K .......... .......... .......... .......... .......... 64% 17.6M 1s
2550K .......... .......... .......... .......... .......... 65% 699M 1s
2600K .......... .......... .......... .......... .......... 66% 1.82M 1s
2650K .......... .......... .......... .......... .......... 67% 12.2M 1s
2700K .......... .......... .......... .......... .......... 69% 2.23M 1s
2750K .......... .......... .......... .......... .......... 70% 3.37M 0s
2800K .......... .......... .......... .......... .......... 71% 2.31M 0s
2850K .......... .......... .......... .......... .......... 72% 2.26M 0s
2900K .......... .......... .......... .......... .......... 74% 2.21M 0s
2950K .......... .......... .......... .......... .......... 75% 2.43M 0s
3000K .......... .......... .......... .......... .......... 76% 2.22M 0s
3050K .......... .......... .......... .......... .......... 77% 2.32M 0s
3100K .......... .......... .......... .......... .......... 79% 2.20M 0s
3150K .......... .......... .......... .......... .......... 80% 2.33M 0s
3200K .......... .......... .......... .......... .......... 81% 2.34M 0s
3250K .......... .......... .......... .......... .......... 82% 2.33M 0s
3300K .......... .......... .......... .......... .......... 84% 2.22M 0s
3350K .......... .......... .......... .......... .......... 85% 2.18M 0s
3400K .......... .......... .......... .......... .......... 86% 2.47M 0s
3450K .......... .......... .......... .......... .......... 88% 2.22M 0s
3500K .......... .......... .......... .......... .......... 89% 2.34M 0s
3550K .......... .......... .......... .......... .......... 90% 2.31M 0s
3600K .......... .......... .......... .......... .......... 91% 2.33M 0s
3650K .......... .......... .......... .......... .......... 93% 2.31M 0s
3700K .......... .......... .......... .......... .......... 94% 2.01M 0s
3750K .......... .......... .......... .......... .......... 95% 2.42M 0s
3800K .......... .......... .......... .......... .......... 96% 2.57M 0s
3850K .......... .......... .......... .......... .......... 98% 2.20M 0s
3900K .......... .......... .......... .......... .......... 99% 2.23M 0s
3950K .......... .......... ...... 100% 2.50M=1.7s
2018-01-20 07:11:54 (2.32 MB/s) - ‘install-tl-unx.tar.gz’ saved [4071742/4071742]
--2018-01-20 07:11:54-- https://github.com/yihui/tinytex/raw/master/tools/texlive.profile
Resolving github.com (github.com)... 192.30.255.112, 192.30.255.113
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.githubusercontent.com/yihui/tinytex/master/tools/texlive.profile [following]
--2018-01-20 07:11:55-- https://raw.githubusercontent.com/yihui/tinytex/master/tools/texlive.profile
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.228.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 295 [text/plain]
Saving to: ‘texlive.profile’
0K 100% 12.3M=0s
2018-01-20 07:11:56 (12.3 MB/s) - ‘texlive.profile’ saved [295/295]
Automated TeX Live installation using profile: ../texlive.profile
Loading http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpdb
Installing TeX Live 2017 from: http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet (not verified)
Platform: x86_64-linux => 'GNU/Linux on x86_64'
Distribution: net (downloading)
Using URL: http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet
Directory for temporary files: /tmp/yKwnP57M0C
Installing to: ./
Installing [1/7, time/total: ??:??/??:??]: hyphen-base [22k]
Installing [2/7, time/total: 00:00/00:00]: kpathsea [31k]
Installing [3/7, time/total: 00:00/00:00]: kpathsea.x86_64-linux [46k]
Installing [4/7, time/total: 00:00/00:00]: tetex [70k]
Installing [5/7, time/total: 00:00/00:00]: tetex.x86_64-linux [1k]
Installing [6/7, time/total: 00:00/00:00]: texlive.infra [203k]
Installing [7/7, time/total: 00:00/00:00]: texlive.infra.x86_64-linux [90k]
Time used for installing the packages: 00:00
running mktexlsr ./texmf-dist ...
writing fmtutil.cnf to ./texmf-dist/web2c/fmtutil.cnf
writing updmap.cfg to ./texmf-dist/web2c/updmap.cfg
writing language.dat to ./texmf-var/tex/generic/config/language.dat
writing language.def to ./texmf-var/tex/generic/config/language.def
writing language.dat.lua to ./texmf-var/tex/generic/config/language.dat.lua
running mktexlsr ./texmf-var ./texmf-config ./texmf-dist ...
running updmap-sys --nohash ...done
re-running mktexlsr ./texmf-var ./texmf-config ...
pre-generating all format files, be patient...
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-strict --all ...done
running package-specific postactions
finished with package-specific postactions
Logfile: ./install-tl.log
tlmgr: setting default package repository to http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet
tlmgr: package repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
tlmgr: no updates available
tlmgr: package repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
[1/19, ??:??/??:??] install: babel [134k]
[2/19, 00:01/01:29] install: cm [233k]
[3/19, 00:01/00:32] install: etex [12k]
[4/19, 00:01/00:31] install: knuth-lib [30k]
[5/19, 00:01/00:29] install: latex [161k]
[6/19, 00:01/00:21] install: latex-bin.x86_64-linux [1k]
[7/19, 00:01/00:21] install: latex-bin [1k]
[8/19, 00:01/00:21] install: latex-fonts [18k]
[9/19, 00:01/00:20] install: latexconfig [5k]
[10/19, 00:01/00:20] install: luatex.x86_64-linux [3442k]
[11/19, 00:03/00:08] install: luatex [13k]
[12/19, 00:03/00:08] install: pdftex.x86_64-linux [763k]
[13/19, 00:04/00:09] install: pdftex [36k]
[14/19, 00:04/00:09] install: plain [60k]
[15/19, 00:04/00:09] install: tex-ini-files [4k]
[16/19, 00:04/00:09] install: unicode-data [220k]
[17/19, 00:04/00:09] install: xetex.x86_64-linux [6880k]
[18/19, 00:07/00:07] install: xetex [7k]
[19/19, 00:07/00:07] install: xetexconfig [1k]
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
regenerating fmtutil.cnf in /tmp/texlive/texmf-dist
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine xetex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine xetex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine luatex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine luatex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine luajittex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine luajittex.
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine pdftex ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --no-error-if-no-format --byengine pdftex.
tlmgr: package log updated: /tmp/texlive/texmf-var/web2c/tlmgr.log
tlmgr: package repository http://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/tlnet (not verified: gpg unavailable)
[1/49, ??:??/??:??] install: amscls [32k]
[2/49, 00:00/00:00] install: amsfonts [3542k]
[3/49, 00:02/00:11] install: amsmath [30k]
[4/49, 00:02/00:11] install: bibtex.x86_64-linux [70k]
[5/49, 00:02/00:10] install: bibtex [15k]
[6/49, 00:02/00:10] install: booktabs [3k]
[7/49, 00:02/00:10] install: caption [32k]
[8/49, 00:02/00:10] install: dvipdfmx.x86_64-linux [2k]
[9/49, 00:02/00:10] install: dvipdfmx [27k]
[10/49, 00:02/00:10] install: ec [258k]
[11/49, 00:03/00:15] install: etoolbox [8k]
[12/49, 00:03/00:15] install: euenc [4k]
[13/49, 00:03/00:15] install: fancyvrb [12k]
[14/49, 00:03/00:15] install: fontspec [26k]
[15/49, 00:03/00:14] install: framed [8k]
[16/49, 00:03/00:14] install: geometry [9k]
[17/49, 00:03/00:14] install: glyphlist [25k]
[18/49, 00:03/00:14] install: graphics [15k]
[19/49, 00:03/00:14] install: graphics-cfg [2k]
[20/49, 00:03/00:14] install: graphics-def [10k]
[21/49, 00:03/00:14] install: gsftopk.x86_64-linux [40k]
[22/49, 00:03/00:14] install: gsftopk [4k]
[23/49, 00:03/00:14] install: hyperref [106k]
[24/49, 00:03/00:14] install: ifluatex [3k]
[25/49, 00:03/00:14] install: iftex [2k]
[26/49, 00:03/00:14] install: ifxetex [2k]
[27/49, 00:03/00:14] install: l3kernel [125k]
[28/49, 00:03/00:13] install: l3packages [19k]
[29/49, 00:03/00:13] install: lm [11651k]
[30/49, 00:10/00:12] install: lualibs [72k]
[31/49, 00:12/00:14] install: luaotfload.x86_64-linux [1k]
[32/49, 00:12/00:14] install: luaotfload [432k]
[33/49, 00:12/00:14] install: makeindex.x86_64-linux [47k]
[34/49, 00:12/00:14] install: makeindex [5k]
[35/49, 00:12/00:14] install: mathspec [10k]
[36/49, 00:12/00:14] install: metafont.x86_64-linux [186k]
[37/49, 00:12/00:14] install: metafont [33k]
[38/49, 00:12/00:14] install: mfware.x86_64-linux [118k]
[39/49, 00:12/00:14] install: mfware [4k]
[40/49, 00:12/00:14] install: natbib [17k]
[41/49, 00:12/00:14] install: oberdiek [221k]
[42/49, 00:12/00:14] install: tipa [2809k]
[43/49, 00:14/00:14] install: titling [3k]
[44/49, 00:14/00:14] install: tools [39k]
[45/49, 00:14/00:14] install: upquote [2k]
[46/49, 00:14/00:14] install: url [6k]
[47/49, 00:14/00:14] install: xkeyval [13k]
[48/49, 00:14/00:14] install: xunicode [26k]
[49/49, 00:14/00:14] install: zapfding [46k]
running mktexlsr ...
done running mktexlsr.
running updmap-sys ...
done running updmap-sys.
regenerating fmtutil.cnf in /home/xiangyun/.TinyTeX/texmf-dist
running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt mf ...
done running fmtutil-sys --no-error-if-no-engine=luajittex,mfluajit --byfmt mf.
tlmgr: package log updated: /home/xiangyun/.TinyTeX/texmf-var/web2c/tlmgr.log
TinyTeX installed to /home/xiangyun/.TinyTeX
Warning message:
In normalizePath("~/bin") :
path[1]="/home/xiangyun/bin": No such file or directory
> packageVersion('tinytex')
[1] ‘0.2.15’
只是在最后的时候有个警告,不知为什么?事实上,目录 /home/xiangyun/bin
是存在的