[R] Help in defining vectors

Jinyan Huang jinyan.fr at gmail.com
Sun Dec 12 12:09:18 CET 2010


try
a<-c(1,2)

On Sun, Dec 12, 2010 at 10:57 AM, skd <warabull at gmail.com> wrote:
>
> I am completely new to R .
> while defining a vector  i get these following messages
>
>  c<-a(1,2)
> Error: could not find function "a"
>
> or
>
>  c=a(1,2)
> Error: could not find function "a"
>
> Kindly advice, how to get rid of this.
> Thanks!
>
> --
> View this message in context: http://r.789695.n4.nabble.com/Help-in-defining-vectors-tp3084142p3084142.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



More information about the R-help mailing list