RedPort-class {RedeR} | R Documentation |
Class "RedPort"
Description
A class providing access to the RedeR application.
Slots
title
:The name of the XML-RPC port.
uri
:The uri to the XML-RPC server.
host
:The host to the XML-RPC server.
port
:The port number to the XML-RPC server.
Methods
Get node attributes from a RedeR session
- getNodes
- getNodeIDs
Get edge attributes from a RedeR session
- getEdges
- getEdgeIDs
- getSourceEdgeIDs
- getTargetEdgeIDs
Methods that change graph structure
- addGraph
- getGraph
- addNodes
- deleteNodes
- nestNodes
- updateContainerSize
- mergeOutEdges
- getContainerComponets
- mergeNodes
- addEdges
- addEdgeBetweenContainers
- deleteEdges
- setArrowDirection
Methods to wrap up attributes and add/get graphs to/from RedeR
- addGraph
- getGraph
- addSubgraph
- addSeries
- duplicateGraph
Other methods to manipulate RedeR graphs
- updateGraph
- selectEdges
- selectNodes
- selectAllEdges
- selectAllNodes
- selectGraph
- deSelectEdges
- deSelectNodes
- deSelectGraph
- deleteSelectedEdges
- deleteSelectedNodes
- isDynamicsActive
Methods to establish RedeR server connection
- ping
- version
- calld
- exitd
- resetd
Details
RedPort methods invoke RedeR application via XML-RPC (remote procedure call) server.
For each R method listed above there is a Java mirror that executes a callback procedure.
Therefore, the Java callback engine must be initialized before any callback from RedeR (i.e. start the Java application).
Author(s)
Mauro Castro
See Also
RedPort
Examples
# Creates a RedeR object by calling the constructor
rdp <- RedPort('MyPort')
[Package
RedeR version 1.36.0
Index]