Re: [Rd] Getting the name of a SEXP type in package code?

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Wed 08 Nov 2006 - 15:34:33 GMT

Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:

> type2char is itself a fairly recent addition (there is also type2str,
> which is older) that I found useful for improving messages in R
> itself.
>
> I have not encountered such a need in package code, but the function
> is exported.
>
> This is not a request to move type2char from Defn.h to Rinternals.h,
> and I don't understand why not: what else is needed?

Because the dog ate that sentance. Moving type2char to Rinternals.h is all that is needed -- and type2str would be useful as well.

+ seth



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Nov 10 06:41:57 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 10 Nov 2006 - 02:30:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.