R-beta: scripting with R?

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
07 May 1998 17:38:35 +0200


Luke Tierney <luke@stat.umn.edu> writes:

> Unless I'm very much mistaken (which would not be the first time :-))
> I think you can mix console and graphics behavior under Win32 (NT and
> 95, not Win32s) in one application. So having command line options
> that choose between creating a command window or using standard
> input/output would be possible. I haven't looked into th details yet,
> but I'm pretty sure it can be done.

Yes. In particular, a console application can do graphs. But if you
want to support Win32s, you're more or less stuck with the current
model.

Another thing: if you want the windowed text interface (scrollbars!)
launched from console program, I suspect you get a dangling "DOS-box".
I've only seen link-time solutions to that one.

So it's probably easier just to make two different .exe files...

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._