RTools Big Data and Visual Studio - r

So, I'm working on a big data project which requires importing data into Visual Studio and using Microsoft's R packages, in particular, the RevoScaleR packages. So, this is all well and good. I've written my scripts. What I would like to do is set it up so an end-user (who doesn't know anything about programming or R) can enter a set of parameters/values into my predict() function and see the output on his/her screen through a web interface or GUI/similar.
Any suggestions?
Thanks.

You can achieve this by leveraging Microsoft R Server's Operationalization Features, as this is a general question, please see the guides here:
https://msdn.microsoft.com/en-us/microsoft-r/operationalize/quickstart-publish-web-service

Related

Correct way to create a software install script which can manage dependencies

I'm currently working on an university research related software which uses statistical models in it in order to process some calculations around Item Response Theory. The entire source code was written in Go, whereas it communicates with a Rscript server to run scripts written in R and return the generated results. As expected, the software itself has some dependencies needed to work properly (one of them, as seen before, is to have R/Rscript installed and some of its packages).
Due to the fact I'm new to software development, I can't find a proper way to manage all these dependencies on Windows or Linux (but I'm prioritizing Windows right now). What I was thinking is to have a kind of script which checks if [for example] R is properly installed and, if so, if each used package is also installed. If everything went well, then the software could be installed without further problems.
My question is what's the best way to do anything like that and if it's possible to do the same for other possible dependencies, such as Python, Go and some of its libraries. I'm also open to hear suggestions if installing programming languages locally on the machine isn't the proper way to manage software dependencies, or if there's a most convenient way to do it aside from creating a script.
Sorry if any needed information is missing, I would also like to know.
Thanks in advance

Is there a way to convert BAK using R?

Is there a way to use R to convert a BAK file to something more usable? I do not know of a library to do this, or if I could even do it using native R.
I saw on this website, that I could use SQL Server Management Studio to do this; but I am trying to not install extra software on this machine.
This may not be currently supported, but I wanted to ask before installing additional software. Thank you all in advance!

R: write a high-quality GUI for an R-project

I have written a piece of R-code that performs a numerical computation. Now, I want to implement it into a nice GUI. I know that there are some R-packages, that allow to create GUIs from within R (e.g. gWidgets, RGtk2, ...). However, they seem to be rather limited in the capabilities and complicate to build. So I thought about going the other way round and writing a windowed-program that incorporates my R-code.
Is it possible to write a nice GUI (for example in Visual Basic.NET or Java) that allows to gather some user inputs, call the R-computations and display the results?
I ask for Visual Basic because there is this new R-Open that comes along with Visual Studio which makes me think the two must offer natural ways of collaboration with each other. I also hope that I would be able to compile an exe with it in the end.
Thank you very much for you Help!
Bernd
You can embed R in C++ code. There are examples in the R source code and documentation.
Very briefly, you'll need to build a shared DLL version of R (i.e with the --enable-R-shlib option) from the source code, using the Windows Tools. This is how GUIs like RStudio function.
The R Admin manuals have detailed instructions. The RInside package might make this a bit easier.
With the shared DLL you could probably embed R in other languages (it works for R in Python).

What is the use of RTVS if you have Rstudio already?

What is the advantage go R tools for Visual Studio when you already have Rstudio installed on your machine. Even if I am using Visual Studio and lets say in that I am working on some C# project, that will be a completely different environment than that of RTVS IDE. So in what scenario RTVS will be useul?
As mentioned in the RTVS release page, R-Studio is a mature product with an awesome set of features, and RTVS has a fair way to go still in order to catch up.
Over time things will change as new versions of RTVS come out, however currently:
One place where RTVS is notably better is the variable explorer, which allows you to browse and drill-down into your variables interactively, as opposed to R-Studio's version that has no drill-down ability at this point.
Display of variable values in tooltips while debugging is also very nice, a feature R-Studio lacks.
RTVS has some very nice Excel exporting capabilities in the new version.
Visual Studio allows the windows to be detached, which makes using multiple monitors during development more useful. I love this.
RTVS has some pretty impressive intellisense and code-snippets.
The new package explorer is pretty impressive.
Some newer features:
The way RTVS handles multiple plots is impressive, it has a plot window history and you can even drag and drop plots between devices.
It has a workspaces concept makes it very easy to change between multiple R installations, both locally and remotely. This is an important Enterprise feature as you will undoubtably develop and deploy on different environments.
Both R-Studio and RTVS are open source, so the community can add features to them both if so desired.
Over time I expect RTVS to excel at integration with Microsoft's every expanding set of R offerings (the Revolution R engine is being integrated into SQL and other places for example) that are particularly interesting for production deployment.
RTVS should also be able to leverage Visual Studio's advanced debugging and code factoring features, however R-Studio can be expected to respond to those advances as well.
In general I think this will bring some welcome competition and variation into the R development world. Note that R has far fewer development GUI options currently than something like Python does for example.

Where is tMatchGroup located in Talend Open Studio for Big Data

I'm learning Data Quality with Talend Open Studio for Big Data version TOS_DQ-20141207_1530-V5.6.1.zip.
According to my problem, I want to use tMatchGroup but I realize that it doesn't appear in the Palette of Talend Studio. In the help.talend.com, they said that I have to subscribe to one of "Talend Platform products". (https://help.talend.com/display/TalendsComponentsReferenceGuide54EN/tMatchGroup)
Could anyone tell me how I can find this platform? I did some research but I don't know exactly where it is.
Thank you very much.
p/s: Sorry for my bad English.
I believe the tMatchGroup component is only available in Talend Platform for Data Services (the paid version of Talend). So since you're using the Open Studio, you won't be able to access it.

Resources