R-alpha: funny behavior of data(.)

Martin Maechler Martin Maechler <maechler@stat.math.ethz.ch>
Tue, 24 Jun 1997 09:21:56 +0200


This is wierd....

It looks like the problem appears when  data(..) is immediately followed 
by another statement USING ``;''
		     -----------	
 rm(list=ls())
 data(phones); summary(phones)
	Error: Object "phones" not found
 ls()
	character(0)

Or also

 ls()
	character(0)
 data(pigs); 1:10
			##-- nothing is printed, but here 'pigs' is sourced
 ls()
	[1] "pigs"


--------------
Could it be a parser bug of  `` expr1 ; expr2 '' ??




=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-