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:15:00 UTC

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

Jean Pierre PIN created SPARK-26250:
---------------------------------------

             Summary: 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


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.



--
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