[R] package.skeleton()

Petr PIKAL petr.pikal at precheza.cz
Mon Dec 19 08:49:03 CET 2011


Hi

If I remember correctly I do

start clear R -vanilla session
copy my functions to it.
run package.skeleton("some.name")

which creates the some.name directory.

Regards
Petr

> Hi Duncan,
> 
> Thanks for your response.  That's the confusing thing, I didn't receive 
a
> message and I can't seem to find the new source package directory
> anywhere.  I would greatly appreciate any advice about what I might be
> doing wrong.
> 
> Happy Holidays,
> 
> Ben
> 
> On Fri, Dec 16, 2011 at 7:12 PM, Duncan Murdoch 
<murdoch.duncan at gmail.com>wrote:
> 
> > On 11-12-16 4:12 PM, Ben Ganzfried wrote:
> >
> >> Hi--
> >>
> >> I'm creating an R package, I've read through "Writing R Extensions" 
and
> >> the
> >> package.skeleton() R page-- and I'm still running into a little 
confusion.
> >> I would greatly appreciate any advice you can provide.
> >>
> >> Where do I run my following line of code from?:
> >>
> >>> package.skeleton(name = "a", code_files = "EsetObject.r"
> >>>
> >>
> >> I'm currently running it from Rgui, but when I type the line above 
nothing
> >> happens.
> >>
> >>
> > What is supposed to happen is that a new source package directory will 
be
> > created in the current directory (what getwd() gives you).  Did that
> > happen?  (I thought a message would also be printed and apparently 
you're
> > not seeing that, but maybe it just worked without telling you.)
> >
> > Duncan Murdoch
> >
> >  Thank you very much.
> >>
> >> Ben
> >>
> >>        [[alternative HTML version deleted]]
> >>
> >> ______________________________**________________
> >> R-help at r-project.org mailing list
> >> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/
> mailman/listinfo/r-help>
> >> PLEASE do read the posting guide http://www.R-project.org/**
> >> posting-guide.html <http://www.R-project.org/posting-guide.html>
> >> and provide commented, minimal, self-contained, reproducible code.
> >>
> >
> >
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list