Re: SparkR - issue when starting the sparkR shell

2015-06-19 Thread Davies Liu
Yes, right now, we only tested SparkR with R 3.x

On Fri, Jun 19, 2015 at 5:53 AM, Kulkarni, Vikram
 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-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org



SparkR - issue when starting the sparkR shell

2015-06-19 Thread Kulkarni, Vikram
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