Hi all,

Today I came across scoping in the R
intro<http://cran.r-project.org/doc/manuals/R-intro.html#Scope> (after
reading Robert Gentleman
fortune<http://rfortunes.posterous.com/im-always-thrilled-when-people-discover-what>
on
lexical scooping) , and am very curious about the <<- assignment.

The manual showed one (very interesting) example for "<<-", which I feel I
understood. What I am still missing is the context of when this can be
useful.

So what I would love to read from you are examples (or links to examples) on
when using "<<-" can be interesting/useful. What might be the dangers of
using it (it looks easy to loose track of), and any tips you might feel like
sharing.

Thanks,
Tal


----------------Contact
Details:-------------------------------------------------------
Contact me: [email protected] |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------

        [[alternative HTML version deleted]]

______________________________________________
[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