guiInstall {svGUI}R Documentation

Install and uninstall hooks for communicating with the GUI client (Komodo)

Description

Install functions in TempEnv and callbacks required to communicate with Komodo Edit with the SciViews-K extension (see http://www.sciviews.org/SciViews-K).

Usage

guiInstall()
guiUninstall()

Details

The minimum instruction to install the communication with Komodo/SciViews-K is to use: options(ko.serve = 8888); require(svGUI). When the ko.serve option is set, svGUI loads svSocket, starts the socket server litening to the port you provide (8888 by default), and install the hooks and callbacks required to fully communicate with Komodo.

Before loading svGUI, you can also set option(ko.port = 7052) or another port number where the Komodo SciViews-K server is listening (7052 is the default value). If the Komodo client is running on a different machine, you should also set ko.host = "xxx.xxx.xxx.xxx", where xxx.xxx.xxx.xxx is the IP address of the Komodo client's machine, before loading svGUI (note that running R and Komodo on separate machines is not supported yet, but this is a planned feature and corresponding configurations are already recognized; just, distant server is currently locked until we will build a better security mechanism in the server (SSL, TSL, ...).

All these operations are done by Komodo if you start R from Komodo with SciViews-K extension installed.

Value

Nothing.

Author(s)

Philippe Grosjean (phgrosjean@sciviews.org)

See Also

koCmd


[Package svGUI version 0.9-44 Index]