[Rcpp-devel] [Rcpp-commits] r179 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Nov 18 05:14:33 CET 2009
Author: edd
Date: 2009-11-18 05:14:32 +0100 (Wed, 18 Nov 2009)
New Revision: 179
Modified:
pkg/man/RcppParams.Rd
Log:
applied patch submitted by Frank S. Thomas to correct help page
Modified: pkg/man/RcppParams.Rd
===================================================================
--- pkg/man/RcppParams.Rd 2009-11-16 01:33:56 UTC (rev 178)
+++ pkg/man/RcppParams.Rd 2009-11-18 04:14:32 UTC (rev 179)
@@ -46,11 +46,11 @@
\preformatted{%
SEXP someFunction(SEXP params) {
RcppParams par(params);
- double p = RcppParams.getDoubleValue("pie");
- int magic = RcppParams.getIntValue("magicanswer");
- string txt = RcppParams.getStringValue("sometext");
- bool yn = RcppParams.getBoolValue("yesno");
- RcppDate d = RcppParams.getDateValue("today");
+ double p = par.getDoubleValue("pie");
+ int magic = par.getIntValue("magicanswer");
+ string txt = par.getStringValue("sometext");
+ bool yn = par.getBoolValue("yesno");
+ RcppDate d = par.getDateValue("today");
// some calculations ...
// some return values ...
}
_______________________________________________
Rcpp-commits mailing list
Rcpp-commits at lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-commits
More information about the Rcpp-devel
mailing list