Skip to content
Prev 8363 / 63421 Next

behavior of =

FWIW, presuming that you and your students may be using an external
editor that supports syntax highlighting for coding, you can set up the
highlighting such that the assigment operators are specifically colored
to make them more readily visible. I recall a discussion here akin to
this earlier this year when the "_" assignment operator subject came up.

I am presently using Multi-Edit 9 under WinXP Pro, but am in the process
of switching to Linux and am still wrestling with (X)ESS vs.gVim vs
running Multi-Edit using Wine, but that's another issue.

In either case, I have set up the syntax highlighting in Multi-Edit such
that the assignment operators are bolded and colored red to stand out
against surrounding code. This has helped me greatly in avoiding exactly
the type of error that you are discussing and has saved me much time in
debugging code.

Marc


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._