Re: [Rd] Link between Qt GUI and R

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Sun, 11 Sep 2011 12:09:22 -0500

On 11 September 2011 at 03:30, typhoong wrote:
| hi,
|
| i want to build a Qt front-end GUI which communicates with R, and i am not
| sure what i should use for the interface. There seems to be many ways:
| R.dll, Rinside, Rcpp, RQt, Rtools... . what is the best way? please advice.
|
| basically what i want to do is that, the Qt GUI will allow users to make
| selection and enter numbers, these inputs will be fed to R, already written
| .R files will perform the calculations, the calculation results
| (graphs/numbers) to be fed back and display in the GUI.

There is a complete (and working :) example in the RInside package. The design used in that application is to have a main C++ program (written with Qt) with happens to 'have R inside' --- which Rcpp and RInside facilitate.

RInside is on CRAN as well as on my site at

   http://dirk.eddelbuettel.com/code/rinside.html

and I blogged about this example at

   http://dirk.eddelbuettel.com/blog/2011/03/25#rinside_and_qt

As Simom mentioned, you can go the other way with keeping R as the core part and extending via R via the qtbase / qtgui / ... project inside the GGobi sources on github:

   https://github.com/ggobi

Dirk

-- 
Two new Rcpp master classes for R and C++ integration scheduled for 
New York (Sep 24) and San Francisco (Oct 8), more details are at
http://dirk.eddelbuettel.com/blog/2011/08/04#rcpp_classes_2011-09_and_2011-10
http://www.revolutionanalytics.com/products/training/public/rcpp-master-class.php

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Sun 11 Sep 2011 - 17:19:09 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 12 Sep 2011 - 07:00:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive