try
a<-c(1,2)

On Sun, Dec 12, 2010 at 10:57 AM, skd <[email protected]> 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.
>
> ______________________________________________
> [email protected] 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.
>

______________________________________________
[email protected] 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.

Reply via email to