You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by denny wong <te...@yahoo.com.INVALID> on 2021/07/02 14:02:03 UTC
R Interpreter Problem
Hi
We have problem with the R interpreter when using R version 4.0.5. We are seeing this error when the zeppelin_sparkr.R is being run at the startup time. How to resolve the issue? Thanks.
> .libPaths(c(file.path(libPath), .libPaths()))
> library(SparkR) Error: package or namespace load failed for 'SparkR': package 'SparkR' was installed before R 4.0.0: please re-install it Execution halted
Re: R Interpreter Problem
Posted by denny wong <te...@yahoo.com.INVALID>.
Thanks, we will try the IRInterpreter.
On Friday, July 2, 2021, 11:20:07 AM EDT, Jeff Zhang <zj...@gmail.com> wrote:
Hi Denny,
I tried %r.ir on R 4.0.5, and it works well for me, please check the following 2 links for how to use %r.ir
http://zeppelin.apache.org/docs/0.9.0/interpreter/r.html#using-the-r-interpreterrr-rir
http://zeppelin-notebook.com/#/notebook/2BWJFTXKJ
denny wong <te...@yahoo.com.invalid> 于2021年7月2日周五 下午10:40写道:
Hi Jeff
Initially, we used the Spark version that defined by the Zep 0.9.0 and got the error.
When we changed the Spark to the latest version 3.1.2, we got a different error. Fyi, we are not using Spark at all, but it seems the R interpreter has dependency on the SparkR. Our requirement is to enable R interpreter with the latest R version. Please advice. Thanks.
> .libPaths(c(file.path(libPath), .libPaths()))
> library(SparkR)
Error in readRDS(pfile) : unknown input format
Calls: library -> find.package -> lapply -> FUN -> readRDS
Execution halted
On Friday, July 2, 2021, 10:26:09 AM EDT, Jeff Zhang <zj...@gmail.com> wrote:
What version of spark do you use ? I am not sure whether your spark version
supports R 4.0 ?
denny wong <te...@yahoo.com.invalid> 于2021年7月2日周五 下午10:02写道:
> Hi
> We have problem with the R interpreter when using R version 4.0.5. We are
> seeing this error when the zeppelin_sparkr.R is being run at the startup
> time. How to resolve the issue? Thanks.
> > .libPaths(c(file.path(libPath), .libPaths()))
> > library(SparkR) Error: package or namespace load failed for 'SparkR':
> package 'SparkR' was installed before R 4.0.0: please re-install it
> Execution halted
>
--
Best Regards
Jeff Zhang
--
Best Regards
Jeff Zhang
Re: R Interpreter Problem
Posted by Jeff Zhang <zj...@gmail.com>.
Hi Denny,
I tried %r.ir on R 4.0.5, and it works well for me, please check the
following 2 links for how to use %r.ir
http://zeppelin.apache.org/docs/0.9.0/interpreter/r.html#using-the-r-interpreterrr-rir
http://zeppelin-notebook.com/#/notebook/2BWJFTXKJ
[image: image.png]
denny wong <te...@yahoo.com.invalid> 于2021年7月2日周五 下午10:40写道:
> Hi Jeff
> Initially, we used the Spark version that defined by the Zep 0.9.0 and got
> the error.
> When we changed the Spark to the latest version 3.1.2, we got a different
> error. Fyi, we are not using Spark at all, but it seems the R interpreter
> has dependency on the SparkR. Our requirement is to enable R interpreter
> with the latest R version. Please advice. Thanks.
> > .libPaths(c(file.path(libPath), .libPaths()))
> > library(SparkR)
> Error in readRDS(pfile) : unknown input format
> Calls: library -> find.package -> lapply -> FUN -> readRDS
> Execution halted
>
> On Friday, July 2, 2021, 10:26:09 AM EDT, Jeff Zhang <zj...@gmail.com>
> wrote:
>
> What version of spark do you use ? I am not sure whether your spark
> version
> supports R 4.0 ?
>
> denny wong <te...@yahoo.com.invalid> 于2021年7月2日周五 下午10:02写道:
>
> > Hi
> > We have problem with the R interpreter when using R version 4.0.5. We
> are
> > seeing this error when the zeppelin_sparkr.R is being run at the startup
> > time. How to resolve the issue? Thanks.
> > > .libPaths(c(file.path(libPath), .libPaths()))
> > > library(SparkR) Error: package or namespace load failed for 'SparkR':
> > package 'SparkR' was installed before R 4.0.0: please re-install it
> > Execution halted
> >
>
>
> --
> Best Regards
>
> Jeff Zhang
>
--
Best Regards
Jeff Zhang
Re: R Interpreter Problem
Posted by denny wong <te...@yahoo.com.INVALID>.
Hi Jeff
Initially, we used the Spark version that defined by the Zep 0.9.0 and got the error.
When we changed the Spark to the latest version 3.1.2, we got a different error. Fyi, we are not using Spark at all, but it seems the R interpreter has dependency on the SparkR. Our requirement is to enable R interpreter with the latest R version. Please advice. Thanks.
> .libPaths(c(file.path(libPath), .libPaths()))
> library(SparkR)
Error in readRDS(pfile) : unknown input format
Calls: library -> find.package -> lapply -> FUN -> readRDS
Execution halted
On Friday, July 2, 2021, 10:26:09 AM EDT, Jeff Zhang <zj...@gmail.com> wrote:
What version of spark do you use ? I am not sure whether your spark version
supports R 4.0 ?
denny wong <te...@yahoo.com.invalid> 于2021年7月2日周五 下午10:02写道:
> Hi
> We have problem with the R interpreter when using R version 4.0.5. We are
> seeing this error when the zeppelin_sparkr.R is being run at the startup
> time. How to resolve the issue? Thanks.
> > .libPaths(c(file.path(libPath), .libPaths()))
> > library(SparkR) Error: package or namespace load failed for 'SparkR':
> package 'SparkR' was installed before R 4.0.0: please re-install it
> Execution halted
>
--
Best Regards
Jeff Zhang
Re: R Interpreter Problem
Posted by Jeff Zhang <zj...@gmail.com>.
What version of spark do you use ? I am not sure whether your spark version
supports R 4.0 ?
denny wong <te...@yahoo.com.invalid> 于2021年7月2日周五 下午10:02写道:
> Hi
> We have problem with the R interpreter when using R version 4.0.5. We are
> seeing this error when the zeppelin_sparkr.R is being run at the startup
> time. How to resolve the issue? Thanks.
> > .libPaths(c(file.path(libPath), .libPaths()))
> > library(SparkR) Error: package or namespace load failed for 'SparkR':
> package 'SparkR' was installed before R 4.0.0: please re-install it
> Execution halted
>
--
Best Regards
Jeff Zhang