[R] "welcome" message upon loading data
mtmorgan at fhcrc.org
Tue May 22 18:02:51 CEST 2007
Hi Simon --
?data indicates that the first file looked for is mydata.R, and then
mydata.RData and so on. So add a file mydata.R to your data directory that
contains R code to print a message and then loads the data. This hack
is used in Bioconductor, e.g., the Biobase package
to indicated that some data sets are deprecated.
simon bond <shug0131 at yahoo.co.uk> writes:
> Dear R-help,
> I'm building a package which will contain a data set. I was wondering if it's possible to make a message appear on the console whenever a user loads the data. So the console would look like
> "Please do not use these data in any publication without permission of the authors"
> Would this message be within the terms of GPL?
> Looking at the ?data page, it seems "packageIQR" might be the way forward, but I couldn't find any further information on this.
> Simon Bond.
> [[alternative HTML version deleted]]
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Bioconductor / Computational Biology
More information about the R-help