On Fri, 13 Nov 2009, milton ruser wrote:

Hi Ana, you did again :-)

require(fortunes)
fortune("dog")
Firstly, don't call your matrix 'matrix'. Would you call your dog 'dog'?
Anyway, it might clash with the function 'matrix'.
  -- Barry Rowlingson
     R-help (October 2004)
if you call your data "data" you will crach data() function.


No. It won't.  Except in some fairly unusual circumstances, R can distinguish 
functions from other objects and find the one it needs.

The point is that code will usually be easier to read if you have different 
names for different things.

     -thomas


Thomas Lumley                   Assoc. Professor, Biostatistics
tlum...@u.washington.edu        University of Washington, Seattle

______________________________________________
R-help@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.

Reply via email to