The bug might be here:
is.null(expression())
[1] TRUE
But
is.null(expression(NULL))
[1] FALSE
So it might look to the methods package like you're passing in a NULL
value for @bar. I might argue that expression() should not be NULL (and
only NULL is NULL) as I have had similar trouble trying to
1.0 =20
year 2005 =20
month04=20
day 18=20
language R =20
-Original Message-
From: Peter Dalgaard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 4:14 PM
To: McGehee, Robert
Cc: [EMAIL PROTECTED]; Peter
I'm trying to build a recursive set of functions that take a set of
arguments, change some of the arguments and recursively call the same
(or different) function.
For example here's a stupid recursive counting function that prints back
all integers from x to 0 (and ignores arguments y and z)
cnt
Message-
From: Prof Brian Ripley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 08, 2005 12:10 PM
To: McGehee, Robert
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Windows Printing and Line Widths
Those printers AFAIK support postscript.
How are you printing to them on Linux? I suggest
Shouldn't this work?
.a - 5
exists(.a)
[1] TRUE
getAnywhere(.a)
Error in exists(x, envir, mode, inherits) :
invalid first argument
getAnywhere doesn't seem to like the . prefix. Is this a bug?
Thanks,
Robert
Robert McGehee
Geode Capital Management, LLC
53 State Street, 5th Floor |
Greetings,
I'm having some difficulties with evaluating very long expressions
(Windows/Linux 2.0.1), as seen below, and would greatly appreciate any
help, thoughts or work arounds. Let's say that I wanted to see what I
would get if I added 1 to itself 498 times. One way of doing this would
be to
, your replies are, as always, invaluable,
Robert
-Original Message-
From: Peter Dalgaard [mailto:[EMAIL PROTECTED]
Sent: Monday, January 24, 2005 5:36 AM
To: McGehee, Robert
Cc: r-devel@stat.math.ethz.ch
Subject: Re: [Rd] Very Long Expressions
McGehee, Robert [EMAIL PROTECTED] writes
extending
the call and expression classes, and apologies for the technical
nature of this post.
Thanks,
Robert
-Original Message-
From: John Chambers [mailto:[EMAIL PROTECTED]
Sent: Friday, January 14, 2005 10:36 AM
To: Prof Brian Ripley
Cc: McGehee, Robert; r-devel@stat.math.ethz.ch
Subject