[R] Newbie help with calling R from C programs

Liaw, Andy andy_liaw at merck.com
Sun Feb 8 03:44:43 CET 2004


If all you want R to do is the graphics, you might as well use gnuplot for
that, IMHO.

Andy

> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Marko Krco
> Sent: Saturday, February 07, 2004 11:45 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Newbie help with calling R from C programs
> 
> 
> Hi,
> 
> I'm a new user of R (since yesterday) and I'd like to see if 
> I can use it
> in my codes. I often run large simulations which can take 
> hours or days to
> complete and I need a way of viewing how my data is evolving while the
> simulation is running.
> 
> I figure I can output my temporary data into a file and then use the
> system command in C to execute R with some command line 
> parameters. Now is
> there a way that I can order R to load in the data file, set 
> some plotting
> parameters, create a plot and exit? I'd like to be able to do 
> it in such a
> way that the only visible output is the plot display window 
> and no input
> is required of the user.
> 
> Any advice would be appreciated, or if you know of someplace 
> this question
> has been adressed before.
> 
> Thank you,
> Marko Krco
> 
> P.S. I'll be doing this in Linux
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
> 


------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}




More information about the R-help mailing list