Re: [R] Code editor for writing R code

2023-11-30 Thread Dr Eberhard W Lisse
Sublime Text. On all platforms. On 29/11/2023 17:57, Christofer Bogaso 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

Re: [R] Code editor for writing R code

2023-11-30 Thread Ivan Krylov
В Wed, 29 Nov 2023 21:27:37 +0530 Christofer Bogaso пишет: > Does there exist any Code editor for R, that allows me to write Latex > in comments? While I cannot guarantee that you'll like it, may I suggest GNU Emacs? Its R support is provided by the ESS package , and

Re: [R] Code editor for writing R code

2023-11-29 Thread Duncan Murdoch
Ko wrote: TeX Comments extension in VS Code Sent from my phone Original message From: Christofer Bogaso Date: Wed, 29 Nov 2023, 15:57 To: r-help 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

Re: [R] Code editor for writing R code

2023-11-29 Thread Jeff Newmiller via R-help
> > >> > >> > Original message >> > From: Christofer Bogaso >> > Date: Wed, 29 Nov 2023, 15:57 >> > To: r-help >> > Subject: [R] Code editor for writing R code >> > >> > Hi, >> > >> > Curr

Re: [R] Code editor for writing R code

2023-11-29 Thread Eric Berger
Wed, Nov 29, 2023 at 9:34 PM Sergei Ko wrote: > > > > TeX Comments extension in VS Code > > > > > > > > > > Sent from my phone > > > > > > Original message ---- > > From: Christofer Bogaso > > Date: Wed, 29

Re: [R] Code editor for writing R code

2023-11-29 Thread Christofer Bogaso
Wed, 29 Nov 2023, 15:57 > To: r-help > 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 correspon

Re: [R] Code editor for writing R code

2023-11-29 Thread Bert Gunter
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 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

Re: [R] Code editor for writing R code

2023-11-29 Thread Bert Gunter
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

Re: [R] Code editor for writing R code

2023-11-29 Thread Eric Berger
Another direction would be to replace your R script (.R file) with a Quarto document (.qmd file). VS-code has good support for Quarto and you could intersperse your Latex with R chunks. On Wed, Nov 29, 2023 at 6:15 PM Ben Bolker wrote: > > > >Presumably there's nothing stopping you

Re: [R] Code editor for writing R code

2023-11-29 Thread Ben Bolker
Presumably there's nothing stopping you *writing* LaTeX in comments -- do you want a code editor that will render and display the LaTeX as you write? (Or am I misunderstanding something?) Does anyone do classic literate programming *sensu* Knuth any more?

[R] Code editor for writing R code

2023-11-29 Thread Christofer Bogaso
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