[Rd] Why does not the command 'length(a <- 1:5) <- 4' not work?

From: Charles Dupont <charles.dupont_at_vanderbilt.edu>
Date: Tue 16 Jan 2007 - 18:24:03 GMT


when running the command
> length(a <- 1:5) <- 4

there are two responses.

If 'a' does not exist then the response is

Error in length(a <- 1:5) <- 4 : object "a" not found

If 'a' does exist then the response is

Error in length(a <- 1:5) <- 4 : could not find function "<-<-"

I would assume that 'length(a <- 1:5) <- 4' should work because 'length(a <- 1:5)' does work.

Thank you for your help.

Charles Dupont

-- 
Charles Dupont	Computer System Analyst		School of Medicine
		Department of Biostatistics	Vanderbilt University

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed Jan 17 05:29:00 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 16 Jan 2007 - 19:32:52 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.