Using R32bit from PowerBI - r

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.

Related

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.

RTVS can't see my regular R, and is telling me to use Microsoft R Client

I've installed R for Visual Studio (RTVS 1.0.30321.1407) on Microsoft Visual Studio 2015 Professional 2015 Version 14.0.25431.01 Update 3.
I already have regular R 3.4 on my machine, but the R Interactive window is telling me I need to install Microsoft R Client (which I don't want). The message I get upon opening an R project is:
When I try to use the R Interactive window, I get this error message:
Interactive Window is disconnected from R session.
Open Workspaces window and either select local R interpreter or try connecting to a remote machine.
How do I tell RTVS to use the latest version of R (which is already on my machine)?
There is a new "workspaces" pane in RTVS (I think you can open it under Windows or Layout menu under menu R Tools --> Windows --> Workspaces) that lets you connect to R installs. Add an R install but specify the path to the local R install and it will work fine. You can also use it to connect to Remote R installs.

How to use R studio on a remote server

Currently, i use R studio on my desktop, with all analysis run using my desktop machine
Performance for this is really poor, so i'm getting an external server that is more powerful dedicated for R jobs
I really like the Rstudio IDE, Is there a way I can connect Rstudio on my desktop to run R on the external server?
I want to be able to use it in the same way as I use my desktop version of R, so i can view my graphs etc
RStudio Server is what you need. You can download it here:
https://www.rstudio.com/products/rstudio/download-server-2/
Install it on your external server; then from your desktop (or from any other machine!) you can connect to the server in a web browser and use RStudio inside the web browser. RStudio Server shares a great deal of code with the desktop version so the interface will be nearly identical to what you're accustomed to.
Yes, if you sign up with Amazon AWS you can use Rstudio Server and control it from your desktop pretty easily. Give this site a read and see what you can do!
http://www.louisaslett.com/RStudio_AMI/
If you have your own server at work or the university, you can install the server there and use a vm window to log in from anywhere.

Pentaho CE 5.0 and R for predictions

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

Deploy R script in a portable usb form

I have an R script which I want to deploy so that it's idiot-proof, one click runs it etc. Unfortunately I don't have the means to pay for a server, and the environment in which it needs to run does not allow the installation of new software, only portable style apps can be run. (School computers) My script also relies on several non-base packages.
Is there any way to deploy R and my script in an easy to run way so it can be used off a usb stick?
You can install R on a USB drive and use it on any computer running the same OS. If you're using Windows, see question 2.6 of the R for Windows FAQ.
If you made the USB stick a bootable disk environment (say linux) with R installed on it, you could boot off it and do it that way.

Resources