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!
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'
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 <Styen at 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]]