[Rd] Link between Qt GUI and R
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. graham -- View this message in context: http://r.789695.n4.nabble.com/Link-between-Qt-GUI-and-R-tp3804976p3804976.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Link between Qt GUI and R
On Sep 11, 2011, at 6:30 AM, 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. > I think qtgui already provides that ... but I didnt' test it myself ... Cheers, Simon > 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. > > graham > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Link-between-Qt-GUI-and-R-tp3804976p3804976.html > Sent from the R devel mailing list archive at Nabble.com. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Link between Qt GUI and R
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@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Link between Qt GUI and R
On Sun, Sep 11, 2011 at 11:30 AM, 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. > Another way is to write the Qt GUI code in Python using the PyQt4 classes, then use RPy to call the required R functionality, get the results back, slap them into the GUI. If you can program in Python or want to learn it then its the best way by far :) Barry __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Re: [Rd] Link between Qt GUI and R
hi everyone, thanks for all the tips. Barry, can you tell me why you think PyQT is by far the best way? graham -- View this message in context: http://r.789695.n4.nabble.com/Link-between-Qt-GUI-and-R-tp3804976p3806067.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel