You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Jan Botorek <Ja...@infor.com> on 2017/01/02 08:47:54 UTC

RE: R interpreter not available

Hello,
Thank you very much for help! I proceeded just like you adviced – creating of the new interpreter helped.

Regards,
Jan

From: Ahyoung Ryu [mailto:ahyoungryu@apache.org]
Sent: Friday, December 30, 2016 4:28 PM
To: users@zeppelin.apache.org
Subject: Re: R interpreter not available

Hi Jan,

Yes. I meant you need to create another Spark interpreter in the interpreter setting page. Actually you don't need to remove the former Spark interpreter, you can use another name for the new one e.g. Spark2.

[Inline image 1]

then go back to your note and open interpreter binding page(after creating new interpreter, need to bind it first to use it). And click "spark2" to make it bound to the note. The new interpreter(spark2) should include "%r" in this time like below. [Inline image 3]

Hope this helps.

Thanks,
Ahyoung





On Fri, Dec 30, 2016 at 11:06 PM, Jan Botorek <Ja...@infor.com>> wrote:
Hi,
I am sorry but I don’t understand what you mean by recreating the interpreter settings.
Do you mean that I should remove the interpreter and fill again all values?
Or is there some functionality how to re-create the interpreter by some script or so?

Thank you for your help,
Regards,
Jan Botorek

From: Ahyoung Ryu [mailto:ahyoungryu@apache.org<ma...@apache.org>]
Sent: Friday, December 30, 2016 12:30 PM

To: users@zeppelin.apache.org<ma...@zeppelin.apache.org>
Subject: Re: R interpreter not available

Hi Jan,

Thanks for your reply!
Can you try to recreate Spark interpreter in the interpreter setting page?

Best,
Ahyoung


On Thu, Dec 29, 2016 at 5:24 PM, Jan Botorek <Ja...@infor.com>> wrote:
Hello,
My build command is as followed:
mvn clean package -Pspark-2.0 -Phadoop-2.7 -Pscala-2.11 -Pr -Psparkr –DskipTests

Interpreter binding:
[cid:image007.png@01D264DD.4957B340]
[cid:image008.png@01D264DD.4957B340]

Furtermore, I can see that the building process was successful in all steps:
[cid:image009.png@01D264DD.4957B340]

Therefore, I am confused what I’ve done wrong...

Thank you for help,
Regards,

Jan

From: Ahyoung Ryu [mailto:ahyoungryu@apache.org<ma...@apache.org>]
Sent: Tuesday, December 27, 2016 2:01 AM

To: users@zeppelin.apache.org<ma...@zeppelin.apache.org>
Subject: Re: R interpreter not available

Hi Jan,

Can you share your build command and interpreter binding page like below? If you build Zeppelin source successfully, R interpreter(e.g. %r) should be found in Spark interpreter group like %dep, %pyspark, and %sql.

[Inline image 3]

And don't forget to click "Save" button under the page.

Best,
Ahyoung

On Sat, Dec 24, 2016 at 1:40 AM, Jan Botorek <Ja...@infor.com>> wrote:
Hello,
I have already tried that – it is the same situation as described formerly – „R Interpreter Not Found“.


From: Jeff Zhang [mailto:zjffdu@gmail.com<ma...@gmail.com>]
Sent: Friday, December 23, 2016 1:20 AM
To: users@zeppelin.apache.org<ma...@zeppelin.apache.org>
Subject: Re: R interpreter not available

please try

%spark.r



Jan Botorek <Ja...@infor.com>>于2016年12月23日周五 上午12:33写道:
Hello,
I have a problem with running R interpreter - Specifically, R is not visible among available interpreters.
So far, I installed R language packages to my system (Ubuntu) = I am able to run R commands in shell.
When I download latest version of Zeppelin from Git, try to compile it using –Pr and also –Psparkr, the spark interpreter is not found.

When trying to run a command e.g.
%r (%spark.r)
4 + 4

Zeppelin returns: “r interpreter not found”

Please, do you have any experience how to include R into the Zeppelin?

Thank you,
Regards,

Jan