Thanks Rich for pointing me to the thoughts of Bill Venables and Brian Ripley 
(the great men of S-plus and R).
 
Yes, I have become lazy as Bill says in the link you pointed out. I am 
certainly of the old school where I use <- in my normal coding in functions 
etc,  <<- for assigning a variable to global environment, and = for arguments 
in a  function.
 
This new and easy RExcel approach made me think I could get away with = because 
it just looks easier. It seems to be stable for me?
 
Also OpenOffice changes my <- to an arrow and hence another reason I tried 
this. I guess I can change the setting in openoffice calc to not change the <- 
to an arrow?
 
Again, I appreciate your time and kind words. I think I am trying to young and 
reckless! Happens when you just hit 40X !!!
 
Kind regards,
M.
 
 
 
Mario F. D'Antuono
Biometrics Unit
Department of Agriculture and Food
Government of Western Australia
------------------------------------------------
Address: 3 Baron-Hay Court, South Perth  WA  6151
Postal: Locked Bag 4, Bentley Delivery Centre  WA  6983 
Telephone: (08) 9368 3848 International +61+8+9368 3848
Fax (08) 9368 2958
Mobile: 0400 576 764
http://www.agric.wa.gov.au/biometrics



________________________________

From: [EMAIL PROTECTED] on behalf of Richard M. Heiberger
Sent: Mon 06-Oct-08 9:27 PM
To: R(D)COM and RExcel server related issues
Subject: Re: [Rcom-l] More on Get R output and whydoes it echo so much in 1 
pass?



> x <- 1:5
> y <- 6:10
> plot(x=x, y=y)
> plot(y, x)
> plot(x=y, y=x)
> x
[1] 1 2 3 4 5
> y
[1]  6  7  8  9 10
> plot(x<-y, y<-x)
> x
[1]  6  7  8  9 10
> y
[1]  6  7  8  9 10
>

>From this example, you see that "=" and "<-" have different
behaviors inside argument lists.  Check the archives for
other examples and discussion.

RSiteSearch('What to use for assignment, " = " or " <- "?')

brings up several threads including this post from Bill Venables

http://finzi.psych.upenn.edu/R/Rhelp02a/archive/126700.html


Rich
_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at 
<http://rcom.univie.ac.at/> 




This e-mail and files transmitted with it are privileged and confidential 
information 
intended for the use of the addressee. The confidentiality and/or privilege in 
this e-mail is 
not waived, lost or destroyed if it has been transmitted to you in error. If 
you received this 
e-mail in error you must 
(a) not disseminate, copy or take any action in reliance on it; 
(b) please notify the Department of Agriculture and Food, WA immediately by 
return e-mail to the sender; 
(c) please delete the original e-mail.

This email has been successfully scanned by
McAfee Anti-Virus software.
Department of Agriculture and Food WA

<<winmail.dat>>

_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to