Re: [Rd] An offer: R packages in Gentoo Land?

2006-07-02 Thread M. Edward (Ed) Borasky
Allen S. Rout wrote: > Greetings. I love R, we run Gentoo. I want to maintain R packages in > the same methods I use for the rest of them; in Gentoo this is in "the > portage tree", or in "a portage overlay". > > I am working towards something I consider suitable for production > release, and wan

Re: [Rd] Installation, permissions of /usr/local/lib/R (PR#9054)

2006-07-02 Thread Thibaut Jombart
[EMAIL PROTECTED] wrote: >Full_Name: Jori Mäntysalo >Version: 2.3.1 >OS: Linux, GNU/Debian stable >Submission from: (NULL) (81.197.171.182) > > >I said >./configure --with-readline=no --with-x=no >make >make install > >and everything works except that /usr/local/lib/R/etc/ldpaths was not readable

Re: [Rd] Installation, permissions of /usr/local/lib/R (PR#9054)

2006-07-02 Thread Peter Dalgaard
Thibaut Jombart <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > >I said > >./configure --with-readline=no --with-x=no > >make > >make install > > > >and everything works except that /usr/local/lib/R/etc/ldpaths was not > >readable > >as normal user. > You don't say if you installed R

Re: [Rd] Installation, permissions of /usr/local/lib/R (PR#9054)

2006-07-02 Thread p . dalgaard
Thibaut Jombart <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > >I said > >./configure --with-readline=no --with-x=no > >make > >make install > > > >and everything works except that /usr/local/lib/R/etc/ldpaths was not > >readable > >as normal user. > You don't say if you installed R

Re: [Rd] Test for argument in ...

2006-07-02 Thread Gregor Gorjanc
Yes, this works. Thanks Gabor! Gabor Grothendieck wrote: > That's because you are passing the argument twice. Try this: > >> foo1 <- function(x, ...) > + { > + L <- list(...) > + if (is.null(L$decreasing)) L$decreasing <- TRUE > + do.call(order, c(list(x), L)) > + } >> >> foo1(c(5, 2, 3, 4),

Re: [Rd] Test for argument in ...

2006-07-02 Thread Gregor Gorjanc
Bill Dunlap wrote: > On Sun, 2 Jul 2006, Gregor Gorjanc wrote: > >> Yes, this works. >> >> Thanks Gabor! >> >> Gabor Grothendieck wrote: >>> That's because you are passing the argument twice. Try this: >>> foo1 <- function(x, ...) >>> + { >>> + L <- list(...) >>> + if (is.null(L$decreasing

[Rd] "Template" for model.matrix functions

2006-07-02 Thread Gregor Gorjanc
Hello! I would like to write a function that would create a (part) of a model matrix to be used in lm() like functions i.e lm(y ~ myFunc(x)) Where can I find a good example or a template for this as well as for predict method? Thanks! -- Lep pozdrav / With regards, Gregor Gorjanc ---

[Rd] Package Unit Testing

2006-07-02 Thread miguel manese
Hello, Do we have like an official unit testing framework for packages? Like we do R CMD check, and say the scripts in /test are executed? Or do we roll out our own outside the package? Thanks, M. Manese __ R-devel@r-project.org mailing list https://st

Re: [Rd] Package Unit Testing

2006-07-02 Thread Uwe Ligges
miguel manese wrote: > Hello, > > Do we have like an official unit testing framework for packages? Like > we do R CMD check, and say the scripts in /test are executed? The scripts are executed with R CMD check. What else do you need? Uwe Ligges > Or do we roll out our own outside the package? >