[Sciviews-commits] r558 - in pkg: SciViews svDialogs svDialogstcltk svGUI svHttp svHttp/man svIDE svKomodo svMisc svSocket svSweave svTools svUnit tcltk2

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Mar 6 14:37:56 CET 2015


Author: phgrosjean
Date: 2015-03-06 14:37:56 +0100 (Fri, 06 Mar 2015)
New Revision: 558

Modified:
   pkg/SciViews/DESCRIPTION
   pkg/svDialogs/DESCRIPTION
   pkg/svDialogstcltk/DESCRIPTION
   pkg/svGUI/DESCRIPTION
   pkg/svHttp/DESCRIPTION
   pkg/svHttp/man/httpServer.Rd
   pkg/svIDE/DESCRIPTION
   pkg/svKomodo/DESCRIPTION
   pkg/svMisc/DESCRIPTION
   pkg/svSocket/NEWS
   pkg/svSweave/DESCRIPTION
   pkg/svTools/DESCRIPTION
   pkg/svUnit/DESCRIPTION
   pkg/tcltk2/DESCRIPTION
Log:
Examples added to svHttp + dot at the end of description sentences

Modified: pkg/SciViews/DESCRIPTION
===================================================================
--- pkg/SciViews/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/SciViews/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -10,7 +10,7 @@
 Depends: R (>= 2.6.0), methods, grDevices, graphics, stats, MASS
 Imports: ellipse
 Enhances: base
-Description: Functions to install SciViews additions to R, and more (various) tools
+Description: Functions to install SciViews additions to R, and more (various) tools.
 License: GPL-2
 ByteCompile: yes
 URL: http://www.sciviews.org/SciViews-R

Modified: pkg/svDialogs/DESCRIPTION
===================================================================
--- pkg/svDialogs/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svDialogs/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -9,8 +9,7 @@
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.6.0), svGUI (>= 0.9-52)
 SystemRequirements: zenity
-Description: Rapidly construct dialog boxes for your GUI, including an automatic
-  function assistant
+Description: Rapidly construct dialog boxes for your GUI, including an automatic function assistant.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svDialogstcltk/DESCRIPTION
===================================================================
--- pkg/svDialogstcltk/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svDialogstcltk/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -9,7 +9,7 @@
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.6.0), svDialogs (>= 0.9-50), tcltk
 Imports: svGUI (>= 0.9-52)
-Description: Reimplementation of the svDialogs dialog boxes in Tcl/Tk
+Description: Reimplementation of the svDialogs dialog boxes in Tcl/Tk.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svGUI/DESCRIPTION
===================================================================
--- pkg/svGUI/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svGUI/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -8,7 +8,7 @@
   email = "phgrosjean at sciviews.org"))
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.6.0)
-Description: Functions to manage GUIs from R
+Description: Functions to manage GUIs from R.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svHttp/DESCRIPTION
===================================================================
--- pkg/svHttp/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svHttp/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -1,7 +1,7 @@
 Package: svHttp
 Type: Package
