# R-beta: sequences -- asReal(.) ?

**Martin Maechler
**
Martin Maechler <maechler@stat.math.ethz.ch>

*Wed, 7 Jan 1998 16:50:59 +0100*

[diverted from R-help to R-devel]
>>>>>* "Jim" == Jim Lindsey <jlindsey@luc.ac.be> writes:
*
Jim> 1. The change of sequences from reals to integers has created a
Jim> number of problems. I already mentioned this earlier on the list
Jim> but here is another example: contour(1:10,1:10,z) where z is an
Jim> appropriate matrix, does not work. After searching quite a while,
Jim> I discovered in the C code that contour checks for reals and does
Jim> not allow integers. Someone is going to have through all the C
Jim> code and change checks for reals to numeric anywhere where
Jim> sequences might be used.
Sequences are not the only integer variables in R, even though probably the
most frequent ones.
I wonder, too what to do.
There is the asReal(.) macro which could be used instead of REAL(.),
but I wonder if this is the correct approach.
Ross ?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._