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

> >>>>> "AB" == Alex Bokov <bo...@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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to