Home Comments Thread
New Thread

3 Comments

giscus-bot giscus-bot 2022-12-17 05:42:22
Guest *Jizhou Zhang* @ 2019-04-17 03:51:45 originally posted:

Hi Yihui, thanks for providing such great help for people who have problem with R Markdown. I'm pretty new to r markdown and found this website after I came into the problem "! LaTeX Error: File `framed.sty' not found."
Given your instructions, I tried to uninstall my TeX Live but got the error:
'tlmgr conf auxtrees remove '/Library/Frameworks/R.framework/Resources/share/texmf'
tlmgr: no auxiliary texmf trees defined, so nothing removed
tlmgr: action conf returned an error; continuing.
tlmgr: An error has occurred. See above messages. Exiting.
tlmgr path remove'. May I ask how I can deal with it?
Thanks.

And my sessionInfo():
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6

yihui yihui 2022-12-17 05:42:25

Please first try to update all your packages: https://yihui.name/en/2017/05/when-in-doubt-upgrade/

Then install TinyTeX following the instructions at https://yihui.name/tinytex/

Originally posted on 2019-04-17 13:37:28

giscus-bot giscus-bot 2022-12-17 05:42:23
Guest *john liang* @ 2020-10-13 12:26:41 originally posted:

Hi Yihui,

When I use xelatex as the latex_engine in Beamer in Rmarkdown (use xelatex because I need to include Chinese character in my beamer slides), the bullets for itemise just disappears, and the numbering of a numbered list also disappears.

Could you please help me deal with this? I struggle to find a solution on Google.

Thanks a lot

giscus-bot giscus-bot 2022-12-17 05:42:24
访客 *Cin Chi* @ 2022-01-15 03:00:21 写道:

Hello yihui,
When I install Tinytex, I cant runtinytex::install_tinytex(), one error shows that 试开url ’https://yihui.org/tinytex/TinyTeX.tgz' % total % received % xferd average speed time time time current dload upload total spent left speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) ssl certificate problem: certificate has expired more details here: https://curl.haxx.se docs sslcerts.html curl performs ssl certificate verification by default, using a "bundle" of certificate authority (ca) public keys (ca certs). if the default bundle file isn't adequate, you can specify an alternate file using the --cacert option. if this https server uses a certificate signed by a ca represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the url). if you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option. https-proxy has similar options --proxy-cacert and --proxy-insecure. error in xfun::download_file(..., quiet="Sys.getenv("APPVEYOR")" ! ) : no download method works (auto wininet wget curl lynx)

could please help me to fix this problem?

yihui yihui 2022-12-17 05:42:26

Sorry but I'm unable to help you without you providing your xfun::session_info('tinytex') first. I guess your R packages are out of date. Please update them first: https://yihui.org/en/2017/05/when-in-doubt-upgrade/

Originally posted on 2022-01-15 16:26:29

giscus-bot giscus-bot 2022-12-17 05:42:27
访客 *Cin Chi* @ 2022-01-15 18:51:39 写道:

Thank you!
But I have tried it, it still does not work. it shows

试开URL’<https://cran.rstudio.com/src/contrib/nlme_3.1-155.tar.gz>'  
Content type 'application/x-gzip' length 806854 bytes (787 KB)  
==================================================  
downloaded 787 KB

* installing *source* package ‘nlme’ ...  
** package ‘nlme’ successfully unpacked and MD5 sums checked  
** using staged installation  
** libs  
gfortran -mmacosx-version-min=10.13 -fno-optimize-sibling-calls -fPIC -Wall -g -O2 -c chol.f -o chol.o  
make: gfortran: No such file or directory  
make: *** [chol.o] Error 1  
ERROR: compilation failed for package ‘nlme’  
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/nlme’  
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/nlme’

The downloaded source packages are in  
‘/private/var/folders/gs/cxjvkpdn71d68dq3_g2ndb0w0000gn/T/Rtmp0RsYQ2/downloaded_packages’  
Warning message:  
In install.packages(update[instlib == l, "Package"], l, repos = repos, :  
installation of package ‘nlme’ had non-zero exit status

Sign in to join the discussion

Sign in with GitHub