Hi, Leonardo and Stefan,

I have forked the following
https://github.com/elbamos/incubator-zeppelin/tree/rinterpreter/ and after
resolving some build issues , I was able to get R running successfully on
my local machine. I would be committing my code to my local repo in short
while from now. You can give it a try.
Also, Leonardo, I think for rendering R graphics inline on the zeppelin,
you got to install the repr package in R, now repr also is not a standard
package in R but you can it via the following command.
devtools::install_github("IRkernel/repr")

Regards,
Ashish


On Mon, Sep 28, 2015 at 8:18 AM, Leonardo Foderaro <startrac...@gmail.com>
wrote:

> Hi Stefan,
> I am working on a similar task, an R Interpreter for Zeppelin.
> Since I started from scratch my version is still quite essential (e.g. no
> completion and no knitr yet) but I'm not getting your error. I can execute
> multiple R paragraphs while keeping different Rserve sessions (one per
> notebook)
> On the other hand I'm facing some problems with graphics, I'd like to
> include the beautiful R plotting capabilities in my Interpreter but (I
> still don't know why) it isn't working yet.
> However tomorrow I'll push my local repo so if you want you can give it a
> try to see if it solves your run-and-restart issue.
>
> best regards,
> Leonardo
>
>
>
>
>
>
> On Sunday, September 27, 2015, Stefan Thorbjørn Blixen-Finecke <
> stf...@gmail.com> wrote:
>
>> Apologies if this has already been asked and answered.
>>
>> Is the best way to get an R interpreter in Zeppelin the guide below?
>>
>> https://github.com/datalayer/zeppelin-R
>>
>> I’ve followed the instructions provided and set up an interpreter within
>> Zeppelin as pr.
>> https://zeppelin.incubator.apache.org/docs/development/writingzeppelininterpreter.html
>>
>> However I can only run a command once successfully before the interpreter
>> fails (for the same command) with the following (from the log file):
>>
>>  INFO [2015-09-27 20:11:27,856] ({pool-2-thread-2}
>> RInterpreter.java[interpret]:101) - Run R command 'R.version.string'
>> ERROR [2015-09-27 20:11:29,137] ({pool-2-thread-2}
>> RInterpreter.java[interpret]:130) - Exception while connecting to Rserve
>> org.rosuda.REngine.Rserve.RserveException: voidEval failed
>> at org.rosuda.REngine.Rserve.RConnection.voidEval(RConnection.java:209)
>> at io.datalayer.zeppelin.R.RInterpreter.interpret(RInterpreter.java:117)
>>
>> The interpreter has to be restarted from the zeppelin interpreter menu
>> before it can execute another command. Has anyone had any luck setting this
>> up? If yes, where any additional steps required?
>>
>> Best regards
>> Stefan
>>
>

Reply via email to