From cgenolin at u-paris10.fr  Fri May 15 16:52:12 2015
From: cgenolin at u-paris10.fr (Christophe Genolini)
Date: Fri, 15 May 2015 16:52:12 +0200
Subject: [Rd] Defining Constant variable in a package
In-Reply-To: <CAOQ5NydrGVrOeP0VJ0_-Eyhq8YwgB4mny22-YWOFZp0O7pExUw@mail.gmail.com>
References: <5555BD3A.5000707@u-paris10.fr>
	<CAOQ5NydrGVrOeP0VJ0_-Eyhq8YwgB4mny22-YWOFZp0O7pExUw@mail.gmail.com>
Message-ID: <5556081C.7090706@u-paris10.fr>

Hi Michael,

It works perfectly, thanks a lot!

Christophe

> 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 
> <mailto: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 <mailto: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
Christophe Genolini