How should I do rapid GUI development for R and Octave methods (possibly with Python)?

僤鯓⒐⒋嵵緔 提交于 2019-12-02 14:19:04

I'd go with Python and PyQt4 for the UI, and use Rpy to interface to R.

There's the QtDesigner for interface designing and you can generate python from that. QtAssistant gives you a fully hyperlinked documentation set for Qt which is the best I've ever used.

Well worth it!

hadley

Why not continue to develop directly in R? There are a number of packages that allow you to develop GUIs (gWidgets RGtk, tcl/tk, RQt, Rwxwidgets, rjava) or web applications.

That's a tall order -- multi-platform, multi-backend (R and Ocatve), as well and cheap, fast and easy to use!

From the top of my head, look at these

  • Sage: they have what they call notebooks which are interactive web pages and showed a nice demo at useR! 2010; I think Octave is covered too

  • Shogun: which also integrates to Python, R and Octave and may have some tools for you to leverage.

I've been looking for something similar - simple rapid GUI in R. It seems there's a new alternative from RStudio guys.

Shiny should be sufficient for small web interfaces without much coding. Seems like a viable option if you need a simple input/output style of UI.

I haven't tried directly connecting Octave with Python beyond setting up Octave apps as a server and having a Python client call in, but I've had some luck integrating R with Python courtesy RPy. In some of our applications we build e.g. a wxPython + matplotlib Python frontend, and call the R scripts directly through RPy.

For R and Python integration you might also want to have a look at

You might try looking at RedR, which lets you wrap R packages in a Python GUI.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!