Hello Jongyoul, I could not find the file interpreter-setting.json, but I found a file conf/interpreter.json. I added a property "default":"true" for interpreter "org.apache.zeppelin.spark.SparkRInterpreter". I restarted zeppelin demon service. But, R did not work as default interpreter.
Then I changed conf/zeppelin-site.xml to alter the sequence of the interpreter, putting org.apache.zeppelin.spark.SparkRInterpreter as first interpreter. This worked. But this solution is not practical. If want to work on a R notebook and a scala notebook in parallel, this mechanism require me to touch conf/zeppelin-site.xml file or keep on using %r tags on each cell. Thanks! -AB On Mon, Jul 25, 2016 at 3:30 PM, Jongyoul Lee <jongy...@gmail.com> wrote: > Hello Abul, > > Changing orders within a group dynamically is not supported yet. You can > change it by making interpreter-setting.json in a resources directory In a > interpreter-setting.json, you can find a property named `default`. If it's > true, That will be a default interpreter in a group. If you don't want to > compile Zeppelin again, copy interpreter-setting.json into > interpreter/spark/ and open it and change it. It will also have a same > effect. > > Hope this help, > Jongyoul > > On Mon, Jul 25, 2016 at 4:39 PM, Abul Basar <aba...@einext.com> wrote: > >> Hi Krishnaprasad, >> >> Yes, I have played around with that feature. What I found is "spark, >> pyspark, r, sql" are grouped together. I use Zeppelin for Spark projects. >> So I need to set one of these sub-categories as default. Most often I use >> scala for Spark. But I should be able to create a notebook using r (which >> essentially is SparkR) as a default. Please let me know if I am missing >> something. >> >> Thanks! >> - AB >> >> On Mon, Jul 25, 2016 at 12:45 PM, Krishnaprasad A S < >> krishna.pra...@flytxt.com> wrote: >> >>> Hi Abul, >>> You can change the default interpreter for each notebook through >>> zeppelin web UI. >>> Go to the notebook and then settings(up right corner), there you can >>> find Interpreter binding option. You can reorder the interpreters by drag >>> and drop. The first one will be default. >>> >>> Hope this helps. >>> >>> Regards, >>> Krishnaprasad >>> >>> On Mon, Jul 25, 2016 at 12:01 PM, Abul Basar <aba...@einext.com> wrote: >>> >>>> I know there is a way to set up a default interpreter at Zepplin using >>>> zeppelin.interpreters >>>> property in conf/zeppelin-site.xml. The setting is global is nature. >>>> >>>> But, is it possible to create a notebook level setting for interpreter? >>>> For example, in a notebook I want to set the default interpreter at R so >>>> that for every code block i do not have to start with "%spark.r", while on >>>> another notebook, I want to set the default interpreter as Scala. >>>> >>>> I am using v0.6 >>>> >>>> AB >>>> >>> >>> >>> >>> -- >>> Krishnaprasad A S >>> Lead Engineer >>> Flytxt >>> Skype: krishnaprasadas >>> M: +91 8907209454 | O: +91 471.3082753 | F: +91 471.2700202 >>> www.flytxt.com | Visit our blog <http://blog.flytxt.com/> | Follow us >>> <http://www.twitter.com/flytxt> | Connect on LinkedIn >>> <http://www.linkedin.com/company/22166?goback=%2Efcs_GLHD_flytxt_false_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2_*2&trk=ncsrch_hits> >>> >> >> > > > -- > 이종열, Jongyoul Lee, 李宗烈 > http://madeng.net >