On 29/11/2023 1:29 p.m., Eric Berger wrote:
Bert,
Posit (formerly RStudio) has moved from RMarkdown to Quarto. They
still support RMarkdown but major new features will be in Quarto. For
new users a better choice would be Quarto.
See https://quarto.org/docs/faq/rmarkdown.html

I'm not sure about that advice.  Quarto has some bad design choices.

For example, these lines: https://github.com/quarto-dev/quarto-cli/blob/3c9950947871ceafa54de909b15077cd54e27efe/src/resources/rmd/patch.R#L159-L184 have them faking S3 dispatch, but doing it really badly. They worked around an issue I reported last year (https://github.com/quarto-dev/quarto-cli/issues/1800), but with a design like that, there will be other issues.


Secondly, the OP stated he was using the VS-Code IDE, so there is no
reason to point him to the Posit/RStudio IDE for this functionality
which VS-Code supports very well (as I noted in my response.)

The original question did ask for recommendations for a different editor.

Duncan Murdoch


Best,
Eric

On Wed, Nov 29, 2023 at 6:55 PM Christofer Bogaso
<bogaso.christo...@gmail.com> wrote:

Hi Sergei,

Where can I find TeX Comments extension in VS Code?

On Wed, Nov 29, 2023 at 9:34 PM Sergei Ko <sggp.ser...@gmail.com> wrote:

TeX Comments extension in VS Code




Sent from my phone


-------- Original message --------
From: Christofer Bogaso <bogaso.christo...@gmail.com>
Date: Wed, 29 Nov 2023, 15:57
To: r-help <r-help@r-project.org>
Subject: [R] Code editor for writing R code

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,

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

Reply via email to