In x$name, 'name' is supposed to be a symbol, unevaluated, or a
literal character string (but not a character vector).
> f <- list(bob=1, alice=2)
> `$`(f, "bob")
[1] 1
> nm <- "bob"
> `$`(f, nm)
NULL
illustrates your misunderstanding.
Note that the S4 generic for $ in fact is
"$" = function(x
Seth Falcon wrote:
> Hello,
>
> I wonder if this will make it through the spam filters given the
> subject line.
>
> I'm seeing the following when trying to call a dollar method inside of
> a dollar method.
>
>
> setClass("Foo", representation(d="list"))
> [1] "Foo"
>
> f <- new("Foo",
On 5/7/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> On 5/6/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
>
> > I will have to start learning about gdb sometime soon, but in this case,
> the
> > problem seems to be due to the interaction of R_tryEval() and
> > graphics, and has nothing to do wi
Hello,
I wonder if this will make it through the spam filters given the
subject line.
I'm seeing the following when trying to call a dollar method inside of
a dollar method.
setClass("Foo", representation(d="list"))
[1] "Foo"
f <- new("Foo", d=list(bob=1, alice=2))
## We can call
On 5/6/07, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
> I will have to start learning about gdb sometime soon, but in this case, the
> problem seems to be due to the interaction of R_tryEval() and
> graphics, and has nothing to do with interruptions. Here's a variant
> of the trEval test case tha
On Mon, 7 May 2007, Deepayan Sarkar wrote:
> On 5/5/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>
> [...]
>
>> o dev.interactive() regards devices with the displaylist
>> enabled
>> as interactive, and packages can register the names of their
>> devices as interactive vi
On Fri, 4 May 2007, Prof Brian Ripley wrote:
> On Thu, 3 May 2007, Prof Brian Ripley wrote:
>
> > It is not clear to me that throwing an error is helpful as it would stop
> > the package installation process when all but one section in one .Rd file
> > would be useful. But it would seem good to g
On 5/5/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
[...]
> odev.interactive() regards devices with the displaylist enabled
> as interactive, and packages can register the names of their
> devices as interactive via deviceIsInteractive().
Thanks. A related issue: 2.5
Seems like a good idea to me.
Here is a workaround that works in any event which combines (?i), \Q and \E .
to get the same effect. (?i) gives case insensitive matches and \Q and \E
quote and endquote the intervening text disabling special characters:
x <- c("D.G cat", "d.g cat", "dog cat")
z <-
Dear R developers,
I suggest to modify the behaviour of "grep" function with fixed=TRUE option.
Currently, fixed=TRUE implies ignore.case=FALSE (overrides ignore.case=TRUE,
if set by the user).
I suggest to keep ignore.case as set by the user even if fixed=TRUE. Since
the default of ignore.case
10 matches
Mail list logo