[rkward-cvs] SF.net SVN: rkward: [1636] trunk/rkward/rkward/plugins/00saveload

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Mar 19 18:13:10 UTC 2007


Revision: 1636
          http://svn.sourceforge.net/rkward/?rev=1636&view=rev
Author:   tfry
Date:     2007-03-19 11:13:10 -0700 (Mon, 19 Mar 2007)

Log Message:
-----------
Had the directory wrong the first time, so here is step3 of moving load() and source() plugins

Added Paths:
-----------
    trunk/rkward/rkward/plugins/00saveload/import/load_data.php
    trunk/rkward/rkward/plugins/00saveload/import/load_data.xml
    trunk/rkward/rkward/plugins/00saveload/import/source.php
    trunk/rkward/rkward/plugins/00saveload/import/source.xml

Removed Paths:
-------------
    trunk/rkward/rkward/plugins/00saveload/load/
    trunk/rkward/rkward/plugins/00saveload/load_data.php
    trunk/rkward/rkward/plugins/00saveload/load_data.xml
    trunk/rkward/rkward/plugins/00saveload/source.php
    trunk/rkward/rkward/plugins/00saveload/source.xml

Copied: trunk/rkward/rkward/plugins/00saveload/import/load_data.php (from rev 1635, trunk/rkward/rkward/plugins/00saveload/load_data.php)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/import/load_data.php	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/import/load_data.php	2007-03-19 18:13:10 UTC (rev 1636)
@@ -0,0 +1,14 @@
+<?
+function preprocess () {
+}
+	
+function calculate () {
+?>
+load (file="<? getRK("file"); ?>", envir=globalenv())
+<?
+}
+
+function printout () {
+}
+
+?>

Copied: trunk/rkward/rkward/plugins/00saveload/import/load_data.xml (from rev 1635, trunk/rkward/rkward/plugins/00saveload/load_data.xml)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/import/load_data.xml	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/import/load_data.xml	2007-03-19 18:13:10 UTC (rev 1636)
@@ -0,0 +1,12 @@
+<!DOCTYPE rkplugin>
+<document> 
+	<code file="load_data.php"/>
+
+	<dialog label="Load an R object">
+		<tabbook>
+			<tab label="Select variables" >
+				<browser size="small" id="file" label="File name" filter="*.RData" />
+			</tab>
+		</tabbook>
+	</dialog>
+</document>

Copied: trunk/rkward/rkward/plugins/00saveload/import/source.php (from rev 1635, trunk/rkward/rkward/plugins/00saveload/source.php)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/import/source.php	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/import/source.php	2007-03-19 18:13:10 UTC (rev 1636)
@@ -0,0 +1,14 @@
+<?
+function preprocess () {
+}
+
+function calculate () {
+?>
+source (file="<? getRK("file"); ?>", local=<? getRK("local"); ?>, echo=<? getRK("echo"); ?>, print.eval= <? getRK("printeval"); ?>, verbose=<? getRK("verbose"); ?>, prompt.echo=<? getRK("promptecho"); ?>, max.deparse.length=<? getRK("maxdeparselength"); ?>, chdir=<? getRK("chdir"); ?>)
+<?
+}
+
+function printout () {
+}
+
+?>

Copied: trunk/rkward/rkward/plugins/00saveload/import/source.xml (from rev 1635, trunk/rkward/rkward/plugins/00saveload/source.xml)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/import/source.xml	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/import/source.xml	2007-03-19 18:13:10 UTC (rev 1636)
@@ -0,0 +1,28 @@
+<!DOCTYPE rkplugin>
+<document> 
+	<code file="source.php"/>
+
+	<logic>
+		<connect client="maxdeparselength.enabled" governor="echo.state" />
+	</logic>
+	<dialog label="Load source file" >
+		<tabbook>
+			<tab label="Select variables" >
+				<column>
+					<browser size="small" filter="*.R *.r" id="file" label="File name" />
+				</column>
+				<frame label="Options" >
+					
+					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="local" label="Local environnement" />
+					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="echo" label="Echo" />
+					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="verbose" label="Verbose" />
+					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="chdir" label="Change working directory" />
+					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="printeval" label="Print eval" />
+					<input size="medium" initial = "getOption('prompt')" id="promptecho" label="Prompt"/>
+					<spinbox size="small" type="integer" id="maxdeparselength" min="1" initial="1" label="Maximal length of 'echo'" />
+					
+				</frame>
+			</tab>
+		</tabbook>
+	</dialog>
+</document>

