<?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: Error in library(SparkR) when running R with Spark on Sandbox 2.3.2 in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100645#M13456</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1057-screen-shot-2015-12-23-at-64157-pm.png" style="width: 2424px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23793i42A198DFB9B0A71A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1057-screen-shot-2015-12-23-at-64157-pm.png" alt="1057-screen-shot-2015-12-23-at-64157-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pastebin.com/QikSKsk0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/QikSKsk0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Worked for Spark1.5.2&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 12:26:07 GMT</pubDate>
    <dc:creator>nsabharwal</dc:creator>
    <dc:date>2019-08-19T12:26:07Z</dc:date>
    <item>
      <title>Error in library(SparkR) when running R with Spark on Sandbox 2.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100642#M13453</link>
      <description>&lt;P&gt;Working with Spark 1.4.1 on Sandbox 2.3.2. python worked fine with Spark. Scala OK after installing scala 2.11.7. Cannot get R to work with Spark. Installed R 3.2.2 through yum. Then ./bin/sparkR was able to start R shell, but without the "Welcome to SparkR!" message. When running ./bin/spark-submit examples/src/main/r/dataframe.R, got an "Error in library(SparkR): there is no package called 'SparkR'".&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 05:43:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100642#M13453</guid>
      <dc:creator>George23504</dc:creator>
      <dc:date>2015-12-24T05:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error in library(SparkR) when running R with Spark on Sandbox 2.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100643#M13454</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1775/ghsieh.html" nodeid="1775"&gt;@Chungchu Hsieh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;example &lt;A href="https://gist.github.com/shivaram/d0cd4aa5c4381edd6f85"&gt;https://gist.github.com/shivaram/d0cd4aa5c4381edd6...&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;A href="http://stackoverflow.com/questions/29769357/error-while-installing-apache-sparkr-package"&gt;http://stackoverflow.com/questions/29769357/error-...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;Installed:&lt;/P&gt;&lt;P&gt;  R-core.x86_64 0:3.2.2-2.el6                                                                       R-core-devel.x86_64 0:3.2.2-2.el6                                                                      &lt;/P&gt;&lt;P&gt;Dependency Installed:&lt;/P&gt;&lt;P&gt;  blas.x86_64 0:3.2.1-4.el6                    blas-devel.x86_64 0:3.2.1-4.el6                    bzip2-devel.x86_64 0:1.0.5-7.el6_0                 desktop-file-utils.x86_64 0:0.15-9.el6              &lt;/P&gt;&lt;P&gt;  fontconfig-devel.x86_64 0:2.8.0-5.el6        freetype-devel.x86_64 0:2.3.11-15.el6_6.1          gcc-gfortran.x86_64 0:4.4.7-16.el6                 kpathsea.x86_64 0:2007-60.el6_7                     &lt;/P&gt;&lt;P&gt;  lapack.x86_64 0:3.2.1-4.el6                  lapack-devel.x86_64 0:3.2.1-4.el6                  libX11-devel.x86_64 0:1.6.0-6.el6                  libXau-devel.x86_64 0:1.0.6-4.el6                   &lt;/P&gt;&lt;P&gt;  libXft-devel.x86_64 0:2.3.1-2.el6            libXmu.x86_64 0:1.1.1-2.el6                        libXrender-devel.x86_64 0:0.9.8-2.1.el6            libgfortran.x86_64 0:4.4.7-16.el6                   &lt;/P&gt;&lt;P&gt;  libicu-devel.x86_64 0:4.2.1-12.el6           libxcb-devel.x86_64 0:1.9.1-3.el6                  netpbm.x86_64 0:10.47.05-11.el6                    netpbm-progs.x86_64 0:10.47.05-11.el6               &lt;/P&gt;&lt;P&gt;  pcre-devel.x86_64 0:7.8-7.el6                psutils.x86_64 0:1.17-34.el6                       tcl.x86_64 1:8.5.7-6.el6                           tcl-devel.x86_64 1:8.5.7-6.el6                      &lt;/P&gt;&lt;P&gt;  tex-preview.noarch 0:11.85-10.el6            texinfo.x86_64 0:4.13a-8.el6                       texinfo-tex.x86_64 0:4.13a-8.el6                   texlive.x86_64 0:2007-60.el6_7                      &lt;/P&gt;&lt;P&gt;  texlive-dvips.x86_64 0:2007-60.el6_7         texlive-latex.x86_64 0:2007-60.el6_7               texlive-texmf.noarch 0:2007-39.el6_7               texlive-texmf-dvips.noarch 0:2007-39.el6_7          &lt;/P&gt;&lt;P&gt;  texlive-texmf-errata.noarch 0:2007-7.1.el6   texlive-texmf-errata-dvips.noarch 0:2007-7.1.el6   texlive-texmf-errata-fonts.noarch 0:2007-7.1.el6   texlive-texmf-errata-latex.noarch 0:2007-7.1.el6    &lt;/P&gt;&lt;P&gt;  texlive-texmf-fonts.noarch 0:2007-39.el6_7   texlive-texmf-latex.noarch 0:2007-39.el6_7         texlive-utils.x86_64 0:2007-60.el6_7               tk.x86_64 1:8.5.7-5.el6                             &lt;/P&gt;&lt;P&gt;  tk-devel.x86_64 1:8.5.7-5.el6                xdg-utils.noarch 0:1.0.2-17.20091016cvs.el6        xorg-x11-proto-devel.noarch 0:7.7-9.el6            xz-devel.x86_64 0:4.999.9-0.5.beta.20091007git.el6  &lt;/P&gt;&lt;P&gt;Complete!&lt;/P&gt;&lt;P&gt;[root@sandbox bin]# ./sparkR&lt;/P&gt;&lt;P&gt;R version 3.2.2 (2015-08-14) -- "Fire Safety"&lt;/P&gt;&lt;P&gt;Copyright (C) 2015 The R Foundation for Statistical Computing&lt;/P&gt;&lt;P&gt;Platform: x86_64-redhat-linux-gnu (64-bit)&lt;/P&gt;&lt;P&gt;R is free software and comes with ABSOLUTELY NO WARRANTY.&lt;/P&gt;&lt;P&gt;You are welcome to redistribute it under certain conditions.&lt;/P&gt;&lt;P&gt;Type 'license()' or 'licence()' for distribution details.&lt;/P&gt;&lt;P&gt;  Natural language support but running in an English locale&lt;/P&gt;&lt;P&gt;R is a collaborative project with many contributors.&lt;/P&gt;&lt;P&gt;Type 'contributors()' for more information and&lt;/P&gt;&lt;P&gt;'citation()' on how to cite R or R packages in publications.&lt;/P&gt;&lt;P&gt;Type 'demo()' for some demos, 'help()' for on-line help, or&lt;/P&gt;&lt;P&gt;'help.start()' for an HTML browser interface to help.&lt;/P&gt;&lt;P&gt;Type 'q()' to quit R.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 05:49:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100643#M13454</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-24T05:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error in library(SparkR) when running R with Spark on Sandbox 2.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100644#M13455</link>
      <description>&lt;P&gt;Thanks Neeraj. The R-core and R-core-devel packages are already installed. I also get the same messages from ./sparkR command as you've listed. However, I don't get the "Welcome to SparkR!' message which I thought should be displayed if all goes well. Furthermore, when I try&lt;/P&gt;&lt;P&gt;&amp;gt;sc &amp;lt;- sparkR.init()&lt;/P&gt;&lt;P&gt;I would get an error message - Could not find function: "sparkR.init". It appears I can run R but not R with Spark.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2015 06:43:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100644#M13455</guid>
      <dc:creator>George23504</dc:creator>
      <dc:date>2015-12-24T06:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in library(SparkR) when running R with Spark on Sandbox 2.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100645#M13456</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1057-screen-shot-2015-12-23-at-64157-pm.png" style="width: 2424px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23793i42A198DFB9B0A71A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1057-screen-shot-2015-12-23-at-64157-pm.png" alt="1057-screen-shot-2015-12-23-at-64157-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://pastebin.com/QikSKsk0" target="_blank" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/QikSKsk0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Worked for Spark1.5.2&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:26:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100645#M13456</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2019-08-19T12:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error in library(SparkR) when running R with Spark on Sandbox 2.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100646#M13457</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I had the same problem, this means that spark  can not find the R directory. The Hortonworks Spark version comes without the R directory: &lt;/P&gt;&lt;P&gt;
drwxr-xr-x 2 root root  4096 Dec  9 13:33 lib &lt;/P&gt;&lt;P&gt;drwxr-xr-x 6 root root  4096 Dec  3 21:30 python &lt;/P&gt;&lt;P&gt;drwxr-xr-x 3 root root  4096 Jul  8 22:58 R&lt;/P&gt;&lt;P&gt;My solution was to download the Spark standalone version and copy the R directory to my Hortonworks Spark client. &lt;/P&gt;</description>
      <pubDate>Mon, 28 Dec 2015 19:01:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100646#M13457</guid>
      <dc:creator>sascha_kerbler</dc:creator>
      <dc:date>2015-12-28T19:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error in library(SparkR) when running R with Spark on Sandbox 2.3.2</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100647#M13458</link>
      <description>&lt;P&gt;Thanks Sascha. That's what I observed as well. Your solution seems a reasonable workaround.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2015 07:45:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-in-library-SparkR-when-running-R-with-Spark-on-Sandbox/m-p/100647#M13458</guid>
      <dc:creator>George23504</dc:creator>
      <dc:date>2015-12-29T07:45:59Z</dc:date>
    </item>
  </channel>
</rss>

