Re: [R] attached file with syntax error

From: Sundar Dorai-Raj <sundar.dorai-raj_at_pdf.com>
Date: Fri 20 May 2005 - 22:16:54 EST

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@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@stat.math.ethz.ch 
>>[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of bry@xdocs.dk
>>Sent: vendredi 20 mai 2005 11:39
>>To: r-help@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@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


R-help@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 Received on Fri May 20 22:58:50 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:57 EST