Re: [R] Creating a minimal package

2004-07-13 Thread Douglas Bates
Duncan Murdoch wrote: On Mon, 12 Jul 2004 15:14:27 +0200, Uwe Ligges [EMAIL PROTECTED] wrote : Gabor Grothendieck wrote: The objective should be that creating a package is as easy as this: f - function()1; g - function()2; d - 3; e - 4:5 package.skeleton(list=c(f,g,d,e), name=AnExample)

Re: [R] Creating a minimal package

2004-07-12 Thread Uwe Ligges
Gabor Grothendieck wrote: Duncan Murdoch dmurdoch at pair.com writes: : On Sun, 11 Jul 2004 21:28:44 + (UTC), Gabor Grothendieck : ggrothendieck at myway.com wrote: : : 1. when I run skeleton.package realize that I must use the arg :path = library :The example that is shown there

Re: [R] Creating a minimal package

2004-07-12 Thread Gabor Grothendieck
Uwe Ligges ligges at statistik.uni-dortmund.de writes: : : Gabor Grothendieck wrote: : : Duncan Murdoch dmurdoch at pair.com writes: : : : On Sun, 11 Jul 2004 21:28:44 + (UTC), Gabor Grothendieck : : ggrothendieck at myway.com wrote: : : : : : 1. when I run skeleton.package

Re: [R] Creating a minimal package

2004-07-12 Thread Uwe Ligges
Gabor Grothendieck wrote: Uwe Ligges ligges at statistik.uni-dortmund.de writes: : : Gabor Grothendieck wrote: : : Duncan Murdoch dmurdoch at pair.com writes: : : : On Sun, 11 Jul 2004 21:28:44 + (UTC), Gabor Grothendieck : : ggrothendieck at myway.com wrote: : : : : : 1. when I

RE: [R] Creating a minimal package

2004-07-12 Thread Liaw, Andy
From: Gabor Grothendieck [snip] The objective should be that creating a package is as easy as this: f - function()1; g - function()2; d - 3; e - 4:5 package.skeleton(list=c(f,g,d,e), name=AnExample) library(AnExample) f() which means that the package needs to be

Re: [R] Creating a minimal package (was: where does R search when source()?)

2004-07-12 Thread Duncan Murdoch
On Mon, 12 Jul 2004 04:32:55 + (UTC), Gabor Grothendieck [EMAIL PROTECTED] wrote : Duncan Murdoch dmurdoch at pair.com writes: : On Sun, 11 Jul 2004 21:28:44 + (UTC), Gabor Grothendieck : ggrothendieck at myway.com wrote: : : 1. when I run skeleton.package realize that I must use the

Re: [R] Creating a minimal package

2004-07-12 Thread Duncan Murdoch
On Mon, 12 Jul 2004 15:14:27 +0200, Uwe Ligges [EMAIL PROTECTED] wrote : Gabor Grothendieck wrote: The objective should be that creating a package is as easy as this: f - function()1; g - function()2; d - 3; e - 4:5 package.skeleton(list=c(f,g,d,e), name=AnExample)

Re: [R] Creating a minimal package

2004-07-12 Thread Berton Gunter
Folks: Without entering the debate, just a little addendum to Andy's suggestions and Duncan's and Gabor's comments about the difficulty of building (simple, containing no binaries and just a few functions) packages for R. I have for some time now built such R-code only .rda files. It is a

Re: [R] Creating a minimal package (was: where does R search when source()?)

2004-07-11 Thread Duncan Murdoch
On Sun, 11 Jul 2004 05:40:33 + (UTC), Gabor Grothendieck [EMAIL PROTECTED] wrote: Roger, A list of the steps referred to below would be of interest. I realize the extensions manual exists but what I was thinking of was just a list of the minimal steps you take when you create a package for

Re: [R] Creating a minimal package

2004-07-11 Thread Douglas Bates
Gabor Grothendieck wrote: Roger, A list of the steps referred to below would be of interest. I realize the extensions manual exists but what I was thinking of was just a list of the minimal steps you take when you create a package for yourself. Thanks. It has already been automated. See

Re: [R] Creating a minimal package (was: where does R search when source()?)

2004-07-11 Thread Gabor Grothendieck
Duncan Murdoch dmurdoch at pair.com writes: : : On Sun, 11 Jul 2004 05:40:33 + (UTC), Gabor Grothendieck : ggrothendieck at myway.com wrote: : : Roger, : : A list of the steps referred to below would be of interest. : I realize the extensions manual exists but what I was : thinking of was

Re: [R] Creating a minimal package (was: where does R search when source()?)

2004-07-11 Thread Duncan Murdoch
Thanks for the information. It *should* be that simple; thanks for pointing out ways in which it is not. Some more specific comments below... On Sun, 11 Jul 2004 21:28:44 + (UTC), Gabor Grothendieck [EMAIL PROTECTED] wrote: Duncan Murdoch dmurdoch at pair.com writes: : : On Sun, 11 Jul

Re: [R] Creating a minimal package (was: where does R search when source()?)

2004-07-11 Thread Gabor Grothendieck
Duncan Murdoch dmurdoch at pair.com writes: : On Sun, 11 Jul 2004 21:28:44 + (UTC), Gabor Grothendieck : ggrothendieck at myway.com wrote: : : 1. when I run skeleton.package realize that I must use the arg :path = library :The example that is shown there appears to omit that. : :

[R] Creating a minimal package (was: where does R search when source()?)

2004-07-10 Thread Gabor Grothendieck
Roger, A list of the steps referred to below would be of interest. I realize the extensions manual exists but what I was thinking of was just a list of the minimal steps you take when you create a package for yourself. Thanks. Roger D. Peng rpeng at jhsph.edu writes: : : In fact, there is an