r_texmf {tinytex} | R Documentation |
R ships a custom texmf tree containing a few LaTeX style and class files,
which are required when compiling R packages manuals (‘Rd.sty’) or
Sweave documents (‘Sweave.sty’). This tree can be found under the
directory file.path(R.home('share'), 'texmf')
. This function can be
used to add/remove R's texmf tree to/from TeX Live via
tlmgr_conf('auxtrees')
.
r_texmf(action = c("add", "remove"))
action |
Add/remove R's texmf tree to/from TeX Live. |
See the tlmgr manual for detailed information about
tlmgr conf auxtrees
. Check out
https://tex.stackexchange.com/q/77720/9128 if you don't know what
texmf
means.
r_texmf("remove") r_texmf("add") # all files under R's texmf tree list.files(file.path(R.home("share"), "texmf"), recursive = TRUE, full.names = TRUE)