[R] attached file with syntax error

(Ted Harding) Ted.Harding at nessie.mcc.ac.uk
Fri May 20 15:09:27 CEST 2005


On 20-May-05 Eric Lecoutre wrote:
> 
> Well...
> 
> You just can't end vector declaration with a comma...
> 
>> x <- c(0,1,)
> Error: syntax error
>> x <- c(0,1)
> 
> Eric

Well, maybe some people can't achieve that, but I can:

> x<-c(1,2,3,)
> x
[1] 1 2 3

(on both R-1.8.0 and R-2.1.0beta)

Best wishes to all,
Ted.


--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 20-May-05                                       Time: 14:07:14
------------------------------ XFMail ------------------------------




More information about the R-help mailing list