Thu Jul 18, 2019 10:55 am
Login Register Lost Password? Contact Us


R Integration

Questions and comments related to the rHPCC integration plugin

Thu Aug 16, 2012 9:12 pm Change Time Zone

Now available! The rHPCC package provides an interface between R and HPCC Systems which allows R developers to integrate with the HPCC Systems platform by writing ECL queries using the R language.

Documentation and Download information:
http://hpccsystems.com/products-and-ser ... ntegration
admin
Site Admin
Site Admin
 
Posts: 203
Joined: Thu Jan 27, 2011 10:58 am

Mon Oct 22, 2012 1:34 am Change Time Zone

So from R I can manipulate data in an HPCC workspace. I think it would be more interesting to be able to execute R-functions on the HPCC workspace and take advantage of the distributed engine of HPCC?
I am looking for something like that
https://github.com/RevolutionAnalytics/ ... utorial.md
nvasil
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 105
Joined: Mon Oct 17, 2011 6:48 pm

Tue Oct 23, 2012 1:45 pm Change Time Zone

Nick,

We have this item on the roadmap for 2013. The ability to execute R functions from ECL. We will keep you updated as we make progress.

Thank You

Arjuna
arjuna chala
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 21
Joined: Mon Jul 11, 2011 1:57 pm

Tue Jul 23, 2013 7:05 am Change Time Zone

Hi,

I have downloaded the rHPCC plugins from HPCC SYSTEMS site. When i try to install the plugin i found the below mentioned error.
> install.packages("D:/Amos/RStudio/rHpcc_1.0.zip", repos = NULL)
Warning in install.packages :
package ‘D:/Amos/RStudio/rHpcc_1.0.zip’ is not available (for R version 3.0.1)
package ‘rHpcc’ successfully unpacked and MD5 sums checked
> install.packages("D:/Amos/RStudio/rHpcc_1.0.tar.gz", repos = NULL, type = "source")
Warning in install.packages :
package ‘D:/Amos/RStudio/rHpcc_1.0.tar.gz’ is not available (for R version 3.0.1)
ERROR: dependencies 'RCurl', 'XML' are not available for package 'rHpcc'
* removing 'C:/Program Files/R/R-3.0.1/library/rHpcc'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-30~1.1/bin/i386/R" CMD INSTALL -l "C:\Program Files\R\R-3.0.1\library" "D:/Amos/RStudio/rHpcc_1.0.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘D:/Amos/RStudio/rHpcc_1.0.tar.gz’ had non-zero exit status.

It would be fine if you provide me the steps to integrate rHPCC and an sample code to test the integration.
gnanasinghamos
 
Posts: 10
Joined: Tue Jul 23, 2013 7:01 am

Tue Jul 23, 2013 12:14 pm Change Time Zone

Does the information in this forum post help? Chris posted some additional information for getting R up and running.

Dan
DSC
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 555
Joined: Tue Oct 18, 2011 4:45 pm

Tue Jul 23, 2013 12:32 pm Change Time Zone

Hi Dan,
I'm using Windows machine.

Now i downloaded R-2.14.1 and installed the rHPCC package but im getting below error when i try to load the package

> utils:::menuInstallLocal()
package ‘rHpcc’ successfully unpacked and MD5 sums checked
> local({pkg <- select.list(sort(.packages(all.available = TRUE)),graphics=TRUE)
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: RCurl
Error: package ‘RCurl’ could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
there is no package called ‘RCurl’
gnanasinghamos
 
Posts: 10
Joined: Tue Jul 23, 2013 7:01 am

Tue Jul 23, 2013 12:35 pm Change Time Zone

It was worth a try. I know nothing about R, so I'll just sit back, open the popcorn, let the experts chime in.

Cheers,

Dan
DSC
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 555
Joined: Tue Oct 18, 2011 4:45 pm

Tue Jul 30, 2013 2:45 pm Change Time Zone

Hi,

rHPCC plugin has dependencies on the following packages:
1. RCurl
2. XML

This dependencies are resolved when you try to install the plugin. Are you downloading the package from CRAN or HPCCSystems Website?

This is how I do it from commandline:

Code: Select all
> install.packages("rHpcc")
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘RCurl’, ‘XML’

trying URL 'http://mirrors.nics.utk.edu/cran/bin/windows/contrib/2.14/RCurl_1.95-4.1.zip'
Content type 'application/zip' length 2839377 bytes (2.7 Mb)
opened URL
downloaded 2.7 Mb

trying URL 'http://mirrors.nics.utk.edu/cran/bin/windows/contrib/2.14/XML_3.96-1.1.zip'
Content type 'application/zip' length 4254339 bytes (4.1 Mb)
opened URL
downloaded 4.1 Mb

trying URL 'http://mirrors.nics.utk.edu/cran/bin/windows/contrib/2.14/rHpcc_1.0.zip'
Content type 'application/zip' length 247670 bytes (241 Kb)
opened URL
downloaded 241 Kb

package ‘RCurl’ successfully unpacked and MD5 sums checked
package ‘XML’ successfully unpacked and MD5 sums checked
package ‘rHpcc’ successfully unpacked and MD5 sums checked


In RStudio I just click on install packages, Select CRAN as a repository and specify the package name. R is not able to pick up the installed RCURL package for some reason.

Take a look at this post: https://stat.ethz.ch/pipermail/biocondu ... 28936.html

Let me know if that works.

Thanks,
Dinesh
Dinesh_S
 
Posts: 4
Joined: Tue Mar 19, 2013 6:02 pm

Tue Jul 30, 2013 2:49 pm Change Time Zone

Hi Dinesh,

Let me know the version of R you have installed so that it would be helpful for me to check the same.
gnanasinghamos
 
Posts: 10
Joined: Tue Jul 23, 2013 7:01 am

Tue Jul 30, 2013 3:19 pm Change Time Zone

R version 2.14.1
Dinesh_S
 
Posts: 4
Joined: Tue Mar 19, 2013 6:02 pm

Next

Return to R Plugin

Who is online

Users browsing this forum: No registered users and 1 guest