Pentaho CE 5.0 and R for predictions - r

I use pentaho CE 5.0 and I want to integrate R plugins with pentaho. Does any one know how pentaho and R communicate with each other? Any tutorial or PDF available for integration pentaho with R?

There is one new plugin for PDI 4.4. I'm not sure if it also works for 5.0.
http://wiki.pentaho.com/display/EAI/List+of+Available+Pentaho+Data+Integration+Plug-Ins
PRScript Execute R Script

This is a good start to anybody who starts integrating Pentaho with R. http://wiki.pentaho.com/display/EAI/R+script+executor
There they provide example ktr files as well.
Summary of the contents of the link
Installation Instructions - Install R, Set R Environment Variables, Configure Spoon with rJava and Verification of Installation.
Description of options available - Configure tab, R Script tab, Output Fields tab,
Examples

Related

Using R32bit from PowerBI

I am using PowerBI for report server (64bit), and I need to access information in a 32bit ODBC database. I want to use an R Script to do this, but I have not been able to find the way of indicating PowerBI to use my 32bit R to do this, as it autoimatically chooses the 64bit R I have installed.
How can I indicate to PowerBI that it should use a 32Bit R installation instead of a 64bit?
R data sources don't support refresh in Power BI Report Server. https://learn.microsoft.com/en-us/power-bi/report-server/data-sources
For Power BI Desktop you configure the R home directory and it will run whatever you install there.

Installing R Studio without Admin Rights on Windows 10

While I was able to install R under my username, I am not able to the same for R studio. Is admin rights essential for R studio installation ? Will I face problems with package installations in future ?
Solution 1: In my experience, R Studio has required the privilege. You can circumvent it from here.
Solution 2: In the limited environments I am using Azure Notebooks. It is not an RStudio enviroment. It based on Jupyter Notebook. However, performing any analysis is quite easy.
RStudio provide a zip file of the required binaries for Windows 10. Download and then extract it, then run \bin\rstudio.exe.
It's possible that when I once had admin privileges and installed RStudio that I still have some essential dependencies to allow it run. I have seen a report that some have trouble with the zip distribution.

How to use R packages in Power BI?

I have plotted the graph using a code in R using library function which is part of certain package.
I want to use this code in powerbi to plot the graph. But I am not able to add the package (library function) in power bi?
For a Power BI Desktop scenario, it calls the R Installation specified in the Power BI Options. So you need to add the packages you want via that R Installation.
For an app.powerbi.com scenario, you are limited to the list of packages they support, ref:
https://powerbi.microsoft.com/en-us/documentation/powerbi-service-r-visuals/
Just to clarify, are you trying to install packages or add packages that you already have into R?
Unfortunately Power BI isn't an IDE for the R language, so you will need to install the packages that you want via your R IDE or command prompt.
If you are trying to use packages that are already installed on your machine, for example, the package plotrix, then you can use the R script editor in the Visualisations tab like this:
require(plotrix)
or
library(plotrix)
Please post an update to show if this has helped you. :)
Was just now gone through the same problem: everything was loading fine except the visual created with R which required me to use ggplot2 and it was giving an error saying
there is no package called ggplot2
In order to solve it, opened RStudio and in the console ran
install.packages("ggplot2")
Then, went back to PowerBI and clicked "Atualizar" (which means "Update" in portuguese)
and the visual showed up without any errors.

How to make executable file from R Project that developed in RStudio?

I desperately want to ask how to create an executable file from R Project that contains some R scripts in RStudio?
It doesn't matter that we have to install R first. It doesn't matter whether it .exe or .bat etc.
I have been made the GUI with tcltk and tcltk2 in R. So I just need to distribute it. Anyone have any solution? Please. It has to be done in 2 weeks.
if you want to distribute it as executable file in windows, i think you should develop it in .net framework, for example C# environment. and to bridge between R and C#, you can use a package called R.Net. R.Net is just a package that allows you to run R code via .net environment. you can find my R.net clustering code in my github

Building Revolution R Enterprise from the RevoEnt-10817.enterprise.tar.gz file?

How to build Revolution R Enterprise from the RevoEnt-10817.enterprise.tar.gz file
downloaded from Revolution Analytics website ?
My system is Windows 7. I have already installed R 2.15 and Rstudio.
Will it overwrite the original R installation ?
Can anybody guide me towards some step-by-step document/material ?
I could not quickly find a description on the RevoR website that describes how to install this source package. Like #agstudy suggested, you could post on their support forums and see if they can help you. It looks like you need to build R from source if you want to use the version of RevoR you downloaded, which requires you to install some additional tools. Probably those tools are the same as the ones you need to install for normal R, and can be found here.
But why do you need RevoR? Normal R is equally powerful, and you have already installed R and Rstudio, so you're good to go.

Resources