I'd rather say that it is good reason to use spaces around operators. Makes the code easier to read too. (_Possible_ to read for some.)
We've probably all done it. I did, once upon a time in S-Plus, on the results of a multi-day simulation study: > <<nontrivial analysis>>$statistic [1] -1.28 > sim <- sapply(1:10000, <<simulated nontrivial analysis>>$statistic) . . leave running . > mean(sim<-1.28) # get empirical p-value [1] 1.28 ??!?... Uh-oh..... On 02 Feb 2015, at 02:26 , Steve Taylor <steve.tay...@aut.ac.nz> wrote: > All the more reason to use = instead of <- > > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: pd....@cbs.dk Priv: pda...@gmail.com ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.