[Sciviews-commits] r493 - in komodo: . SciViews-K/content SciViews-K/content/js SciViews-K/defaults

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Dec 17 16:51:00 CET 2012


Author: phgrosjean
Date: 2012-12-17 16:51:00 +0100 (Mon, 17 Dec 2012)
New Revision: 493

Added:
   komodo/SciViews-K/defaults/data.table_1.8.6.tar.gz
   komodo/SciViews-K/defaults/data.table_1.8.6.zip
Modified:
   komodo/SciViews-K/content/RHelpWindow.xul
   komodo/SciViews-K/content/js/pref-R.js
   komodo/SciViews-K/content/pref-R.xul
   komodo/SciViews-K/defaults/R reference (0.9.28).kpz
   komodo/SciViews-K/defaults/svStart.R
   komodo/SciViews-K/defaults/toolbox.zip
   komodo/TODO
Log:
Bug correction: impossible to configure R.app at startup on Mac OS X + add data.table package + update R reference (qq.plot -> qqPlot)

Modified: komodo/SciViews-K/content/RHelpWindow.xul
===================================================================
--- komodo/SciViews-K/content/RHelpWindow.xul	2012-12-16 19:54:36 UTC (rev 492)
+++ komodo/SciViews-K/content/RHelpWindow.xul	2012-12-17 15:51:00 UTC (rev 493)
@@ -529,7 +529,7 @@
 						oncommand="go('http://www.bioconductor.org/');"/>
 					<menuitem id="rhelp-menu-graph" label="Graph Gallery"
 						accesskey="g"
-						oncommand="go('http://addictedtor.free.fr/graphiques/');"/>
+						oncommand="go('http://gallery.r-enthusiasts.com/');"/>
 					<menuitem id="rhelp-menu-forge" label="R-Forge"
 						accesskey="f"
 						oncommand="go('http://r-forge.r-project.org/');"/>

Modified: komodo/SciViews-K/content/js/pref-R.js
===================================================================
--- komodo/SciViews-K/content/js/pref-R.js	2012-12-16 19:54:36 UTC (rev 492)
+++ komodo/SciViews-K/content/js/pref-R.js	2012-12-17 15:51:00 UTC (rev 493)
@@ -23,10 +23,6 @@
 //                                           Note: PrefR_OnLoad() used instead
 // OnPreferencePageOK(prefset);           // User clicks OK
 ////////////////////////////////////////////////////////////////////////////////
-// TODO: eliminate items not found on the disk for the list of Mac R apps!?
-// TODO: wrong calculation of args + check problems when args is empty
-// TODO: x-terminal-emulator not defined on Mac OS X => R terminal is broken
-//       on Mac OS X!
 //
 // Prefs to possibly include later on:
 // * Address for remote R (sv.socket.host)?
@@ -40,10 +36,20 @@
 // List of supported R applications
 var apps = [
 	{id:"r-terminal", label:"in default terminal",
+		path:"\"%Path%\" %args%",
+        app:"R",
+		required:"R",
+		platform:"Mac"},
+//	{id:"r-terminal-sciviews", label:"in terminal (SciViews version)",
+//		path:"\"%Path%\" %args%",
+//        app:"svR",
+//		required:"svR",
+//		platform:"Mac"},
+	{id:"r-terminal", label:"in default terminal",
 		path:"x-terminal-emulator -e '%Path% %args%'",
         app:"R",
 		required:"x-terminal-emulator,R",
-		platform:"Lin,Mac"},
+		platform:"Lin"},
 	{id:"r-terminal", label:"in console window",
 		path:"\"%Path%\" %args%",
         app:"R.exe",
@@ -52,7 +58,7 @@
 	{id:"r-gnome-term", label:"in Gnome terminal",
         path:"gnome-terminal --hide-menubar --working-directory='%cwd%' " +
 			"-t '%title%' -x '%Path%' %args%",
-        app:"R",
+        app:"gnome-terminal,R",
 		required:"gnome-terminal,R",
 		platform:"Lin"},
 	{id:"r-kde-term", label:"in Konsole",
@@ -66,22 +72,22 @@
 		required:"xfce4-terminal,R",
 		platform:"Lin"},
 	{id:"r-app", label:"R app",
-		path:"open -a \"%Path%\" \"%cwd%\"",
+		path:"open -a \"%Path%\" --args \"%cwd%\" %args%",
         app:"R.app",
 		required:"/Applications/R.app",
 		platform:"Mac"},
 	{id:"r64-app", label:"R64 app",
-		path:"open -a \"%Path%\" \"%cwd%\"",
+		path:"open -a \"%Path%\" --args \"%cwd%\" %args%",
         app:"R64.app",
 		required:"/Applications/R64.app",
 		platform:"Mac"},
 	{id:"svr-app", label:"SciViews R app",
-		path:"open -a \"%Path%\" \"%cwd%\"",
+		path:"open -a \"%Path%\" --args \"%cwd%\" %args%",
         app:"SciViews R.app",
 		required:"/Applications/SciViews R.app",
 		platform: "Mac"},
 	{id:"svr64-app", label:"SciViews R64 app",
-		path:"open -a \"%Path%\" \"%cwd%\"",
+		path:"open -a \"%Path%\" --args \"%cwd%\" %args%",
         app:"SciViews R64.app",
 		required:"/Applications/SciViews R64.app",
 		platform:"Mac"},
@@ -153,8 +159,7 @@
 	 case "posix": // On Mac OS X, os.name is posix!!!
         rs = ["/Applications/R.app", "/Applications/R64.app",
 			  "/Applications/SciViews R.app", "/Applications/SciViews R64.app",
-			  sv.tools.file.whereIs("R")];
-		// TODO: eliminate items not found on the disk!?
+			  sv.tools.file.whereIs("R")]; //, sv.tools.file.whereIs("svR")];
         break;
      default:
         rs = rs.concat(sv.tools.file.whereIs("R"));
