Re: [R-pkg-devel] How to write a 'cases' environment in .Rd files?

2022-09-09 Thread matthias-gondan
I am currently developing an R package that translates R expressions to Html and Latex, things like dbinom(x, size, prob) to P\left(x; N, \pi\right)Generation of Rd files may be an interesting use case. It's still at an early stage, I appreciate contributions and interesting feature requests.gi

Re: [R-pkg-devel] Error checking in an independent C code and printing (perror, printf, etc.)

2022-09-09 Thread Jiří Moravec
I was hoping that you will tell me that R takes control of the C's stderr and stdout. That would make stuff easier. But I guess that is not really possible. I went the way suggested before and created an enum of error codes and a (static) const char* array of error messages. When reading abo