I want to use LaTeX in RStudio with Sweave. However, I run into problems with using MiKTeX (see Ref). As I couldn't solve these issues I want use TinyTeX now. I installed TinyTeX in RStudio:
install.packages('tinytex')
tinytex::install_tinytex()
However, I couldn't figure out where to tell RStudio that it should use TinyTeX instead of MiKTeX when I want to compile a PDF based on a Rnw file. I checked the global options, but couldn't find what I was looking for. I am aware that it is recommended to unistall MiKTeX if using TinyTeX, but I want to keep both on my computer.
There should be a way if I read the conclusion of this discussion correctly: Ref.
Note: RStudio version: 1.4.1717.