|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rosuda.deducer.Deducer
public class Deducer
Field Summary | |
---|---|
static java.lang.String |
guiEnv
|
static boolean |
insideJGR
|
static boolean |
started
|
Constructor Summary | |
---|---|
Deducer(boolean jgr)
|
Method Summary | |
---|---|
static java.lang.String |
addSlashes(java.lang.String str)
|
void |
detach()
|
static REXP |
eval(java.lang.String cmd)
|
static void |
execute(java.lang.String cmd)
|
static void |
execute(java.lang.String cmd,
boolean hist)
|
static void |
executeAndContinue(java.lang.String cmd)
|
static java.util.Vector |
getData()
|
static RConnector |
getRConnector()
|
static java.lang.String |
getRecentData()
|
static REngine |
getREngine()
|
static java.lang.String |
getUniqueName(java.lang.String var)
Gets a unique name based on a starting string |
static java.lang.String |
getUniqueName(java.lang.String var,
java.lang.String envName)
Gets a unique name based on a starting string |
static REXP |
idleEval(java.lang.String cmd)
|
static void |
insertJMenuItem(javax.swing.JFrame f,
java.lang.String menu,
java.lang.String name,
java.lang.String command,
java.awt.event.ActionListener al,
int index)
|
static void |
insertMenu(javax.swing.JFrame f,
java.lang.String name,
int index)
|
static boolean |
isInstalled(java.lang.String packageName)
is package installed |
static boolean |
isJGR()
|
static boolean |
isLoaded(java.lang.String packageName)
is package loaded |
static java.lang.String |
makeFormula(javax.swing.DefaultListModel outcomes,
javax.swing.DefaultListModel terms)
|
static java.lang.String |
makeRCollection(java.util.Collection lis,
java.lang.String func,
boolean quotes)
|
static java.lang.String |
makeRCollection(javax.swing.ListModel lis,
java.lang.String func,
boolean quotes)
|
static java.lang.String |
makeRCollection(java.lang.String[] lis,
java.lang.String func,
boolean quotes)
|
static java.lang.String |
makeValidVariableName(java.lang.String var)
|
static void |
refreshData()
|
static java.lang.String |
requirePackage(java.lang.String packageName)
Checks if package is installed, and asks to install if not. |
static void |
runCmd(java.lang.String cmd,
boolean fromConsole)
|
static void |
runCmdThreaded(java.lang.String cmd)
|
static void |
setRConnector(RConnector rc)
|
static void |
setRecentData(java.lang.String data)
|
void |
startNoJGR()
|
static void |
startViewerAndWait()
|
void |
startWithJGR()
|
static void |
threadedEval(java.lang.String cmd)
|
static REXP |
timedEval(java.lang.String cmd)
|
static REXP |
timedEval(java.lang.String cmd,
boolean ask)
|
static REXP |
timedEval(java.lang.String cmd,
int interval,
boolean ask)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String guiEnv
public static boolean insideJGR
public static boolean started
Constructor Detail |
---|
public Deducer(boolean jgr)
Method Detail |
---|
public void startNoJGR()
public void startWithJGR()
public static boolean isJGR()
public void detach()
public static void startViewerAndWait()
public static java.lang.String addSlashes(java.lang.String str)
public static void runCmdThreaded(java.lang.String cmd)
public static void runCmd(java.lang.String cmd, boolean fromConsole)
public static void insertMenu(javax.swing.JFrame f, java.lang.String name, int index)
public static void insertJMenuItem(javax.swing.JFrame f, java.lang.String menu, java.lang.String name, java.lang.String command, java.awt.event.ActionListener al, int index)
public static java.lang.String getRecentData()
public static void setRecentData(java.lang.String data)
public static REngine getREngine()
public static RConnector getRConnector()
public static void setRConnector(RConnector rc)
public static REXP eval(java.lang.String cmd)
public static void threadedEval(java.lang.String cmd)
public static REXP timedEval(java.lang.String cmd)
public static REXP timedEval(java.lang.String cmd, boolean ask)
public static REXP timedEval(java.lang.String cmd, int interval, boolean ask)
public static REXP idleEval(java.lang.String cmd)
public static void execute(java.lang.String cmd)
public static void execute(java.lang.String cmd, boolean hist)
public static void executeAndContinue(java.lang.String cmd)
public static java.lang.String makeValidVariableName(java.lang.String var)
public static java.lang.String makeFormula(javax.swing.DefaultListModel outcomes, javax.swing.DefaultListModel terms)
public static java.lang.String makeRCollection(java.util.Collection lis, java.lang.String func, boolean quotes)
public static java.lang.String makeRCollection(javax.swing.ListModel lis, java.lang.String func, boolean quotes)
public static java.lang.String makeRCollection(java.lang.String[] lis, java.lang.String func, boolean quotes)
public static java.lang.String getUniqueName(java.lang.String var)
var
-
public static java.lang.String getUniqueName(java.lang.String var, java.lang.String envName)
var
- envName
- The name of the enviroment in which to look
public static boolean isInstalled(java.lang.String packageName)
packageName
-
public static boolean isLoaded(java.lang.String packageName)
packageName
-
public static java.lang.String requirePackage(java.lang.String packageName)
packageName
-
public static void refreshData()
public static java.util.Vector getData()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |