Skip to content

asmode.integer() -- RFC

1 message · Brian Ripley

#
worth to
What the help page says is

     The two assignment versions are currently identical.
                                     ^^^^^^^^^

and I am not sure we want that to remain so, nor should we assume so.
I think R's use of all of mode and typeof and storage.mode is confusing,
especially as the first and third are diluted versions of the second.
(Without looking, how many of you know the exact differences?)


asmode.integer(x)  and (storage.mode(x) <- "integer"; x)  seem to be to
just be (in R) cumbersome ways to do

structure(as.integer(x), attributes(x))
Sooner than you might think.  What was announced as the last ever
release of a version of S-PLUS based on Svr3 was released a few days ago.
The future there is S-PLUS 6.x and Svr4 only.