[Rd] object.size() bug?

2005-08-03 Thread Paul Roebuck
Can someone confirm the following as a problem: R> setClass("Foo", representation(.handle = "externalptr")) R> object.size(new("Foo")) Error in object.size(new("Foo")) : object.size: unknown type 22 R> R.version.string [1] "R version 2.1.1, 2005-06-20" R-2.1.1/src/include/Rinternals.h #define EXT

Re: [Rd] call fortran in R

2005-08-03 Thread Sebastien Durand
Hi Paul, In fact, I used the three points just hide the long and exhaustive serie of parameters. >From what I understood of the error warnings, my serie of parameters didn't even had the chance to be properly read and shall not be the cause of what we are seeing. Even so I change the function

Re: [Rd] call fortran in R

2005-08-03 Thread Paul Roebuck
On Wed, 3 Aug 2005, =?iso-8859-1?Q?S=E9bastien_Durand_ wrote: > I used a mac G5, R.2.1.1, and G77 3.4.4 and I would like to use and > call a fortran subroutine. > The trouble is that it seems I am not able to correctly load the > compiled code. > > Here is what I have done: > > In the terminal thi

[Rd] call fortran in R

2005-08-03 Thread Sébastien Durand
Hello, I used a mac G5, R.2.1.1, and G77 3.4.4 and I would like to use and call a fortran subroutine. The trouble is that it seems I am not able to correctly load the compiled code. Here is what I have done: In the terminal this how I compiled my fortran code: R CMD SHLIB ~/Deskto

Re: [Rd] valgrind complains about regex.c (PR#8043)

2005-08-03 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > On Tue, Aug 02, 2005 at 07:50:54AM -0400, Duncan Murdoch wrote: > > Charlie, have you tried a recent version of R-patched? > > Now I have. The computer is my laptop and not connected to the net > so I can't upload details, but R-1.2.1-patched as of yesterday does

Re: [Rd] valgrind complains about regex.c (PR#8043)

2005-08-03 Thread charlie
On Tue, Aug 02, 2005 at 07:50:54AM -0400, Duncan Murdoch wrote: > Prof Brian Ripley wrote: > >Did you compile R without optimization? Such reads are often the result > >of read-aheads produced by the optimizer in an attempt to keep > >pipelines full (and are harmless). > > There were both a rea

Re: [Rd] valgrind complains about regex.c (PR#8043)

2005-08-03 Thread Charles Geyer
On Tue, Aug 02, 2005 at 07:50:54AM -0400, Duncan Murdoch wrote: > Prof Brian Ripley wrote: > >Did you compile R without optimization? Such reads are often the result > >of read-aheads produced by the optimizer in an attempt to keep > >pipelines full (and are harmless). > > There were both a rea

[Rd] R CMD check failing to warn when it should

2005-08-03 Thread Deepayan Sarkar
Hi, I recently made changes to lattice code which needed changes in many man pages as well. Before I made the appropriate changes, R CMD check was flagging most of the problems correctly, except for the man page for tmd. I have created a toy package that shows this, available at http://www.stat.w

Re: [Rd] [AV-Repaired]Xhazzensgg

2005-08-03 Thread Procedure
[English below] Ceci est un accusé de réception automatique de votre message. Si une réponse est requise, nous communiquerons avec vous le plus tôt possible. Si vous soumettez en direct n'oubliez pas d

Re: [Rd] deparse(substitute(x)) and S3 methods

2005-08-03 Thread Gavin Simpson
On Wed, 2005-08-03 at 16:28 +0100, Gavin Simpson wrote: > Dear List, > > I have the following function: Thanks to Tony Plate (and his simple example - message to self: "follow the posting guide's advice next time!!!"), I realised that deparse (substitute( )) was taking place *after* I had modifie

[Rd] deparse(substitute(x)) and S3 methods

2005-08-03 Thread Gavin Simpson
Dear List, I have the following function: coca <- function(x, ...) { if(is.null(class(x))) class(x) <- data.class(x) UseMethod("coca", x) } and a default method coca.default <- function(x, y, method = c("predictive", "symmetric"), reg.method = c("simpls", "e

Re: [Rd] tree/graph data structure APIs?

2005-08-03 Thread A.J. Rossini
On 8/3/05, Uwe Ligges <[EMAIL PROTECTED]> wrote: > Andrew Piskorski wrote: > > > What is the best code available for simple general purpose > > manipulation of tree (and/or directed graph) data structures in R? > > > > Looking through CRAN, I see a bunch of packages for stastical > > regression tr

Re: [Rd] tree/graph data structure APIs?

2005-08-03 Thread Uwe Ligges
Andrew Piskorski wrote: > What is the best code available for simple general purpose > manipulation of tree (and/or directed graph) data structures in R? > > Looking through CRAN, I see a bunch of packages for stastical > regression trees, but nothing that seems to provide an API for > manipulati

[Rd] tree/graph data structure APIs?

2005-08-03 Thread Andrew Piskorski
What is the best code available for simple general purpose manipulation of tree (and/or directed graph) data structures in R? Looking through CRAN, I see a bunch of packages for stastical regression trees, but nothing that seems to provide an API for manipulating tree data structures. What I'm lo