[Rcpp-commits] r3920 - in pkg/Rcpp: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Nov 8 13:38:47 CET 2012


Author: romain
Date: 2012-11-08 13:38:47 +0100 (Thu, 08 Nov 2012)
New Revision: 3920

Modified:
   pkg/Rcpp/ChangeLog
   pkg/Rcpp/NAMESPACE
   pkg/Rcpp/R/Attributes.R
   pkg/Rcpp/man/evalCpp.Rd
Log:
s/cppEval/evalCpp/

Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog	2012-11-08 12:37:23 UTC (rev 3919)
+++ pkg/Rcpp/ChangeLog	2012-11-08 12:38:47 UTC (rev 3920)
@@ -9,8 +9,8 @@
         * R/Module.R: Module functions taking no arguments don't get the ellipsis
         anymore in their formals
         * src/Module.cpp: passing up the number of arguments of the function
-        * R/Attributes.R: added cppEval
-        * man/cppEval.Rd: documentation for cppeval
+        * R/Attributes.R: added evalCpp
+        * man/evalCpp.Rd: documentation for evalCpp
         
 2012-11-07  JJ Allaire <jj at rstudio.org>
 

Modified: pkg/Rcpp/NAMESPACE
===================================================================
--- pkg/Rcpp/NAMESPACE	2012-11-08 12:37:23 UTC (rev 3919)
+++ pkg/Rcpp/NAMESPACE	2012-11-08 12:38:47 UTC (rev 3920)
@@ -16,7 +16,7 @@
 
 export( 
     Module, Rcpp.package.skeleton, populate, loadRcppModules, setRcppClass,
-       loadModule, cppFunction, cppEval, sourceCpp, compileAttributes
+       loadModule, cppFunction, evalCpp, sourceCpp, compileAttributes
 )
 
 exportClass(RcppClass)

Modified: pkg/Rcpp/R/Attributes.R
===================================================================
--- pkg/Rcpp/R/Attributes.R	2012-11-08 12:37:23 UTC (rev 3919)
+++ pkg/Rcpp/R/Attributes.R	2012-11-08 12:38:47 UTC (rev 3920)
@@ -197,7 +197,7 @@
 }
 
 # Evaluate a simple c++ expression
-cppEval <- function( code, 
+evalCpp <- function( code, 
                      depends = character(), 
                      includes = character(), 
                      showOutput = verbose, 

Modified: pkg/Rcpp/man/evalCpp.Rd
===================================================================
--- pkg/Rcpp/man/evalCpp.Rd	2012-11-08 12:37:23 UTC (rev 3919)
+++ pkg/Rcpp/man/evalCpp.Rd	2012-11-08 12:38:47 UTC (rev 3920)
@@ -1,5 +1,5 @@
-\name{cppEval}
-\alias{cppEval}
+\name{evalCpp}
+\alias{evalCpp}
 \title{
 Evaluate a C++ expression
 }
@@ -8,7 +8,7 @@
 \code{\link{cppFunction}} and call it to get the result. 
 }
 \usage{
-cppEval(code, depends = character(), includes = character(), 
+evalCpp(code, depends = character(), includes = character(), 
     showOutput = verbose, verbose = getOption("verbose") )
 }
 \arguments{
@@ -40,8 +40,8 @@
 \examples{
 \dontrun{
 
-cppEval( "__cplusplus" )
-cppEval( "std::numeric_limits<double>::max()" )
+evalCpp( "__cplusplus" )
+evalCpp( "std::numeric_limits<double>::max()" )
     
 }
 }



More information about the Rcpp-commits mailing list