Hello I notice that in Linux the "=" operator works like the "<-" operator So a=3 is similar to a<-3. Could you please verify me that is correct? I would like to use "=" operator. Do you think that might be a problem in the future? Best Regards Alex
Check the mail archieve on this; there has been a long discussion. To avoid trouble in the future, use "<-" as the assignment operator. On Mon, Jul 26, 2010 at 9:51 AM, Alaios <alaios at yahoo.com> wrote:> Hello > I notice that in Linux the "=" operator works like the "<-" operator > So a=3 is similar to a<-3. > Could you please verify me that is correct? I would like to use "=" operator. Do > you think that might be a problem in the future? > > Best Regards > Alex > > ______________________________________________ > 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. >-- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem that you are trying to solve?
Hi, Just as an example, here are three threads that discuss it. http://www.mail-archive.com/r-help at r-project.org/msg16881.html http://r.789695.n4.nabble.com/advice-opinion-on-vs-in-teaching-R-td1014502.html#a1014502 http://www.mail-archive.com/r-help at r-project.org/msg100034.html Cheers, Josh On Mon, Jul 26, 2010 at 6:51 AM, Alaios <alaios at yahoo.com> wrote:> Hello > I notice that in Linux the "=" operator works like the "<-" operator > So a=3 is similar to a<-3. > Could you please verify me that is correct? I would like to use "=" operator. Do > you think that might be a problem in the future? > > Best Regards > Alex > > ______________________________________________ > 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. >-- Joshua Wiley Ph.D. Student, Health Psychology University of California, Los Angeles http://www.joshuawiley.com/