Deleted: trunk/rkward/rkward/plugins/00saveload/load_data.php
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load_data.php	2007-03-19 18:09:31 UTC (rev 1635)
+++ trunk/rkward/rkward/plugins/00saveload/load_data.php	2007-03-19 18:13:10 UTC (rev 1636)
@@ -1,14 +0,0 @@
-<?
-function preprocess () {
-}
-	
-function calculate () {
-?>
-load (file="<? getRK("file"); ?>", envir=globalenv())
-<?
-}
-
-function printout () {
-}
-
-?>

Deleted: trunk/rkward/rkward/plugins/00saveload/load_data.xml
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load_data.xml	2007-03-19 18:09:31 UTC (rev 1635)
+++ trunk/rkward/rkward/plugins/00saveload/load_data.xml	2007-03-19 18:13:10 UTC (rev 1636)
@@ -1,12 +0,0 @@
-<!DOCTYPE rkplugin>
-<document> 
-	<code file="load_data.php"/>
-
-	<dialog label="Load an R object">
-		<tabbook>
-			<tab label="Select variables" >
-				<browser size="small" id="file" label="File name" filter="*.RData" />
-			</tab>
-		</tabbook>
-	</dialog>
-</document>

Deleted: trunk/rkward/rkward/plugins/00saveload/source.php
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/source.php	2007-03-19 18:09:31 UTC (rev 1635)
+++ trunk/rkward/rkward/plugins/00saveload/source.php	2007-03-19 18:13:10 UTC (rev 1636)
@@ -1,14 +0,0 @@
-<?
-function preprocess () {
-}
-
-function calculate () {
-?>
-source (file="<? getRK("file"); ?>", local=<? getRK("local"); ?>, echo=<? getRK("echo"); ?>, print.eval= <? getRK("printeval"); ?>, verbose=<? getRK("verbose"); ?>, prompt.echo=<? getRK("promptecho"); ?>, max.deparse.length=<? getRK("maxdeparselength"); ?>, chdir=<? getRK("chdir"); ?>)
-<?
-}
-
-function printout () {
-}
-
-?>

Deleted: trunk/rkward/rkward/plugins/00saveload/source.xml
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/source.xml	2007-03-19 18:09:31 UTC (rev 1635)
+++ trunk/rkward/rkward/plugins/00saveload/source.xml	2007-03-19 18:13:10 UTC (rev 1636)
@@ -1,28 +0,0 @@
-<!DOCTYPE rkplugin>
-<document> 
-	<code file="source.php"/>
-
-	<logic>
-		<connect client="maxdeparselength.enabled" governor="echo.state" />
-	</logic>
-	<dialog label="Load source file" >
-		<tabbook>
-			<tab label="Select variables" >
-				<column>
-					<browser size="small" filter="*.R *.r" id="file" label="File name" />
-				</column>
-				<frame label="Options" >
-					
-					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="local" label="Local environnement" />
-					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="echo" label="Echo" />
-					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="verbose" label="Verbose" />
-					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="chdir" label="Change working directory" />
-					<checkbox value_unchecked="FALSE" checked="false" value="TRUE" id="printeval" label="Print eval" />
-					<input size="medium" initial = "getOption('prompt')" id="promptecho" label="Prompt"/>
-					<spinbox size="small" type="integer" id="maxdeparselength" min="1" initial="1" label="Maximal length of 'echo'" />
-					
-				</frame>
-			</tab>
-		</tabbook>
-	</dialog>
-</document>


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list