You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jean Pierre PIN (JIRA)" <ji...@apache.org> on 2018/12/03 07:37:00 UTC

[jira] [Updated] (SPARK-26250) Fail to run dataframe.R examples

     [ https://issues.apache.org/jira/browse/SPARK-26250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean Pierre PIN updated SPARK-26250:
------------------------------------
    Description: 
I get an error=2 running spark-submit examples/src/main/r/dataframe.R
 the script is working with Rstudio but i've changed the library(SparkR) line  with this one

library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))

i am at the top root directory of spark installation and the path variable for /bin is specified in the environment so spark-submit is found.  On system window 7 Ultimate 64bits

read "main" java.io.IOException: Cannot run program "Rscript": CreateProcess error=2, The system cannot find the file specified

I think the issue is known for a long but i don't find any post.
 Thanks for answer.

  was:
I get an error=2 running spark-submit examples/src/main/r/dataframe.R
the script is working with Rstudio but i've changed the library(SparkR) line  with this one

library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))

i am at the top root directory of spark installation and the path variable for /bin is specified in the environment so spark-submit is found.  On system window 7 pro 64bits

read "main" java.io.IOException: Cannot run program "Rscript": CreateProcess error=2, The system cannot find the file specified

I think the issue is known for a long but i don't find any post.
Thanks for answer.


> Fail to run dataframe.R examples
> --------------------------------
>
>                 Key: SPARK-26250
>                 URL: https://issues.apache.org/jira/browse/SPARK-26250
>             Project: Spark
>          Issue Type: Test
>          Components: Examples
>    Affects Versions: 2.4.0
>            Reporter: Jean Pierre PIN
>            Priority: Major
>
> I get an error=2 running spark-submit examples/src/main/r/dataframe.R
>  the script is working with Rstudio but i've changed the library(SparkR) line  with this one
> library(SparkR, lib.loc = c(file.path(Sys.getenv("SPARK_HOME"), "R", "lib")))
> i am at the top root directory of spark installation and the path variable for /bin is specified in the environment so spark-submit is found.  On system window 7 Ultimate 64bits
> read "main" java.io.IOException: Cannot run program "Rscript": CreateProcess error=2, The system cannot find the file specified
> I think the issue is known for a long but i don't find any post.
>  Thanks for answer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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