-Version: 0.9-56
-Date: 2015-02-05
+Version: 0.9-57
+Date: 2015-03-06
 Title: SciViews GUI API - R HTTP server
 Author: Philippe Grosjean [aut, cre]
 Authors at R: c(person("Philippe", "Grosjean", role = c("aut", "cre"),
@@ -10,7 +10,7 @@
 Depends: R (>= 2.11.0)
 Imports: tools, svMisc (>= 0.9-68)
 Suggests: svSocket
-Description: Implements a simple HTTP server allowing to connect GUI clients to R
+Description: Implements a simple HTTP server allowing to connect GUI clients to R.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svHttp/man/httpServer.Rd
===================================================================
--- pkg/svHttp/man/httpServer.Rd	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svHttp/man/httpServer.Rd	2015-03-06 13:37:56 UTC (rev 558)
@@ -57,6 +57,29 @@
 
 \seealso{ \code{\link[svSocket]{startSocketServer}} }
 
+\examples{
+## Try to start the HTTP server on default port with default name
+res <- try(startHttpServer(), silent = TRUE)
+if (!inherits(res, "try-error")) {
+    ## Get the port
+    HttpServerPort()
+
+    ## Get the name
+    HttpServerName()
+  
+    ## Get the list of clients... empty, unless you connect a client in between
+    HttpClientsNames()
+  
+    ## Stop the server now
+    stopHttpServer()
+}
+
+## You need to implement a client... see in \etc a simple client implemented
+## in Tcl. You can also look at SciViews-K
+## (http://http://www.sciviews.org/SciViews-K)
+## for an example of a client implemented in Mozilla/JavaScript
+}
+
 \keyword{ IO }
 
 \concept{ interprocess commnunication Komodo }

Modified: pkg/svIDE/DESCRIPTION
===================================================================
--- pkg/svIDE/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svIDE/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -9,7 +9,7 @@
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.6.0)
 Imports: utils, tcltk, svMisc, XML
-Description: Function for the GUI API to interact with external IDE/code editors
+Description: Function for the GUI API to interact with external IDE/code editors.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svKomodo/DESCRIPTION
===================================================================
--- pkg/svKomodo/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svKomodo/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -11,8 +11,7 @@
 Imports: utils
 Suggests: svHttp, svSocket
 SystemRequirements: Komodo Edit (http://www.openkomodo.com), SciViews-K (http://www.sciviews.org/SciViews-K)
-Description: Functions to manage the GUI client, like Komodo with the
-  SciViews-K extension
+Description: Functions to manage the GUI client, like Komodo with the SciViews-K extension.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svMisc/DESCRIPTION
===================================================================
--- pkg/svMisc/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svMisc/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -16,7 +16,7 @@
 Imports: utils, methods, tools
 Depends: R (>= 2.13.0)
 Suggests: svUnit, rJava
-Description: Supporting functions for the GUI API (various utility functions)
+Description: Supporting functions for the GUI API (various utility functions).
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svSocket/NEWS
===================================================================
--- pkg/svSocket/NEWS	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svSocket/NEWS	2015-03-06 13:37:56 UTC (rev 558)
@@ -3,6 +3,9 @@
 == Changes in svSocket 0.9-57
 
 * /testCLI directory moved to /inst/testCLI.
+
+* An example is added that tests/demonstrates how to start, query and stop
+  a SciViews HTTP server from within R.
  
 
 == Changes in svSocket 0.9-56

Modified: pkg/svSweave/DESCRIPTION
===================================================================
--- pkg/svSweave/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svSweave/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -9,7 +9,7 @@
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.6.0), knitr
 Imports: utils
-Description: Supporting functions for the GUI API (Sweave functions)
+Description: Supporting functions for the GUI API (Sweave functions).
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svTools/DESCRIPTION
===================================================================
--- pkg/svTools/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svTools/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -12,9 +12,7 @@
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 2.6.0)
 Imports: utils, tools, codetools, svMisc
-Description: Set of tools aimed at wrapping some of the functionalities
-  of the packages tools, utils and codetools into a nicer format so
-  that an IDE can use them
+Description: Set of tools aimed at wrapping some of the functionalities of the packages tools, utils and codetools into a nicer format so that an IDE can use them.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R, http://romainfrancois.blog.free.fr/
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/svUnit/DESCRIPTION
===================================================================
--- pkg/svUnit/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/svUnit/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -9,7 +9,7 @@
 Maintainer: Philippe Grosjean <phgrosjean at sciviews.org>
 Depends: R (>= 1.9.0)
 Suggests: svGUI, datasets, utils, XML
-Description: A complete unit test system and functions to implement its GUI part
+Description: A complete unit test system and functions to implement its GUI part.
 License: GPL-2
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194

Modified: pkg/tcltk2/DESCRIPTION
===================================================================
--- pkg/tcltk2/DESCRIPTION	2015-02-05 12:39:02 UTC (rev 557)
+++ pkg/tcltk2/DESCRIPTION	2015-03-06 13:37:56 UTC (rev 558)
@@ -10,9 +10,7 @@
 Depends: R (>= 2.8.0), tcltk
 Suggests: utils
 SystemRequirements: Tcl/Tk (>= 8.5), Tktable (>= 2.9, optional)
-Description: A series of additional Tcl commands and Tk widgets with style
-  and various functions (under Windows: DDE exchange, access to the
-  registry and icon manipulation) to supplement the tcltk package
+Description: A series of additional Tcl commands and Tk widgets with style and various functions (under Windows: DDE exchange, access to the registry and icon manipulation) to supplement the tcltk package.
 License: LGPL-3 + file LICENSE 
 URL: http://www.sciviews.org/SciViews-R
 BugReports: https://r-forge.r-project.org/tracker/?group_id=194



More information about the Sciviews-commits mailing list