On 4/17/2009 8:47 AM, Christian Ritz wrote:
Hi Duncan,
on a related note: It would be nice to have a function similar to
tools::readNEWS() for
showing package-specific CHANGES/NEWS files (if available).
That would be a waste of time. People don't use the package
documentation schemes that are in place; why would they use a new one?
Duncan Murdoch
Something like:
"showNews" <- function(pkgname, filename = c("NEWS", "CHANGES"))
{
filename <- match.arg(filename)
file.show(paste(.libPaths(), pkgname, filename, sep = "/"),
title = paste("Package information for", pkgname))
}
showNews("MASS")
showNews("multcomp", "CHANGES")
# requires 'multcomp' to be installed
Just an idea!
Christian
______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel