LateX输出的相关设置

安装tinyTeX

参看谢益辉TinyTeX

  1. 安装tinytex
install.packages('tinytex')
tinytex::install_tinytex()
  1. 测试并调用tlmgr命令安装latex包
writeLines(c(
   '\\documentclass{article}',
   '\\begin{document}', 'Hello world!', '\\end{document}'
 ), 'test.tex')
tinytex::pdflatex('test.tex')
Avatar
Hu Huaping
Doctor of Agricultural Economic and Management

My research interests include Data Science, Statistics, Agricultural Economics and Management.

comments powered by Disqus

Related