How to point RStudio (Quarto) to latex packages

Hi,

I am trying to use my own installation of TexLive with Quarto.

I have directed Rstudio to the binaries by including the directory in the PATH variable in R/etc/Renviron.site. That bit is ok.

But I get the error

finding package for scrartcl.cls

compilation failed- no matching packages
LaTeX Error: File `scrartcl.cls' not found.

So it seems that it is unable to locate packages. I have checked and this package exists in the koma-script package in my TexLive.

How do I direct R, Quarto or Rstudio to the packages? I tried adding it to the PATH too and nothing. Didn't expect that to work, though.

Thanks.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.