Re: [R] knitr and tinytex

2023-04-28 Thread Steven Yen
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  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.


Re: [R] knitr and tinytex

2023-04-27 Thread Dr Eberhard Lisse
Open the script in RSTudio which should ask you whether you want to
install (the) missing packages.

el



On 27/04/2023 02:26, Steven T. Yen 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!
> 

-- 
To email me replace 'nospam' with 'el'

__
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.


[R] knitr and tinytex

2023-04-26 Thread Steven T. Yen

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!


__
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.