[R] attached file with syntax error

Sundar Dorai-Raj sundar.dorai-raj at pdf.com
Fri May 20 14:16:54 CEST 2005


You can in R-2.1.0 Patched:

 > c(1,)
[1] 1

--sundar

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
> 
> Eric Lecoutre
> UCL /  Institut de Statistique
> Voie du Roman Pays, 20
> 1348 Louvain-la-Neuve
> Belgium
> 
> tel: (+32)(0)10473050
> lecoutre at stat.ucl.ac.be
> http://www.stat.ucl.ac.be/ISpersonnel/lecoutre
> 
> If the statistics are boring, then you've got the wrong numbers. -Edward
> Tufte   
> 
> 
> 
>>-----Original Message-----
>>From: r-help-bounces at stat.math.ethz.ch 
>>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of bry at xdocs.dk
>>Sent: vendredi 20 mai 2005 11:39
>>To: r-help at stat.math.ethz.ch
>>Subject: [R] attached file with syntax error
>>
>>
>>
>>
>>oops, I forgot to attach the example txt file with the syntax 
>>error, so I will do it here, can anyone see what the error is 
>>with bryansAtLineLevel?
>>
>>
>>
>>
> 
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list