|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.rosuda.JGR.JGR
public class JGR
JGR, Java Gui for R JGR is just a new Gui for R http://www.r-project.org , written in
Java.
Thus it is (should) be platform-indepent. Currently we have several problems
on *nix machines.
JGR uses JRI and rJava for talking
with R, and the JavaGD- Device
all written by Simon Urbanek.
RoSuDa 2003 - 2005
| Field Summary | |
|---|---|
static String |
AUTHOR1
Author JGR (used for displaying the splashscreen) |
static String |
AUTHOR2
Author JRI, rJava and JavaGD (used for displaying the splashscreen) |
static Vector |
DATA
Current data-sets (data.frames, matrix, ...) |
static String |
DEVELTIME
Develtime (used for displaying the splashscreen) |
static Vector |
FUNCTIONS
Current functions |
static String |
INSTITUTION
Organization (used for displaying the splashscreen) |
static HashMap |
KEYWORDS
Keywords for syntaxhighlighting |
static HashMap |
KEYWORDS_OBJECTS
Keywords (objects) for syntaxhighlighting |
static JGRConsole |
MAINRCONSOLE
Main-console window |
static Vector |
MODELS
Current models |
static Vector |
OBJECTS
Current objects in workspace |
static Vector |
OTHERS
Current data not in DATA DATA |
static Rengine |
R
Rengine Rengine, needed for executing R-commands |
static Vector |
RHISTORY
The history of current session. |
static String |
RHOME
RHOME path of current used R |
static String[] |
RLIBS
RLIB pathes, where we can find the user's R-packages |
static ConsoleSync |
rSync
ConsoleSnyc org.rosuda.JRG.toolkit.ConsoleSync |
static SplashScreen |
splash
Splashscreen |
static String |
SPLASH
Filename of the splash-image (used for displaying the splashscreen) |
static boolean |
STARTED
Indicates wether the Rengine is up or not |
static String |
SUBTITLE
Subtitle (used for displaying the splashscreen) |
static String |
TITLE
Title (used for displaying the splashscreen) |
static String |
VERSION
Version number of JGR |
static String |
WEBSITE
Website of organization (used for displaying the splashscreen) |
| Constructor Summary | |
|---|---|
JGR()
Starting the JGR Application (javaside) |
|
| Method Summary | |
|---|---|
static void |
addMenu(String name)
Add new Menu at runtime to Console. |
static void |
addMenuItem(String menu,
String name,
String cmd)
Add MenuItem at runtime to ConsoleMenu. |
static void |
addMenuSeparator(String menu)
Add MenuSeparator at runtime. |
static String |
exit()
Exits JGR, but not before asked the user if he wants to save his workspace. |
static boolean |
isJGRmain()
return the value of the JGRmain flag |
static void |
main(String[] args)
Starts JGR options: --debug: enable debug information or any other option supported by R. |
static void |
readHistory()
If there is a file named .Rhistory in the user's home path we load his commands to current history. |
static void |
setKeyWords(String word)
Set keywords for highlighting. |
static void |
setKeyWords(String[] words)
Set keywords for highlighting. |
static void |
setObjects(String object)
Set objects for hightlighting. |
static void |
setObjects(String[] objects)
Set objects for hightlighting. |
static void |
setRHome(String rhome)
Set R_HOME (in java app). |
static void |
setRLibs(String lib)
Set R_LIBS (in java app). |
static void |
setRLibs(String[] libs)
Set R_LIBS (in java app). |
static void |
writeHistory()
Write the commands of current session to .Rhistory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VERSION
public static final String TITLE
public static final String SUBTITLE
public static final String DEVELTIME
public static final String INSTITUTION
public static final String AUTHOR1
public static final String AUTHOR2
public static final String WEBSITE
public static final String SPLASH
public static JGRConsole MAINRCONSOLE
public static Vector RHISTORY
public static String RHOME
public static String[] RLIBS
public static Rengine R
Rengine, needed for executing R-commands
public static ConsoleSync rSync
org.rosuda.JRG.toolkit.ConsoleSync
public static Vector DATA
public static Vector MODELS
public static Vector OTHERS
DATA
public static Vector FUNCTIONS
public static Vector OBJECTS
public static HashMap KEYWORDS
public static HashMap KEYWORDS_OBJECTS
public static boolean STARTED
public static SplashScreen splash
| Constructor Detail |
|---|
public JGR()
| Method Detail |
|---|
public static String exit()
public static void addMenu(String name)
name - MenuName
public static void addMenuItem(String menu,
String name,
String cmd)
menu - MenuNamename - ItemNamecmd - Commandpublic static void addMenuSeparator(String menu)
menu - MenuNamepublic static void setRHome(String rhome)
rhome - RHOME pathpublic static void setRLibs(String lib)
lib - Library pathpublic static void setRLibs(String[] libs)
libs - Library pathespublic static void setKeyWords(String word)
word - This word will be highlightedpublic static void setKeyWords(String[] words)
words - These words will be highlightedpublic static void setObjects(String object)
object - This object will be highlightedpublic static void setObjects(String[] objects)
objects - These words will be highlightedpublic static void readHistory()
public static void writeHistory()
public static boolean isJGRmain()
JGRmain flag
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||