On Thu, 2008-01-03 at 14:47 +, Gavin Simpson wrote:
> On Sun, 2007-12-30 at 20:28 +, baptiste Auguié wrote:
> > Hi,
> Is Constants supposed to be fixed and unchanging? If yes, why hold these
> in a data object? One option might be to have a function Constants() in
> your package, such th
On Sun, 2007-12-30 at 20:28 +, baptiste Auguié wrote:
> Hi,
>
> Thanks for this tip, I'm always amazed at the number of clever
> functions built-in in R –– just wish i could think of their name
> rather than reinventing the wheel.
>
> However, I'm still stupidly stuck with this basic ques
Hi,
Thanks for this tip, I'm always amazed at the number of clever
functions built-in in R –– just wish i could think of their name
rather than reinventing the wheel.
However, I'm still stupidly stuck with this basic question: how
should a function access data in its own package?
On 30 De
On Dec 30, 2007 1:19 PM, baptiste Auguié <[EMAIL PROTECTED]> wrote:
> These two functions use the dataframe "Constants", part of this package:
>
> > `L2eV` <- function(lambda)
> > {
> > data("Constants")
> > Constants$h*Constants$cel/Constants$ee/lambda ->eV
> > eV
> > }
>
Dear R helpers,
I've successfully created a package 'constants' using package.skeleton
() with one dataframe and a few functions. However, now that I want
to add some functions and data to the package, I run into a problem.
I ran prompt(...) and moved + edited the resulting .Rd files as
appr
5 matches
Mail list logo