[R] Code editor for writing R code

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Wed Nov 29 20:08:06 CET 2023


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.christofer using 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.sergei using gmail.com> wrote:
>>>
>>> TeX Comments extension in VS Code
>>>
>>>
>>>
>>>
>>> Sent from my phone
>>>
>>>
>>> -------- Original message --------
>>> From: Christofer Bogaso <bogaso.christofer using gmail.com>
>>> Date: Wed, 29 Nov 2023, 15:57
>>> To: r-help <r-help using 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 using 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 using 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 using 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.



More information about the R-help mailing list