Skip to content

User input in batch mode

1 message · Sebastien Bihorel

#
Dear R-users,

[Sorry to have to send this again but my former posts were trimmed 
because of some embedded HTML code]

readline is a nice function to get user input when one is working with 
the terminal. This function does not allow any interaction with the user 
when a script in batch mode (I guess by design)... Unfortunately, that 
is exactly what I am trying to do.
I would greatly appreciate if any R-user could:
- tell me if this is possible
- indicate a function I could look at, that would allow this type of 
interaction during a batch run.

Thank you in advance,

Version: R 2.8.1 installed on a Solaris system