[Rd] Defining Constant variable in a package

Michael Lawrence lawrence.michael at gene.com
Fri May 15 15:55:03 CEST 2015

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>

> 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]]

More information about the R-devel mailing list