<?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 launching sparkR in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185151#M78004</link>
    <description>&lt;P&gt;However when I try to launch R, I get the following error:&lt;/P&gt;&lt;P&gt;"Error in loadNamespace(name) : there is no package called ‘SparkR’&lt;BR /&gt;During startup - Warning messages:&lt;BR /&gt;1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :&lt;BR /&gt;  there is no package called ‘SparkR’&lt;BR /&gt;2: package ‘SparkR’ in options("defaultPackages") was not found"&lt;/P&gt;&lt;P&gt;Do I need to install an additional 'sparkR' package within R?&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 12:46:53 GMT</pubDate>
    <dc:creator>pratikshirbhate</dc:creator>
    <dc:date>2018-05-08T12:46:53Z</dc:date>
    <item>
      <title>Error launching sparkR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185148#M78001</link>
      <description>&lt;P&gt;I have &lt;CODE&gt;sparkR&lt;/CODE&gt; and &lt;CODE&gt;R&lt;/CODE&gt; installed on my Ubuntu machine. When I try to launch &lt;CODE&gt;sparkR&lt;/CODE&gt; through the terminal, I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;Error in eval(expr, envir, enclos) : could not find function ".getNamespace" Error: unable to load R code in package ‘SparkR’ During startup - Warning message: package ‘SparkR’ in options("defaultPackages") was not found&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Could you please help me fix this?&lt;/P&gt;</description>
      <pubDate>Mon, 07 May 2018 20:40:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185148#M78001</guid>
      <dc:creator>pratikshirbhate</dc:creator>
      <dc:date>2018-05-07T20:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error launching sparkR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185149#M78002</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/79152/pratikshirbhate.html" nodeid="79152"&gt;@Pratik Shirbhate&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I think answer to your issue is described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/15809414/could-not-find-function-getnamespace" target="_blank"&gt;https://stackoverflow.com/questions/15809414/could-not-find-function-getnamespace&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is the brief of it:&lt;/P&gt;&lt;P&gt;"The &lt;CODE&gt;.getNamespace&lt;/CODE&gt; function is part of R 3.0.0. The warning message states that the package you installed was built for R 3.0, not 2.15. The package is trying to use the &lt;CODE&gt;.getNamespace&lt;/CODE&gt; function, but does not find it as it is not part of R 2.15. You can either upgrade to R 3.0 (which seems to be a bit experimental right now) or install the R 2.xx version of the package."&lt;/P&gt;&lt;P&gt;*** If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 02:57:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185149#M78002</guid>
      <dc:creator>falbani</dc:creator>
      <dc:date>2018-05-08T02:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error launching sparkR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185150#M78003</link>
      <description>&lt;P&gt;Thank you Felix, I upgraded R 2.14.1 to R 3.2.5 using below commands and I could successfully launched sparkR through terminal.&lt;/P&gt;&lt;P&gt;Add PPA:
sudo add-apt-repository ppa:marutter/rrutter &lt;/P&gt;&lt;P&gt;Update ubuntu for upgrade:
sudo apt-get update&lt;/P&gt;&lt;P&gt;Upgrade R (This is a generic ubuntu command)
sudo apt-get upgrade&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 12:43:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185150#M78003</guid>
      <dc:creator>pratikshirbhate</dc:creator>
      <dc:date>2018-05-08T12:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error launching sparkR</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185151#M78004</link>
      <description>&lt;P&gt;However when I try to launch R, I get the following error:&lt;/P&gt;&lt;P&gt;"Error in loadNamespace(name) : there is no package called ‘SparkR’&lt;BR /&gt;During startup - Warning messages:&lt;BR /&gt;1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :&lt;BR /&gt;  there is no package called ‘SparkR’&lt;BR /&gt;2: package ‘SparkR’ in options("defaultPackages") was not found"&lt;/P&gt;&lt;P&gt;Do I need to install an additional 'sparkR' package within R?&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 12:46:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-launching-sparkR/m-p/185151#M78004</guid>
      <dc:creator>pratikshirbhate</dc:creator>
      <dc:date>2018-05-08T12:46:53Z</dc:date>
    </item>
  </channel>
</rss>

