Hello. You need to install knitr pacakge and some other packages[1] to run R interpreter properly.
Hope this helps. [1] http://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/interpreter/r.html 2016-10-21 21:56 GMT+09:00 VIVEK NARAYANASETTY <vive....@gmail.com>: > Hi, > > I am getting below error when testing R interpreter. Any thoughts ? > > %r 2+2 > > 16/10/21 18:22:53 ERROR Job: Job failed > java.lang.RuntimeException: Error in library("knitr"): there is no package > called 'knitr' > > at org.apache.zeppelin.spark.ZeppelinR.request(ZeppelinR.java:254) > at org.apache.zeppelin.spark.ZeppelinR.eval(ZeppelinR.java:179) > at org.apache.zeppelin.spark.SparkRInterpreter.open( > SparkRInterpreter.java:86) > at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open( > LazyOpenInterpreter.java:69) > at org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret( > LazyOpenInterpreter.java:93) > at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$ > InterpretJob.jobRun(RemoteInterpreterServer.java:341) > at org.apache.zeppelin.scheduler.Job.run(Job.java:176) > at org.apache.zeppelin.scheduler.FIFOScheduler$1.run( > FIFOScheduler.java:139) > at java.util.concurrent.Executors$RunnableAdapter. > call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at java.util.concurrent.ScheduledThreadPoolExecutor$ > ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) > at java.util.concurrent.ScheduledThreadPoolExecutor$ > ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) > at java.util.concurrent.ThreadPoolExecutor.runWorker( > ThreadPoolExecutor.java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run( > ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > > -- > Thanks & Regards > *Vivek Narayanasetty* > > > > > *Go Green: Think before you print this e-mail or its attachment. You can > save paper if you do not really need to print.* >