Skip to content

User input in R program

6 messages · christiaan pauw, Hugo Mildenberger, Matt Shotwell +3 more

#
Hello Christian,

for an example of interacting with graphic output, just run

    example(getGraphicsEvent)

However, on X11, that feature had ceased to work since a pre-release 
of R-2.12 if Cairo support was enabled at compile time. The reason for 
this defect had already been documented in R's bugs database for long. 
Maybe getGraphicsEvent still runs on Windows.

Best 

Hugo
On Friday 21 January 2011 13:26:26 christiaan pauw wrote:
#
Martyn Plummer's 'coda' package has some nice interactive menus. The
package appears to be written entirely in R. You could start with the
codamenu() function in the package source:

http://cran.r-project.org/web/packages/coda/index.html

-Matt
On Fri, 2011-01-21 at 14:26 +0200, christiaan pauw wrote:
#
Christian

Have you looked at the  http://www.stats.gla.ac.uk/~adrian/rpanel/ rpanel 
package?

I have a post which shows an example of interactive input that allows user
to adjust plot parameters.
http://chartsgraphs.wordpress.com/2009/05/08/rpanel-package-adds-interactive-capabilites-to-r/ 
link
#
Probably, iplots may be useful for you:

http://cran.r-project.org/web/packages/iplots/index.html

Kinds,

Mauricio
#
christiaan pauw <cjpauw <at> gmail.com> writes:
You might consider the gWidgets package. Like rpanel, there are many functions 
that make this kind of thing quite easy to implement.