[R] Re: identify() in script

Diogo FC Patrao djogo at lbc.ludwig.org.br
Tue May 25 00:44:22 CEST 2004


On Mon, 2004-05-24 at 19:43, Diogo FC Patrao wrote:
> On Mon, 2004-05-24 at 17:17, Diogo FC Patrao wrote:
>  hallo,
>  
>  I want a script of mine to run identify(), and possibly switch to
>  interactive mode at some point. Is it possible?
>  
>  Thanks in advance

I think I didn`t explained my point properly. Consider I have a file
named, say, test.R, which contains

x=rnorm(100)
y=rnorm(100)
plot( x,y )
identify(x,y,1:100)

and want to invoke it as a batch, running (in linux)

$ R < test.R

just by doing this, no plot appear. That's my doubt: is it possible to
do this? or, there is a command which halts the execution at some point
and allow me to enter commands, as I've invoked R in interactive mode?

thanks for your patience,

dfcp




More information about the R-help mailing list