You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Ashwarya Rai (Jira)" <ji...@apache.org> on 2020/08/21 08:26:00 UTC

[jira] [Commented] (LIVY-558) Unable to use spark.lapply function it gives the error: "SparkR has not been initialized. "

    [ https://issues.apache.org/jira/browse/LIVY-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17181714#comment-17181714 ] 

Ashwarya Rai commented on LIVY-558:
-----------------------------------

How to dapply 

> Unable to use spark.lapply function it gives the error: "SparkR has not been initialized. "
> -------------------------------------------------------------------------------------------
>
>                 Key: LIVY-558
>                 URL: https://issues.apache.org/jira/browse/LIVY-558
>             Project: Livy
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>         Environment: spark 2.2.1
>            Reporter: Thijs
>            Priority: Major
>         Attachments: 2019-02-15 17.31.10.png, image-2019-02-14-14-32-01-792.png, image-2019-02-14-14-32-47-042.png, image-2019-02-20-09-04-48-193.png
>
>
> Hi,
> I want to use the spark.lapply function with R, so I tried to use the example which is supplied by spark.
> However when I run this example it gives me the following error:
> SparkR has not been initialized.
>  
> See screenshot:
> !image-2019-02-14-14-32-01-792.png!
>  
> I also tried todo what is stated, call the sparkR.session() function, but then it prints the error:
> !image-2019-02-14-14-32-47-042.png!
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)