Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions r/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
<exclude>**/derby.log</exclude>
<exclude>**/metastore_db/</exclude>
<exclude>**/README.md</exclude>
<exclude>**/interpreter-setting.json</exclude>
<exclude>**/dependency-reduced-pom.xml</exclude>
</excludes>
</configuration>
Expand Down
6 changes: 0 additions & 6 deletions r/src/main/java/org/apache/zeppelin/rinterpreter/KnitR.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
public class KnitR extends Interpreter implements WrappedInterpreter {
KnitRInterpreter intp;

static {
Interpreter.register("knitr", "spark", KnitR.class.getName(),
RInterpreter.getProps()
);
}

public KnitR(Properties property, Boolean startSpark) {
super(property);
intp = new KnitRInterpreter(property, startSpark);
Expand Down
6 changes: 0 additions & 6 deletions r/src/main/java/org/apache/zeppelin/rinterpreter/RRepl.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@
public class RRepl extends Interpreter implements WrappedInterpreter {
RReplInterpreter intp;

static {
Interpreter.register("r", "spark", RRepl.class.getName(),
RInterpreter.getProps()
);
}

public RRepl(Properties property, Boolean startSpark) {
super(property);
intp = new RReplInterpreter(property, startSpark);
Expand Down
14 changes: 14 additions & 0 deletions r/src/main/resources/interpreter-setting.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"group": "spark",
"name": "knitr",
"className": "org.apache.zeppelin.rinterpreter.KnitR",
"properties": null
},
{
"group": "spark",
"name": "r",
"className": "org.apache.zeppelin.rinterpreter.RRepl",
"properties": null
}
]