Re: [Rd] Recommendations for a quick UI.

From: Stavros Macrakis <macrakis_at_alum.mit.edu>
Date: Tue, 02 Jun 2009 11:29:23 -0400

On Mon, Jun 1, 2009 at 9:21 AM, Martin Maechler <maechler_at_stat.math.ethz.ch>wrote:

> >>>>> "AB" == Alex Bokov <bokov@uthscsa.edu> on Mon, 01 Jun 2009 00:24:58
> -0500 writes:
>
> AB> I'm trying to wrap my R package in a GUI such that when
> AB> the user launches the app, they see my GUI window and
> AB> never interact with the R console at all....

> There's a dedicated "Special Interest Group" mailing list for
> answering / discussing such questions : R-SIG-GUI

I would also be interested in the answer to this.

My impression is that the R-sig-gui is mostly about graphical programming environments for R rather than about building GUI applications on top of R, though of course there is some overlap.

I have recently started playing with R.rsp and it seems to provide a fairly simple solution for developing GUIs if you have some familiarity with generating Web pages dynamically (cf. ASP, JSP, etc.); R.rsp lets you build a dynamic Web page powered by R. It includes its own asynchronous Web server. To get started:

     install.packages('R.rsp')
     library(R.rsp)
     browseRsp()

This will bring up the R.rsp documentation in a Web browser.

You can then edit rsp files in .../r/win-library/2.8/R.rsp/rsp and run them. It is even pretty straightforward to include plotting output, though the solution demonstrated in figures.rsp has a problem: either all users of the server share the same set of plot files (so one user's output will overwrite another's) or there will be an ever-growing collection of old plot files, with no mechanism for culling them. You can imagine various ways around this, but as far as I know R.rsp doesn't support them directly.

              -s

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 02 Jun 2009 - 15:36:33 GMT

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 Tue 02 Jun 2009 - 16:34:40 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