This might be of use to you: https://everyday.codes/tutorials/how-to-use-latex-in-rmarkdown/
-- Bert On Wed, Nov 29, 2023 at 8:21 AM Bert Gunter <[email protected]> wrote: > > I believe RMarkdown can use and render latex comments. RStudio/Posix > provides ide extensions (e.g. R Notebooks) that seem to do what you > want, but I have no experience with them. As Ben suggested, there are > likely others, depending on exactly what you want to do. > > -- Bert > > On Wed, Nov 29, 2023 at 7:58 AM Christofer Bogaso > <[email protected]> wrote: > > > > Hi, > > > > Currently I use VS-Code to write codes in R. While it is very good, it > > does not allow me to write Latex expressions in comments, which I am > > willing to have to write corresponding mathematical expressions as > > comments in my code files. > > > > Does there exist any Code editor for R, that allows me to write Latex > > in comments? > > > > Any information will be appreciated. > > > > Thanks, > > > > ______________________________________________ > > [email protected] 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. ______________________________________________ [email protected] 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.

