Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-06 Thread Dirk Eddelbuettel
On 5 March 2021 at 15:41, Duncan Murdoch wrote: | On 05/03/2021 2:40 p.m., Henrik Bengtsson wrote: | > Thank you. Glad to hear it's useful. | > | > This plain TeX/LaTeX vignette engine is implemented using base R. If | > someone is willing to drive the efforts, I think it's not too much | > wor

Re: [R-pkg-devel] testing for NaN in C++ code

2021-03-06 Thread Dirk Eddelbuettel
On 5 March 2021 at 21:07, Ben Bolker wrote: |Thanks! Now I see this is in Writing R Extensions, should have | looked more carefully ... There is also a very good (and frequently linked-to) post by Kevin on SO which lists the different ways in the C API of R, and the Rcpp wrapper which aims

Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-06 Thread Rolf Turner
On Sat, 6 Mar 2021 08:12:40 -0600 Dirk Eddelbuettel wrote: > All the while we all carry on and just slap the four or five lines > onto the file make it an Sweave vignette _without any executed code_ > which works in base R today as a proxy for pure LaTeX, just as it has > for 25 or so years.

Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-06 Thread Dirk Eddelbuettel
On 7 March 2021 at 12:54, Rolf Turner wrote: | Dirk Eddelbuettel wrote: | By "in base R" do you mean that one can do this *without* invoking | the R.rsp package? Exactly. Zero added dependencies. | What I understand you to be saying is that you can add four or five | lines to a *.tex file in