Re: [R] User input in R program

2011-01-21 Thread jverzani
christiaan pauw  gmail.com> writes:

> 
> HI Everybody
> 
> Does anyone know of documentation about different ways of obtaining user
> input in R. I have used readline() but I wondered is there are sophisticated
> packages that does things like validate answers or generate selection
> lists.

You might consider the gWidgets package. Like rpanel, there are many functions 
that make this kind of thing quite easy to implement.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] User input in R program

2011-01-21 Thread Mauricio Zambrano
Probably, iplots may be useful for you:

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

Kinds,

Mauricio
-- 
===
Linux user #454569 -- Ubuntu user #17469
===

2011/1/21 christiaan pauw :
> HI Everybody
>
> Does anyone know of documentation about different ways of obtaining user
> input in R. I have used readline() but I wondered is there are sophisticated
> packages that does things like validate answers or generate selection
> lists.
>
> bets regards
> Christaan
>
>        [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] User input in R program

2011-01-21 Thread D Kelly O'Day

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 
-- 
View this message in context: 
http://r.789695.n4.nabble.com/User-input-in-R-program-tp3229515p3229738.html
Sent from the R help mailing list archive at Nabble.com.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] User input in R program

2011-01-21 Thread Matt Shotwell
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:
> HI Everybody
> 
> Does anyone know of documentation about different ways of obtaining user
> input in R. I have used readline() but I wondered is there are sophisticated
> packages that does things like validate answers or generate selection
> lists.
> 
> bets regards
> Christaan
> 
>   [[alternative HTML version deleted]]
> 
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] User input in R program

2011-01-21 Thread Hugo Mildenberger
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:
> HI Everybody
> 
> Does anyone know of documentation about different ways of obtaining user
> input in R. I have used readline() but I wondered is there are sophisticated
> packages that does things like validate answers or generate selection
> lists.
> 
> bets regards
> Christaan
> 
>   [[alternative HTML version deleted]]
> 
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] User input in R program

2011-01-21 Thread christiaan pauw
HI Everybody

Does anyone know of documentation about different ways of obtaining user
input in R. I have used readline() but I wondered is there are sophisticated
packages that does things like validate answers or generate selection
lists.

bets regards
Christaan

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.