R console tab: Difference between revisions

From visone manual
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


* '''r name''': defines the name of the igraph network variable in R that the visone network is assigned to (by default this is the name that was assigned to the network in visone...)
* '''r name''': defines the name of the igraph network variable in R that the visone network is assigned to (by default this is the name that was assigned to the network in visone...)
* '''send active net''': '''send''' the network from the active visone tab to R, creating an igraph network variable with the speficied r name (this will open the console, if it has not been shown yet)
* '''send active net''': '''send''' the network from the active visone tab to R, creating an igraph network variable with the specified r name (this will open the console, if it has not been shown yet)
* '''show r varibles''': '''refresh'''  the overview of network objects that are available in R (shown below the refresh button)
* '''show r variables''': '''refresh'''  the overview of network objects that are available in R (shown below the refresh button)
* '''load selected net''': '''load''' the network object that is selected in the overview from R to a new visone tab (the name of the network will be the name of the R object; the asterisk reminds you, that it has not been saved yet); alternatively you can double-click on the according network object in the overview
* '''load selected net''': '''load''' the network object that is selected in the overview from R to a new visone tab (the name of the network will be the name of the R object; the asterisk reminds you, that it has not been saved yet); alternatively you can double-click on the according network object in the overview


Line 14: Line 14:
== console ==
== console ==


There are three tabs displaying different messsages regarding the R connection:
There are three tabs displaying different messages regarding the R connection:
* '''visone''': all messages that originate from visone
* '''visone''': all messages that originate from visone
* '''user''': all messages that originate from user input in the console
* '''user''': all messages that originate from user input in the console

Revision as of 09:52, 20 December 2010

The R console tab enables to send network data from visone to R (using the igraph package) and vice versa. Refer to visone's option dialog to get more information on how to set up the visone R connection.

tab

  • r name: defines the name of the igraph network variable in R that the visone network is assigned to (by default this is the name that was assigned to the network in visone...)
  • send active net: send the network from the active visone tab to R, creating an igraph network variable with the specified r name (this will open the console, if it has not been shown yet)
  • show r variables: refresh the overview of network objects that are available in R (shown below the refresh button)
  • load selected net: load the network object that is selected in the overview from R to a new visone tab (the name of the network will be the name of the R object; the asterisk reminds you, that it has not been saved yet); alternatively you can double-click on the according network object in the overview
  • show console: this button is used to (re)show the console without sending a network


console

There are three tabs displaying different messages regarding the R connection:

  • visone: all messages that originate from visone
  • user: all messages that originate from user input in the console
  • all: both, user and visone messages

At the bottom of the console you find the

  • input field that can be used to invoke any R commands
  • close button that closes the R console window (but not the connection to R)