[R] R package dev: how to export constant?

William Dunlap wdunlap at tibco.com
Wed Jan 18 02:03:50 CET 2012


Try adding
  LazyData: yes
to the DESCRIPTION file.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com 

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Jonas Stein
> Sent: Tuesday, January 17, 2012 4:41 PM
> To: r-help at stat.math.ethz.ch
> Subject: [R] R package dev: how to export constant?
> 
> Hi,
> i create two constants kilo and milli in [1]. These should be available
> after loading
> 
> library(sitools)
> 
> How should i export them and what have i done wrong?
> (Other suggestions for improving the package are welcome too)
> 
> The ready to use .tar.gz and the source can be found on github [2,3]
> 
> kind regatds,
> 
> [1] https://github.com/jonasstein/sitools/blob/master/init.R
> [2] https://github.com/jonasstein/sitools/downloads
> [3] https://github.com/jonasstein/sitools
> 
> --
> Jonas Stein <news at jonasstein.de>
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list