Skip to content

Commit aae2f94

Browse files
committed
README.md: Update readme
Signed-off-by: Ce Gao <ce.gao@outlook.com>
1 parent f7a0583 commit aae2f94

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

readme.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
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
```
2231
posAX <- 11

src/rprocessing/Runner.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
import rprocessing.util.RScriptReader;
1515
import rprocessing.util.StreamPrinter;
1616

17+
/**
18+
* R script runner
19+
* @author github.com/gaocegege
20+
*/
1721
public class Runner {
1822

1923
public static RunnableSketch sketch;

0 commit comments

Comments
 (0)