Hi Jonas, hi the list > Try adding > LazyData: yes > to the DESCRIPTION file.
I am a bit surprise by this answer since I found in writing R extentions, that lazydata is ignore since version 2.14. But I have the same problem, I do not manage to export contants. So how can I do that? My constant is MAX_CLUST <- 26. Shall I define it in a code in the /R/ directories, or in a /data/ directories? I try both, neither works... Shall I mention it in NAMESPACE? How? Is there a way to make this constant available as soon as the package will be loaded without using data()? Thanks Christophe -- View this message in context: http://r.789695.n4.nabble.com/R-package-dev-how-to-export-constant-tp4305281p4326840.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.