[Rinside-commits] r100 - pkg/inst/examples
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Feb 13 04:34:40 CET 2010
Author: edd
Date: 2010-02-13 04:34:26 +0100 (Sat, 13 Feb 2010)
New Revision: 100
Modified:
pkg/inst/examples/rinside_sample8.cpp
Log:
update copyright
pass argc/argv on -- as we take them in main() may as well
Modified: pkg/inst/examples/rinside_sample8.cpp
===================================================================
--- pkg/inst/examples/rinside_sample8.cpp 2010-02-12 20:04:48 UTC (rev 99)
+++ pkg/inst/examples/rinside_sample8.cpp 2010-02-13 03:34:26 UTC (rev 100)
@@ -2,13 +2,13 @@
//
// Simple example showing how to use R[] = ;
//
-// Copyright (C) 2009 Dirk Eddelbuettel and GPL'ed
+// Copyright (C) 2010 Dirk Eddelbuettel and Romain Francois and GPL'ed
#include "RInside.h" // for the embedded R via RInside
int main(int argc, char *argv[]) {
- RInside R; // create an embedded R instance
+ RInside R(argc, argv); // create an embedded R instance
R["x"] = 10 ;
R["y"] = 20 ;
More information about the Rinside-commits
mailing list