Re: [Rd] How to get an object name from C?

2020-01-24 Thread Michael Lawrence via R-devel
Since substitute() is implemented in C, you could look at its implementation. On Fri, Jan 24, 2020 at 1:09 AM Daniel Cegiełka wrote: > > > (earlier I sent it as html by mistake). > > Hi, > > How can I get from C an object name used as a function argument? I > have sample code in C that gives me a

[Rd] How to get an object name from C?

2020-01-24 Thread Daniel Cegiełka
(earlier I sent it as html by mistake). Hi, How can I get from C an object name used as a function argument? I have sample code in C that gives me access to the name of the function being called: SEXP xname(SEXP x) { const char *fun_name = CHAR(PRINTNAME(CAR(x))); x = CDR(x);

[Rd] matplot.Date & matplot.POSIXct

2020-01-24 Thread Spencer Graves
Hello, All:   Roughly a decade ago, I added "matplot.Date" and "matplot.POSIXct" to the "fda" package, so we could get reasonable labeling of the horizontal axis when "x" was class "Date" or "POSIXct".  I also added a local version of "matplot.default" that just changes the defaults fo