From lawrence.michael at gene.com  Fri May 15 15:55:03 2015
From: lawrence.michael at gene.com (Michael Lawrence)
Date: Fri, 15 May 2015 06:55:03 -0700
Subject: [Rd] Defining Constant variable in a package
In-Reply-To: <5555BD3A.5000707@u-paris10.fr>
References: <5555BD3A.5000707@u-paris10.fr>
Message-ID: <CAOQ5NydrGVrOeP0VJ0_-Eyhq8YwgB4mny22-YWOFZp0O7pExUw@mail.gmail.com>

I'm guessing you just need to define them in /R/constants.R and then
export() them from the NAMESPACE.

On Fri, May 15, 2015 at 2:32 AM, Christophe Genolini <cgenolin at u-paris10.fr>
wrote:

> Hi all,
>
> In my package, I define some constant. In the previous version of R, I
> just define then in "/data/constants.R" but it seems that it is no longer
> possible. Instead, I am asked to "define them in the namespace". I am not
> sure to understand what it means. Shall I define them in the NAMESPACE file?
>
> Christophe
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]



[Rd] Defining Constant variable in a package
Michael Lawrence