<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Zeppelin &amp; SparkR - unable to start device X11cairo in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158051#M20901</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;Manage to fix it now. Silly problem, actually.&lt;/P&gt;&lt;P&gt;I was installing R packages as sudo, but running my zeppelin service as zeppelin user. Now I ran zeppelin as sudo and it works.&lt;/P&gt;</description>
    <pubDate>Sat, 27 Feb 2016 17:19:22 GMT</pubDate>
    <dc:creator>marko_kole</dc:creator>
    <dc:date>2016-02-27T17:19:22Z</dc:date>
    <item>
      <title>Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158043#M20893</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; - seeing your post on linkedin I decided to write here, hopefully someone is doing sparkR on Zeppelin&lt;/P&gt;&lt;P&gt;I have installed Zeppelin with R interpreter and at the beginning everything worked well. I could run spark.r and spark.knitr. Then all of a sudden, I started getting the following error message: &lt;EM&gt;unable to start device X11cairo&lt;/EM&gt; when running spark.r. Cairo library is installed, I could run all RInterpreter examples, but after a while this happened.
&lt;/P&gt;&lt;P&gt;My zeppelin out file gives me this:&lt;/P&gt;&lt;P&gt;&lt;I&gt;ERROR RContext: R Error .zreplout &amp;lt;- rzeppelin:::.z.valuate(.zreplin) unable to start device X11cairo&lt;/I&gt;&lt;/P&gt;&lt;P&gt;Zeppelin is installed on ubuntu 14.04, Im using spark 1.5.2, sparkR from the CLI runs properly. Ive used this git: &lt;A href="https://github.com/elbamos/Zeppelin-With-R" target="_blank"&gt;https://github.com/elbamos/Zeppelin-With-R&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:06:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158043#M20893</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-25T15:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158044#M20894</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/931/marko-kole.html" nodeid="931"&gt;@marko&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Let me check on the error...SparkR demo is here&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/kbentry/10365/apache-zeppelin-and-sparkr.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/10365/apache-zeppelin-and-sparkr.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 15:24:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158044#M20894</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-25T15:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158045#M20895</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Just to help you help me, here is what Ive installed to make it work before the error message:&lt;/P&gt;&lt;P&gt;sudo apt-get install libxml2-dev -y&lt;/P&gt;&lt;P&gt;
sudo apt-get install libcurl4-openssl-dev -y&lt;/P&gt;&lt;P&gt;
sudo apt-get install libssl-dev -y&lt;/P&gt;&lt;P&gt;
sudo apt-get install libcurl4-gnutls-dev -y&lt;/P&gt;&lt;P&gt;
sudo apt-get install libcairo2-dev -y&lt;/P&gt;&lt;P&gt;in R (as root):&lt;/P&gt;&lt;P&gt;
install.packages("evaluate", dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;&lt;P&gt;install.packages("base64enc", dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;&lt;P&gt;
install.packages("devtools", dependencies = TRUE, repos='http://cran.us.r-project.org') &lt;/P&gt;&lt;P&gt;install.packages("dplyr", dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;&lt;P&gt;
install.packages("caret", dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;&lt;P&gt;
install.packages("Cairo", dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;&lt;P&gt;install.packages('googleVis', dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;&lt;P&gt;
install.packages('mplot', dependencies = TRUE, repos='http://cran.us.r-project.org')&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:16:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158045#M20895</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-25T18:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158046#M20896</link>
      <description>&lt;P&gt;&lt;A href="https://gist.github.com/nsabharwal/9163e0adfc66af080145" target="_blank"&gt;https://gist.github.com/nsabharwal/9163e0adfc66af080145&lt;/A&gt;  &lt;A rel="user" href="https://community.cloudera.com/users/931/marko-kole.html" nodeid="931"&gt;@marko&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:26:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158046#M20896</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-25T18:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158047#M20897</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/931/marko-kole.html" nodeid="931"&gt;@marko&lt;/A&gt;  I used spark 1.6 ...Try with 1.6 &lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2016 18:55:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158047#M20897</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-25T18:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158048#M20898</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ive set up Spark 1.6.0, installed sparkR environment, and built and started zeppelin with R interpreter. I managed to run the RInterpreter notebook. &lt;/P&gt;&lt;P&gt;Then I tried to run your example with flights data, I got the same erro message. Now it seems as if I cannot run the zeppelin example either. Same error message: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;unable to start device X11cairo&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2016 23:38:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158048#M20898</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-26T23:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158049#M20899</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/931/marko-kole.html" nodeid="931"&gt;@marko&lt;/A&gt;  What are you running specifically?  Error is related to R&lt;/P&gt;&lt;P&gt;Can you make sure that you have all the packages installed mentioned in &lt;A href="https://gist.github.com/nsabharwal/9163e0adfc66af080145" target="_blank"&gt;https://gist.github.com/nsabharwal/9163e0adfc66af080145&lt;/A&gt;?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 09:35:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158049#M20899</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-27T09:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158050#M20900</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/19450/zeppelin-sparkr-unable-to-start-device-x11cairo.html#"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The way I have tested RZeppelin twice now is the following: I ran the RInterpreter and it worked fine.&lt;/P&gt;&lt;P&gt;As soon as I try something on my own, I get this error. The second time I installed, I wanted to run your flights example and when I wanted to load the four libraries I already got this error message.&lt;/P&gt;&lt;P&gt;btw, Im surprised your installation was successful without installing Cairo package. I had to install cairo package before running install install_github('IRkernel/repr').&lt;/P&gt;&lt;P&gt;If I run the following command in R:&lt;/P&gt;&lt;P&gt;#list all installed packages and versions: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;ip &amp;lt;- as.data.frame(installed.packages()[,c(1,3:4)]) &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rownames(ip) &amp;lt;- NULL &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ip &amp;lt;- ip[is.na(ip$Priority),1:2,drop=FALSE] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;print(ip, row.names=FALSE)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Packages and versions you mention in your git (plus Cairo):&lt;/P&gt;&lt;P&gt;base64enc 0.1-3&lt;/P&gt;&lt;P&gt;Cairo 1.5-9&lt;/P&gt;&lt;P&gt;caret 6.0-64&lt;/P&gt;&lt;P&gt;devtools 1.10.0&lt;/P&gt;&lt;P&gt;dplyr 0.4.3&lt;/P&gt;&lt;P&gt;evaluate 0.8&lt;/P&gt;&lt;P&gt;repr 0.4&lt;/P&gt;&lt;P&gt;This is the list of all installed packages:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/2433-r-installed-pkgs.txt"&gt;r-installed-pkgs.txt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;My R version:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; version _ platform x86_64-pc-linux-gnu&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arch x86_64&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;os linux-gnu&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;system x86_64, linux-gnu&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;status&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;major 3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;minor 2.3&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;year 2015&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;month 12&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;day 10&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;svn rev 69752&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;language R&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;version.string R&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;version 3.2.3 (2015-12-10)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;nickname Wooden Christmas-Tree&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 16:05:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158050#M20900</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-27T16:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158051#M20901</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;Manage to fix it now. Silly problem, actually.&lt;/P&gt;&lt;P&gt;I was installing R packages as sudo, but running my zeppelin service as zeppelin user. Now I ran zeppelin as sudo and it works.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Feb 2016 17:19:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158051#M20901</guid>
      <dc:creator>marko_kole</dc:creator>
      <dc:date>2016-02-27T17:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: Zeppelin &amp; SparkR - unable to start device X11cairo</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158052#M20902</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/931/marko-kole.html" nodeid="931"&gt;@marko&lt;/A&gt;  That's good to know and thanks for the final followup. &lt;/P&gt;</description>
      <pubDate>Sun, 28 Feb 2016 00:03:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Zeppelin-SparkR-unable-to-start-device-X11cairo/m-p/158052#M20902</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-02-28T00:03:40Z</dc:date>
    </item>
  </channel>
</rss>

