From Martin Maechler <maechler@stat.math.ethz.ch>  Wed Jan  7 15:50:59 1998
From: Martin Maechler <maechler@stat.math.ethz.ch> (Martin Maechler)
Date: Wed, 7 Jan 1998 16:50:59 +0100
Subject: R-beta: sequences -- asReal(.) ?
In-Reply-To: <9801071055.AA14982@alpha.luc.ac.be> (message from Jim Lindsey on
 Wed, 7 Jan 1998 11:55:12 +0100 (MET))
Message-ID: <199801071550.QAA04539@sophie.ethz.ch>

[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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


R-beta: sequences -- asReal(.) ?
Martin Maechler