You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by "Kulkarni, Vikram" <vi...@hp.com> on 2015/06/19 14:53:24 UTC

SparkR - issue when starting the sparkR shell

Hello,
  I am seeing this issue when starting the sparkR shell. Please note that I have R version 2.14.1.

[root@vertica4 bin]# sparkR

R version 2.14.1 (2011-12-22)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-unknown-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]

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
>
Save workspace image? [y/n/c]: n
[root@vertica4 bin]#

Error: unable to load R code in package 'SparkR'
package 'SparkR' in options("defaultPackages") was not found

Do I need to install 3.x version of R for SparkR?

Regards,
Vikram


Re: SparkR - issue when starting the sparkR shell

Posted by Davies Liu <da...@databricks.com>.
Yes, right now, we only tested SparkR with R 3.x

On Fri, Jun 19, 2015 at 5:53 AM, Kulkarni, Vikram
<vi...@hp.com> wrote:
> Hello,
>
>   I am seeing this issue when starting the sparkR shell. Please note that I
> have R version 2.14.1.
>
>
>
> [root@vertica4 bin]# sparkR
>
>
>
> R version 2.14.1 (2011-12-22)
>
> Copyright (C) 2011 The R Foundation for Statistical Computing
>
> ISBN 3-900051-07-0
>
> Platform: x86_64-unknown-linux-gnu (64-bit)
>
>
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
>
> You are welcome to redistribute it under certain conditions.
>
> Type 'license()' or 'licence()' for distribution details.
>
>
>
>   Natural language support but running in an English locale
>
>
>
> R is a collaborative project with many contributors.
>
> Type 'contributors()' for more information and
>
> 'citation()' on how to cite R or R packages in publications.
>
>
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
>
> 'help.start()' for an HTML browser interface to help.
>
> Type 'q()' to quit R.
>
>
>
> [Previously saved workspace restored]
>
>
>
> 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
>
>>
>
> Save workspace image? [y/n/c]: n
>
> [root@vertica4 bin]#
>
>
>
> Error: unable to load R code in package ‘SparkR’
>
> package ‘SparkR’ in options("defaultPackages") was not found
>
>
>
> Do I need to install 3.x version of R for SparkR?
>
>
>
> Regards,
>
> Vikram
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org