Here’s what I found:
Running the line commands

install.packages("knitr")
install.packages('tinytex')

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 <st...@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]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to