> Yes, I agree that the current help system doesn't work very well on S3
> methods. But I don't know how to fix it. I think the only way it could
> know what to do on a construction like
>
> ?summary(lm(...))
>
> would be to actually evaluate summary(lm(...)) (or maybe just lm(...)),
> and I thin
> I think the spirit of Hadley's request could be handled by introducing a
> declaration for S3 methods and by inserting S4-style alias{} lines into
> their documentation. For example, if a function, say
> setOldGeneric("summary"), similar to setOldClass, informed the system that
> "summary" was
Hi,
This looks like a bug:
> a <- list(b=5)
> a[['b']]
[1] 5
> a[[t<-'b']]
Nothing gets printed!
I need to use parenthesis to see the expected result:
> a[[(t<-'b')]]
[1] 5
Cheers,
H.
__
R-devel@r-project.org mailing list
h
In R-2-4-branch r39548, Rcons_vprintf is called from stdout_vfprintf
when R_Outputfile is NULL. When called and output is greater than
R_BUFSIZE, output is truncated to R_BUFSIZE. Here's a one-line fix:
Index: src/main/printutils.c
==
By the way, this seems to be a difference between 2.3.1pat and 2.4.0
since I get the warning using list on
"R version 2.4.0 alpha (2006-09-16 r39365)"
but not on
"Version 2.3.1 Patched (2006-06-04 r38279)"
On 9/29/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote:
> Here is a kludge:
>
> List <-
Here is a kludge:
List <- function(...) {
mc <- match.call()
mc <- mc[as.list(mc) != ""]
mc[[1]] <- as.name("list")
eval(mc, parent.frame())
}
List(1,2,3,)
On 9/29/06, hadley wickham <[EMAIL PROTECTED]> wrote:
> How can I suppress this warning?
>
> > options(warn
Sorry I should have mentioned:
platform i386-apple-darwin8.7.1
arch i386
os darwin8.7.1
system i386, darwin8.7.1
status beta
major 2
minor 4.0
year 2006
month 09
day20
svn rev39433
language R
How can I suppress this warning?
> options(warn = -10)
> list(1,2,3,)
Warning: a final empty element has been omitted
the part of the args list of 'list' being evaluated was:
(1, 2, 3, )
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
> suppressWarnings(list(1,))
Warning: a final empty element has been
On Fri, 29 Sep 2006, Peter Stencel wrote:
> Dear all,
>
> I've written a (quite long) function in R. While running it I get the
> following error message:
>
> Error in "[<-"(`*tmp*`, 1, 13, value =
> NULL) :
>number of items to replace is not a multiple of
> replacement length
> operatio
Prof Brian Ripley wrote:
> On Fri, 29 Sep 2006, Uwe Ligges wrote:
>
>>
>>
>> James MacDonald wrote:
>>
>>> Hi,
>>>
>>> I am unable to build a package I maintain using a relatively
>>> current build of R-2.4.0 alpha, whereas the package builds just
>>> fine on R-2.3.1. Both versions of R were b
Dear all,
I've written a (quite long) function in R. While running it I get the
following error message:
Error in "[<-"(`*tmp*`, 1, 13, value =
NULL) :
number of items to replace is not a multiple of
replacement length
operation failed in: function () !!!
evaluation not successfu
On Fri, 29 Sep 2006, Uwe Ligges wrote:
>
>
> James MacDonald wrote:
>> Hi,
>>
>> I am unable to build a package I maintain using a relatively current
>> build of R-2.4.0 alpha, whereas the package builds just fine on R-2.3.1.
>> Both versions of R were built from source. I'm hoping a guRu might be
James MacDonald wrote:
> Hi,
>
> I am unable to build a package I maintain using a relatively current
> build of R-2.4.0 alpha, whereas the package builds just fine on R-2.3.1.
> Both versions of R were built from source. I'm hoping a guRu might be
> able to give some help.
The entry points ar
Arne Henningsen wrote:
> Dear Seth,
>
> Thank you for your message.
>
> On Thursday 28 September 2006 16:22, Seth Falcon wrote:
>> Arne Henningsen <[EMAIL PROTECTED]> writes:
>>> Hi,
>>>
>>> I was really happy when I saw that in R version 2.3.0 "R CMD check" works
>>> for packages whose package
On 9/28/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>> I'm having problems using ACML with R. I made two changes in
>> config.site by setting
>> LDFLAGS="-L/opt/acml3.1.0/gnu64/lib"
>> BLAS_LIBS="-lacml"
>
>That's not how the R-admin manual describes how to do this.
>Please try the way it doe
On Fri, 29 Sep 2006, Hiroyuki Kawakatsu wrote:
> On 9/28/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
>
>>> I'm having problems using ACML with R. I made two changes in
>>> config.site by setting
>>> LDFLAGS="-L/opt/acml3.1.0/gnu64/lib"
>>> BLAS_LIBS="-lacml"
>>
>> That's not how the R-admin
16 matches
Mail list logo