File tree Expand file tree Collapse file tree 2 files changed +20
-7
lines changed
Expand file tree Collapse file tree 2 files changed +20
-7
lines changed Original file line number Diff line number Diff line change 1- # R Mode for Processing
1+ # Processing.R [ WIP ]
22
3- Something like [ processing.py ] ( https://github.com/jdf/processing.py )
3+ Processing.R is R mode in Processing, allows the users to write sketches in R
44
5- WIP now.
5+ something like [ processing.py ] ( https://github.com/jdf/processing.py )
66
7- ## Demo
7+ Now Processing.R is still in early development stage, and now
88
9- ### Editor
9+ ### Editor Support
1010
11- Change ` processing.modes ` in build.xml, and run ` ant install ` , you will get a mode in your ` processing.modes ` .
11+ Change ` processing.modes ` in build.xml, and run ` ant install ` , you will get a mode in ` processing/modes ` .
12+
13+ ``` xml
14+ <!-- folder to install modes in (probably a folder called "modes" inside your sketchbook folder) -->
15+ <property name =" processing.modes" location =" /Users/gaoce/Documents/Processing/modes" />
16+ <!-- path to your processing executable. -->
17+ <property name =" processing.executable" location =" /Applications/Processing.app/Contents/MacOS/Processing" />
18+ ```
1219
1320<img src =" ./docs/img/editor.png " width =" 600 " >
1421
1522<img src =" ./docs/img/demo.gif " width =" 600 " >
1623
1724### Runner.jar
1825
19- Run ` ant try ` , you will get a runner demo in ` try/ ` , and run ` java -jar ./try/RLangMode.jar <your R script> ` .
26+ Processing.R offers a jar, which allows to have a try without the installation of Processing app.
27+
28+ Run ` ant try ` , you will get a runner in ` try/ ` , and run ` java -jar ./try/RLangMode.jar <your R script> ` .
2029
2130```
2231posAX <- 11
Original file line number Diff line number Diff line change 1414import rprocessing .util .RScriptReader ;
1515import rprocessing .util .StreamPrinter ;
1616
17+ /**
18+ * R script runner
19+ * @author github.com/gaocegege
20+ */
1721public class Runner {
1822
1923 public static RunnableSketch sketch ;
You can’t perform that action at this time.
0 commit comments