[Rcpp-commits] r704 - in pkg/RcppArmadillo: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Feb 16 18:42:38 CET 2010
Author: edd
Date: 2010-02-16 18:42:38 +0100 (Tue, 16 Feb 2010)
New Revision: 704
Modified:
pkg/RcppArmadillo/NAMESPACE
pkg/RcppArmadillo/R/zzz.R
Log:
do not hide result by str(); give example function a name
Modified: pkg/RcppArmadillo/NAMESPACE
===================================================================
--- pkg/RcppArmadillo/NAMESPACE 2010-02-16 17:26:43 UTC (rev 703)
+++ pkg/RcppArmadillo/NAMESPACE 2010-02-16 17:42:38 UTC (rev 704)
@@ -1,2 +1,3 @@
useDynLib(RcppArmadillo)
+export(RcppArmadilloExample)
Modified: pkg/RcppArmadillo/R/zzz.R
===================================================================
--- pkg/RcppArmadillo/R/zzz.R 2010-02-16 17:26:43 UTC (rev 703)
+++ pkg/RcppArmadillo/R/zzz.R 2010-02-16 17:42:38 UTC (rev 704)
@@ -1,5 +1,5 @@
-example <- function(){
- str( .Call( "RcppArmadilloExample", PACKAGE = "RcppArmadillo" ) )
+RcppArmadilloExample <- function(){
+ .Call( "RcppArmadilloExample", PACKAGE = "RcppArmadillo" )
}
More information about the Rcpp-commits
mailing list