[R] Odd behaviour of removing 'nothing' from an array or data frame

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Tue Oct 31 17:28:37 CET 2006


Thanks to all for the swift replies.  I'm willing to concede that changing 
the behaviour of [-integer(0)] is probably going to end in tears, so I'll 
stop arguing.

I've added a quick note on the traps page of the R wiki to explain things; 
feel free to expand upon it.
http://wiki.r-project.org/rwiki/doku.php?id=tips:surprises:traps

Regards,
Richie.

Mathematical Sciences Unit
HSL
Buxton
SK17 9JN
01298 21(x8672)


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential informatio...{{dropped}}



More information about the R-help mailing list