-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/03/12 15:05, Sarah Goslee wrote:
>>> It's also a really good reason to use [[ in functions or anywhere there 
>>> might be a chance
>>> of confusion.
>> 
>> Absolutely - I think I have to change my habit. I always prefered using $ as 
>> it seemed to me
>> more logical.
> 
> I started out that way because it's shorter and nicer-looking code,

absolutely.

> but it can cause partial-matching problems,

It did just for me...

> and also LaTeX annoyances in Sweave code.

Good to know - I'll keep that in mind.

> Someday I'll go back through my packages and get rid of all the lingering $.
> 
> R: lots of ways to do the same thing, but some of them are booby-trapped.

Absolutely - but isn't that the fun part of R?

Rainer

> 
> Sarah
> 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, 
UCT), Dipl. Phys.
(Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      rai...@krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9jTCoACgkQoYgNqgF2egp7yQCeJOSxxKSeFjYtCxucxYSj8MtU
bbAAni6vsxE7Rm14luVg41tUT34/LcZ+
=Tw5l
-----END PGP SIGNATURE-----

______________________________________________
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