Uniface on GitHub
Fixes and Updates
Author: firstname.lastname@example.org (cabero)
Does anyone have an experience on Integration of R script programs within Uniface application, using DCOM or WebServices ? Thanks for any help Daniel
This will be VERY useful to display graphics within Uniface application... Anyone have an idea ? Thank you
Hi Daniel, at least you can use spawn to start the rscript tool to create some output file. Then you can use an approptiate viewer to display the generated file.
OR: you can open up a complete RStudio using spawn (depends what you need)
This is an alternative front end for use in #! scripts and other scripting applications.
Rscript [options] [-e expr [-e expr2 ...] | file] [args]
Thank you Ulrich for your response. But my idea was to directly access to the datas retrieved in an Uniface grid , with R script. (with DCom or whatelse ... any idea ?) So that to avoid to export data in files from Uniface (which is not so good : compose a flat file with the filedump function is very long !!) and after import theses files in R script...
As far as I have seen, "R" is not a windows based product and has no ActiveX, DCOM etc. abilities. I'm pretty aware what you are after, but using spawn is a way you can invoke the Rscript application from inside Uniface. BTW: creating a flat file is reasonably fast, all you have to avoid is a multitude of appends of very small chunks to the file
Hi, Google "RTVS - R Tools for Visual Studio". "No, it is not a .NET implementation of R. We simply provide tools for R in Visual Studio (editor, interactive window, plotting, debugger, etc). You do can use .NET languages from R or invoke R from .NET via open source libraries like R.Net and rClr." As the support for R is improved in VS there shouldn't be that difficult to integrate with Uniface. Either via C# or C, or den somehow directly. However I have no experience of it. Regards RogerW.
© 2021 Uniface Privacy & Cookies | Privacy Statement | Legal