[R] knitr and tinytex

Steven Yen @tyen @end|ng |rom ntu@edu@tw
Fri Apr 28 10:30:42 CEST 2023

Here’s what I found:
Running the line commands


and interactively in RStudio:

Tools->Install Packages -> …

both work. Thank you!

Steven from iPhone

> On Apr 27, 2023, at 8:26 AM, Steven T. Yen <Styen using ntu.edu.tw> wrote:
> Dear tinytex users
> I install knitr and tinytex with the following line commands in RStudio and it seems to work:
> install.packages("knitr")
> install.packages('tinytex')
> In the long past I was told to also run the following lines but now they do not seem to be needed.
> #update.packages(ask = FALSE, checkBuilt = TRUE)
> #tinytex::tlmgr_update()
> #tinytex::reinstall_tinytex()
> Would running the first two lines above be adequate? Is it also OK run run in RStudio by Tool -> Install.packages? Thanks you!

	[[alternative HTML version deleted]]

More information about the R-help mailing list