Thomas Lumley tlum...@u.washington.edu 15/01/2010 16:07
Which should I use or does it matter, please?
I would say to use = if you are teaching people familiar with C or
Java, and to use - otherwise.
Nothing like an option to induce polarisation!
'=' is used in at least two contexts in R,
On Mon, 18 Jan 2010, S Ellison wrote:
Thomas Lumley tlum...@u.washington.edu 15/01/2010 16:07
Which should I use or does it matter, please?
I would say to use = if you are teaching people familiar with C or
Java, and to use - otherwise.
Nothing like an option to induce polarisation!
On 01/15/2010 10:08 PM, Peter Dalgaard wrote:
Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 3:45 AM, Erin Hodgesserinm.hodg...@gmail.comwrote:
Hi R People:
I'm teaching a statistical computing class using R starting next week
(yay!) and I have an opinion type question, please.
I'm old
On Fri, Jan 15, 2010 at 3:45 AM, Erin Hodgess erinm.hodg...@gmail.comwrote:
Hi R People:
I'm teaching a statistical computing class using R starting next week
(yay!) and I have an opinion type question, please.
I'm old school and use - in an assignment.
You call that 'old school'?? I
On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding
ted.hard...@manchester.ac.ukwrote:
There is at least one context where the distinction must be
preserved. Example:
pnorm(1.5)
# [1] 0.9331928
pnorm(x=1.5)
# Error in pnorm(x = 1.5) : unused argument(s) (x = 1.5)
pnorm(x-1.5)
# [1]
On 15-Jan-10 08:14:04, Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding
ted.hard...@manchester.ac.ukwrote:
There is at least one context where the distinction must be
preserved. Example:
pnorm(1.5)
# [1] 0.9331928
pnorm(x=1.5)
# Error in pnorm(x = 1.5) : unused
On Fri, Jan 15, 2010 at 2:38 PM, Ted Harding
ted.hard...@manchester.ac.uk wrote:
On 15-Jan-10 08:14:04, Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding
ted.hard...@manchester.ac.ukwrote:
There is at least one context where the distinction must be
preserved. Example:
On 15-Jan-10 09:29:16, Deepayan Sarkar wrote:
On Fri, Jan 15, 2010 at 2:38 PM, Ted Harding
ted.hard...@manchester.ac.uk wrote:
On 15-Jan-10 08:14:04, Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding
ted.hard...@manchester.ac.ukwrote:
There is at least one context where
G'day all,
On Fri, 15 Jan 2010 09:08:44 - (GMT)
(Ted Harding) ted.hard...@manchester.ac.uk wrote:
On 15-Jan-10 08:14:04, Barry Rowlingson wrote:
[...]
I would regard modifying a variable within the parameters of a
function call as pretty tasteless. What does:
foo(x-2,x)
or
Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 3:45 AM, Erin Hodgess erinm.hodg...@gmail.comwrote:
Hi R People:
I'm teaching a statistical computing class using R starting next week
(yay!) and I have an opinion type question, please.
I'm old school and use - in an assignment.
You
Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding
ted.hard...@manchester.ac.ukwrote:
There is at least one context where the distinction must be
preserved. Example:
pnorm(1.5)
# [1] 0.9331928
pnorm(x=1.5)
# Error in pnorm(x = 1.5) : unused argument(s) (x = 1.5)
are trying to use any of the
documentation.
Not to mention they might slammed for bad syntax on the R-help mailing list. :)
--- On Thu, 1/14/10, Erin Hodgess erinm.hodg...@gmail.com wrote:
From: Erin Hodgess erinm.hodg...@gmail.com
Subject: [R] advice/opinion on - vs = in teaching R
To: R help r
On Fri, 15 Jan 2010, Barry Rowlingson wrote:
On Fri, Jan 15, 2010 at 6:57 AM, Ted Harding
ted.hard...@manchester.ac.ukwrote:
There is at least one context where the distinction must be
preserved. Example:
pnorm(1.5)
# [1] 0.9331928
pnorm(x=1.5)
# Error in pnorm(x = 1.5) : unused
On Thu, 14 Jan 2010, Erin Hodgess wrote:
Hi R People:
I'm teaching a statistical computing class using R starting next week
(yay!) and I have an opinion type question, please.
I'm old school and use - in an assignment.
However, I'm starting to see the = in the literature.
Which should I use
Hi R People:
I'm teaching a statistical computing class using R starting next week
(yay!) and I have an opinion type question, please.
I'm old school and use - in an assignment.
However, I'm starting to see the = in the literature.
Which should I use or does it matter, please?
Thanks for your
On 15/01/2010, at 4:45 PM, Erin Hodgess wrote:
Hi R People:
I'm teaching a statistical computing class using R starting next week
(yay!) and I have an opinion type question, please.
I'm old school and use - in an assignment.
However, I'm starting to see the = in the literature.
Which
On 15-Jan-10 04:06:55, Rolf Turner wrote:
On 15/01/2010, at 4:45 PM, Erin Hodgess wrote:
Hi R People:
I'm teaching a statistical computing class using R starting
next week (yay!) and I have an opinion type question, please.
I'm old school and use - in an assignment.
However, I'm starting
17 matches
Mail list logo