Re: [Rd] Package Unit Testing

2006-07-24 Thread Gregor Gorjanc
Martin Maechler stat.math.ethz.ch> writes: > > > "miguel" == miguel manese gmail.com> > > on Mon, 3 Jul 2006 09:43:12 +0800 writes: > > miguel> Hello, Do we have like an official unit testing > miguel> framework for packages? Like we do R CMD check, and > miguel> say th

Re: [Rd] persistent C++ objects

2006-07-24 Thread Thomas Lumley
On Mon, 24 Jul 2006, Tamas K Papp wrote: > Hi, > > I am trying to create an R interface for Dynare++ [1], a k-order > solver for rational expectation models. I would like some advice on > how to glue the C++ code to R. > > In C++, it works the following way: > > - a DynareModelEq object is initia

Re: [Rd] persistent C++ objects

2006-07-24 Thread Tamas K Papp
On Mon, Jul 24, 2006 at 03:00:30PM -0400, Dominick Samperi wrote: > R views the C++ code like a function call, so any persistence will have > to be > implemented through a database, or by passing working storage along with > the call. The data structures supported by RcppTemplate V4.2 may be helpf

[Rd] residuals.glm for glm(..., y = FALSE)

2006-07-24 Thread Achim Zeileis
I just ran into a problem with residuals.glm() for GLMs fitted with glm(..., y = FALSE) For such fits, the residuals of type "deviance", "pearson" and "response" can't be computed (see example below). The reason is that residuals.glm() uses y <- object$y which obviously can't work for such fits

[Rd] persistent C++ objects

2006-07-24 Thread Tamas K Papp
Hi, I am trying to create an R interface for Dynare++ [1], a k-order solver for rational expectation models. I would like some advice on how to glue the C++ code to R. In C++, it works the following way: - a DynareModelEq object is initialized with the formulas, parses them and performs k-ord

Re: [Rd] R and ACML

2006-07-24 Thread Evan Cooch
I lie (apparently) - turns out step (7) (below) *did* work. OK, so why didn't previous attempts at the problem (i.e., using LD_LIBRARY_PATH) work? Hmmm > 7. one final attempt: > > ./configure --with-blas="-L/opt/acml3.5.0/gnu64/lib -lacml" > > No change - readline is still the only > > > > >

[Rd] R and ACML

2006-07-24 Thread Evan Cooch
While I recently received some very helpful files and email from Kevin Hendricks for compiling with ATLAS, thought I'd first have a stab at ACML. Having problems, which I suspect are trivial to solve: 1. machine is running RHEL 4, meaning, it uses gcc 3.4.5 out of the box, and g77. In my experi

[Rd] % symbol in .Rd files?

2006-07-24 Thread Dominick Samperi
Hello, I am encountering problems when there is a '%' character in package .Rd files. More precisely, CRAN is having problems with these characters when running check, whereas I am not seeing any problems under Linux and Windows. I did see these problems, and found that escaping the %'s fixes the

[Rd] SystemRequirements (was DESCRIPTION and PACKAGES files )

2006-07-24 Thread Allen S. Rout
Seth Falcon <[EMAIL PROTECTED]> writes: > For the Bioconductor project, we also wanted more information to be > programatically available regarding the packages in a repository. > Instead of bloating the PACKAGES file, we put a separate file, VIEWS > in our repository. [...] > > So, if you were

Re: [Rd] compiling R | multi-Opteron | BLAS source

2006-07-24 Thread Evan Cooch
> > I think the early version of ACML lagged behind others, but recent > versions are competitive. I've run into precision problem (failing > make check all) with some Goto BLAS before. Also, Goto BLAS has > switched to a more restrictive license (probably not a problem for > you though). >

Re: [Rd] compiling R | multi-Opteron | BLAS source

2006-07-24 Thread Liaw, Andy
From: Evan Cooch > > Greetings - > > A quick perusal of some of the posts to this maillist suggest > the level of the questions is probably beyond someone working > at my level, but at the risk of looking foolish publicly > (something I find I get increasingly comfortable with as I > get olde

Re: [Rd] png() and image()

2006-07-24 Thread ripley
> Wolfgang Huber wrote: >> Henrik Bengtsson wrote: >>> Hi Wolfgang, >>> >>> thanks for this - I took a look the EBImage webpage >>> [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very >>> nice. Are there any plans for Windows support too? I am looking for >>> a cross-platform sol

Re: [Rd] RFC: Redefining length() ?

2006-07-24 Thread Gregor Gorjanc
Hi, Martin Maechler stat.math.ethz.ch> writes: > > So I did open a new subject and move the discussion to R-devel > now. > > > "MM" == Martin Maechler stat.math.ethz.ch> > > on Mon, 24 Jul 2006 11:46:05 +0200 writes: > > > "Gabor" == Gabor Grothendieck gmail.com> > >

Re: [Rd] png() and image()

2006-07-24 Thread Hin-Tak Leung
Wolfgang Huber wrote: > Henrik Bengtsson wrote: >> Hi Wolfgang, >> >> thanks for this - I took a look the EBImage webpage >> [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very >> nice. Are there any plans for Windows support too? I am looking for >> a cross-platform solution. >>

Re: [Rd] RFC: Redefining length() ?

2006-07-24 Thread Gabor Grothendieck
I think Spencer's point of it likely being compatible with most current code is important (since it currently always returns 9 so its unlikely to be used meaningfully in existing code). On 7/24/06, Martin Maechler <[EMAIL PROTECTED]> wrote: > So I did open a new subject and move the discussion to

Re: [Rd] png() and image()

2006-07-24 Thread Wolfgang Huber
Henrik Bengtsson wrote: > Hi Wolfgang, > > thanks for this - I took a look the EBImage webpage > [http://www.ebi.ac.uk/~osklyar/projects/EBImage/] and it looks very > nice. Are there any plans for Windows support too? I am looking for > a cross-platform solution. > > Cheers Hi Henrik, there ar

Re: [Rd] Making a patch

2006-07-24 Thread Duncan Murdoch
On 7/23/2006 6:04 PM, Andrew Robinson wrote: > Dear R developers, > > is there a preferred format or strategy for making a patch to > contribute to a package that is maintained by R-core? Berwin Turlach > and I have written a very minor extension to lmeControl to allow it to > pass an argument to

[Rd] RFC: Redefining length() ?

2006-07-24 Thread Martin Maechler
So I did open a new subject and move the discussion to R-devel now. > "MM" == Martin Maechler <[EMAIL PROTECTED]> > on Mon, 24 Jul 2006 11:46:05 +0200 writes: > "Gabor" == Gabor Grothendieck <[EMAIL PROTECTED]> > on Sun, 23 Jul 2006 09:02:35 -0400 writes: Gabor>