statistics - interactive R startup script -
i'm trying run interactive r (windows xp) input script runs few commands, , leaves me @ r command line prompt. however, when run it, exits.
for example, here's input file:
test.r:  x = 1 x   here's happens when run input file parameter:
c:\>r --file test.t >x = 1  >x [1] 1 c:\>  <--- exits , returns prompt   is there way run without r exiting?
i'd other way around.
just write script starts normal r gui or terminal application (per choice), place file .rprofile in same directory contains code want executed each , every time.
see help(startup) on details files r looks @ startup , may become clearer.
Comments
Post a Comment