@@ -201,7 +206,7 @@
 				res = true;
 				for (var k in required) {
 					// Take care that R.app on the Mac is a directory!
-					if (!sv.tools.file.whereIs(required[k]) &&
+					if ((sv.tools.file.whereIs(required[k]) == "") &&
 						(sv.tools.file.exists(required[k]) ==
 						sv.tools.file.TYPE_NONE)) res = false;
 				}			

Modified: komodo/SciViews-K/content/pref-R.xul
===================================================================
--- komodo/SciViews-K/content/pref-R.xul	2012-12-16 19:54:36 UTC (rev 492)
+++ komodo/SciViews-K/content/pref-R.xul	2012-12-17 15:51:00 UTC (rev 493)
@@ -231,7 +231,7 @@
 						<label value="Host to connect to:" control="sciviews.r.host" />
 						<textbox id="sciviews.r.host" pref="true" width="150"
 							tooltip="Currently only local connection is allowed"
-							disabled="true"/>
+							disabled="false"/>
 					</row>
 				</rows>
 			</grid>

Modified: komodo/SciViews-K/defaults/R reference (0.9.28).kpz
===================================================================
(Binary files differ)

Added: komodo/SciViews-K/defaults/data.table_1.8.6.tar.gz
===================================================================
(Binary files differ)


Property changes on: komodo/SciViews-K/defaults/data.table_1.8.6.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: komodo/SciViews-K/defaults/data.table_1.8.6.zip
===================================================================
(Binary files differ)


Property changes on: komodo/SciViews-K/defaults/data.table_1.8.6.zip
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: komodo/SciViews-K/defaults/svStart.R
===================================================================
--- komodo/SciViews-K/defaults/svStart.R	2012-12-16 19:54:36 UTC (rev 492)
+++ komodo/SciViews-K/defaults/svStart.R	2012-12-17 15:51:00 UTC (rev 493)
@@ -7,6 +7,7 @@
 ## Version 0.9.23, 2011-08-05 modified by Ph. Grosjean
 ## Version 0.9.25, 2011-12-28 modified by Ph. Grosjean
 ## Version 0.9.27, 2012-04-22 modified by Ph. Grosjean
+## Version 0.9.28, 2012-12-17 modified by Ph. Grosjean
 
 ## TODO: also use value in koDebug to debug server from within R!
 ## TODO: use the mechanism of startHttpServer() to retrieve default config
@@ -25,7 +26,7 @@
 remote.repos = "http://R-Forge.R-project.org", pkg.dir = ".",
 debug = Sys.getenv("koDebug") == "TRUE",
 pkgsLast = c("svKomodo", "SciViews"), # to be loaded at the end
-pkgsDontLoad = c("codetools", "svTools", "ellipse", "MASS"),
+pkgsDontLoad = c("codetools", "svTools", "ellipse", "data.table", "MASS"),
 skip = NULL)
 {
 	## Note (KB): it would make life a way easier to put all (and only)

Modified: komodo/SciViews-K/defaults/toolbox.zip
===================================================================
(Binary files differ)

Modified: komodo/TODO
===================================================================
--- komodo/TODO	2012-12-16 19:54:36 UTC (rev 492)
+++ komodo/TODO	2012-12-17 15:51:00 UTC (rev 493)
@@ -18,8 +18,6 @@
 
 * svIO and svViews in relation to objects explorer
 
-* Add R language entry in Help menu
-
 * GUI for vignettes and demos
 
 * doBraceMatch()
@@ -32,9 +30,9 @@
 
 * Make Rd syntax highlighting; sweave later on
 
-* R Linter does not work under Windows
+* R Linter does not work when non-ascii characters are used in an .R file
 
-* Rework SciViews-K Unit to work with Komodo 6
+* Rework SciViews-K Unit to work with Komodo 6 and 7
 
 * Make the User's and Developer's manuals
 
@@ -80,6 +78,47 @@
 
 * Rework method to gray out menus
 
+* Calltips and completion lists do not work any more in SciViuews-K 0.9.28
+
+* Bookmark clicks are broken on Komodo 7 when the SciViews-K plugin 0.9.28 is installed
+
+* When entering a multiline R expression and running the last line, message still asks for more
+
+* Make sure to clear R objects in the explorer pane when R quits
+
+* RWiki style + add RWiki language + debug it
+
+* Add R32, R64, svR32 and svR64 apps for Mac... + JGR?
+
+* Test RStudio Shiny?
+
+* R objects autoupdate
+
+* Refine the style of the R Objects pane in ko7
+
+* Piping of R commands
+
+* Finish the internal R console
+
+* Allow for toolboxes attached to R packages
+
+* Extension buiding in ko6 and ko7
+
+* Rework the variable delete comand in R Objects
+
+* In the export as text command in R Objects, cancel the dialog box => try to save to "null"
+
+* R file source from R Objects works, but silently. Issue a visible command instead
+
+* Command line args are not wokring with Mac R(64).app
+
+* The new variables autohighlight feature of ko7 does not work with R code
+
+* Use more notifications for ko7
+
+* Show/hide variables with names starting with a dot in R Objects
+
+
 Not really *named* regions, but an easy way to run portions of code quickly in SciViews-K (http://www.sciviews.org/SciViews-K):
 * R -> Run marked block (or Ctrl+Shift+M) runs code between two bookmarks,
 * R -> Run function (or Ctrl+Shift+F) runs the code of the whole current function (you may prefer R -> Source function in this particular case),



More information about the Sciviews-commits mailing list