GitHub user napsternxg opened a pull request:

    https://github.com/apache/spark/pull/10836

    Fixes SPARK-12910: R version for installing sparkR

    Testing code:
    ```
    $ ./install-dev.sh 
    USING R_HOME = /usr/bin
    ERROR: this R is version 2.15.1, package 'SparkR' requires R >= 3.0
    ```
    
    Using the new argument:
    ```
    $ ./install-dev.sh /content/username/SOFTWARE/R-3.2.3
    USING R_HOME = /content/username/SOFTWARE/R-3.2.3/bin
    * installing *source* package ‘SparkR’ ...
    ** R
    ** inst
    ** preparing package for lazy loading
    Creating a new generic function for ‘colnames’ in package 
‘SparkR’
    Creating a new generic function for ‘colnames<-’ in package 
‘SparkR’
    Creating a new generic function for ‘cov’ in package 
‘SparkR’
    Creating a new generic function for ‘na.omit’ in package 
‘SparkR’
    Creating a new generic function for ‘filter’ in package 
‘SparkR’
    Creating a new generic function for ‘intersect’ in package 
‘SparkR’
    Creating a new generic function for ‘sample’ in package 
‘SparkR’
    Creating a new generic function for ‘transform’ in package 
‘SparkR’
    Creating a new generic function for ‘subset’ in package 
‘SparkR’
    Creating a new generic function for ‘summary’ in package 
‘SparkR’
    Creating a new generic function for ‘lag’ in package 
‘SparkR’
    Creating a new generic function for ‘rank’ in package 
‘SparkR’
    Creating a new generic function for ‘sd’ in package 
‘SparkR’
    Creating a new generic function for ‘var’ in package 
‘SparkR’
    Creating a new generic function for ‘predict’ in package 
‘SparkR’
    Creating a new generic function for ‘rbind’ in package 
‘SparkR’
    Creating a generic function for ‘lapply’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘Filter’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘alias’ from package 
‘stats’ in package ‘SparkR’
    Creating a generic function for ‘substr’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘%in%’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘mean’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘unique’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘nrow’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘ncol’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘head’ from package 
‘utils’ in package ‘SparkR’
    Creating a generic function for ‘factorial’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘atan2’ from package 
‘base’ in package ‘SparkR’
    Creating a generic function for ‘ifelse’ from package 
‘base’ in package ‘SparkR’
    ** help
    No man pages found in package  ‘SparkR’ 
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded
    * DONE (SparkR)
    
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/napsternxg/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/10836.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #10836
    
----
commit 9a41d47dfa5b778744972163a53b2324a2bc54a2
Author: Shubhanshu Mishra <[email protected]>
Date:   2016-01-19T20:13:28Z

    Fixes SPARK-12910: R version for installing sparkR
    
    I have added an option for passing the R_HOME path to the
    `install-dev.sh` file which fixes SPARK-12910.
    
    The code works and has been tested.

commit 17fe9161a9655dcbe609ec86f0770a100eb9387d
Author: Shubhanshu Mishra <[email protected]>
Date:   2016-01-19T20:15:59Z

    Merge branch 'master' of github.com:apache/spark

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to