[Rcpp-commits] r3078 - in pkg: RcppArmadillo/man RcppEigen/man RcppGSL/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jun 15 20:15:50 CEST 2011
Author: edd
Date: 2011-06-15 20:15:50 +0200 (Wed, 15 Jun 2011)
New Revision: 3078
Modified:
pkg/RcppArmadillo/man/fastLm.Rd
pkg/RcppEigen/man/fastLm.Rd
pkg/RcppGSL/man/fastLm.Rd
Log:
better way to load trees dataset
Modified: pkg/RcppArmadillo/man/fastLm.Rd
===================================================================
--- pkg/RcppArmadillo/man/fastLm.Rd 2011-06-15 11:22:28 UTC (rev 3077)
+++ pkg/RcppArmadillo/man/fastLm.Rd 2011-06-15 18:15:50 UTC (rev 3078)
@@ -69,8 +69,7 @@
Romain Francois, Dirk Eddelbuettel and Douglas Bates.
}
\examples{
- require(datasets)
-# data(trees) # Unnecessary - the datasets package uses LazyData
+ data(trees, package="datasets")
## bare-bones direct interface
flm <- fastLmPure( cbind(1, log(trees$Girth)), log(trees$Volume) )
Modified: pkg/RcppEigen/man/fastLm.Rd
===================================================================
--- pkg/RcppEigen/man/fastLm.Rd 2011-06-15 11:22:28 UTC (rev 3077)
+++ pkg/RcppEigen/man/fastLm.Rd 2011-06-15 18:15:50 UTC (rev 3078)
@@ -78,7 +78,7 @@
Romain Francois, Dirk Eddelbuettel and Douglas Bates.
}
\examples{
- require(datasets) # makes trees available via LazyData mechanism
+ data(trees, package="datasets")
## bare-bones direct interface
flm <- fastLmPure( cbind(1, log(trees$Girth)), log(trees$Volume) )
Modified: pkg/RcppGSL/man/fastLm.Rd
===================================================================
--- pkg/RcppGSL/man/fastLm.Rd 2011-06-15 11:22:28 UTC (rev 3077)
+++ pkg/RcppGSL/man/fastLm.Rd 2011-06-15 18:15:50 UTC (rev 3078)
@@ -68,8 +68,7 @@
Gerard Jungman. RcppGSL is written by Romain Francois and Dirk Eddelbuettel.
}
\examples{
- require(datasets)
- data(trees)
+ data(trees, package="datasets")
## bare-bones direct interface
flm <- fastLmPure( cbind(1, log(trees$Girth)), log(trees$Volume) )
More information about the Rcpp-commits
mailing list