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

tfry at users.sourceforge.net tfry at users.sourceforge.net
Mon Mar 19 18:08:00 UTC 2007


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

Log Message:
-----------
Move load() and source() plugins step1

Added Paths:
-----------
    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

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

Deleted: trunk/rkward/rkward/plugins/00saveload/load/load/code.php
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load/load/code.php	2007-03-19 18:04:43 UTC (rev 1633)
+++ trunk/rkward/rkward/plugins/00saveload/load/load/code.php	2007-03-19 18:08:00 UTC (rev 1634)
@@ -1,14 +0,0 @@
-<?
-function preprocess () {
-}
-	
-function calculate () {
-?>
-load (file="<? getRK("file"); ?>", envir=globalenv())
-<?
-}
-
-function printout () {
-}
-
-?>

Deleted: trunk/rkward/rkward/plugins/00saveload/load/load/description.xml
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load/load/description.xml	2007-03-19 18:04:43 UTC (rev 1633)
+++ trunk/rkward/rkward/plugins/00saveload/load/load/description.xml	2007-03-19 18:08:00 UTC (rev 1634)
@@ -1,11 +0,0 @@
-<!DOCTYPE rkplugin>
-<document> 
-	<code file="code.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/load/source/code.php
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load/source/code.php	2007-03-19 18:04:43 UTC (rev 1633)
+++ trunk/rkward/rkward/plugins/00saveload/load/source/code.php	2007-03-19 18:08:00 UTC (rev 1634)
@@ -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/load/source/description.xml
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load/source/description.xml	2007-03-19 18:04:43 UTC (rev 1633)
+++ trunk/rkward/rkward/plugins/00saveload/load/source/description.xml	2007-03-19 18:08:00 UTC (rev 1634)
@@ -1,27 +0,0 @@
-<!DOCTYPE rkplugin>
-<document> 
-	<code file="code.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>

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

Copied: trunk/rkward/rkward/plugins/00saveload/load_data.xml (from rev 1626, trunk/rkward/rkward/plugins/00saveload/load/load/description.xml)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/load_data.xml	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/load_data.xml	2007-03-19 18:08:00 UTC (rev 1634)
@@ -0,0 +1,11 @@
+<!DOCTYPE rkplugin>
+<document> 
+	<code file="code.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/source.php (from rev 1627, trunk/rkward/rkward/plugins/00saveload/load/source/code.php)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/source.php	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/source.php	2007-03-19 18:08:00 UTC (rev 1634)
@@ -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/source.xml (from rev 1626, trunk/rkward/rkward/plugins/00saveload/load/source/description.xml)
===================================================================
--- trunk/rkward/rkward/plugins/00saveload/source.xml	                        (rev 0)
+++ trunk/rkward/rkward/plugins/00saveload/source.xml	2007-03-19 18:08:00 UTC (rev 1634)
@@ -0,0 +1,27 @@
+<!DOCTYPE rkplugin>
+<document> 
+	<code file="code.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