[chronojump] Fixed rdotnet called from GUI on Linux... macosx?
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed rdotnet called from GUI on Linux... macosx?
- Date: Thu, 10 Apr 2014 12:04:49 +0000 (UTC)
commit e915bc3c59258ff121a4cda5fa701475dc2ba219
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 10 14:03:22 2014 +0200
Fixed rdotnet called from GUI on Linux... macosx?
rdotnet/R.NET/REngine.cs | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/rdotnet/R.NET/REngine.cs b/rdotnet/R.NET/REngine.cs
index eb51b8c..31ac9ef 100644
--- a/rdotnet/R.NET/REngine.cs
+++ b/rdotnet/R.NET/REngine.cs
@@ -230,8 +230,12 @@ Console.WriteLine("at initialize");
this.parameter = parameter ?? new StartupParameter();
this.adapter = new CharacterDeviceAdapter(device ?? DefaultDevice);
GetFunction<R_setStartTime>()();
- GetFunction<Rf_initialize_R>()(1, new[] { ID });
- this.adapter.Install(this, this.parameter);
+
+
//http://rdotnet.codeplex.com/SourceControl/network/forks/nakagawa_hiroyuki/rdotnetlinux/changeset/dc57f317cf7f
+ //GetFunction<Rf_initialize_R>()(1, new[] { ID });
+ GetFunction<Rf_initialize_R>("Rf_initialize_R")(3, new[] { ID, "--quiet", "--vanilla" });
+
+ this.adapter.Install(this, this.parameter);
switch (Environment.OSVersion.Platform)
{
case PlatformID.Win32NT:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]