On Wed, 17 Nov 2004, Victor Robles wrote:

> I'm trying to write a C program that write to the standard input of R
> and read the standard output. I can perfectly read the R output, but
> I'm not able of writing anything to R.
> [SNIP C code]

Several years ago, I wrote some software that used S-plus as its
back-end and Java for the front-end. I found what worked best was
to add a pseudoterminal inbetween; you can use the code from
"UNIX Programming Environment" to create one. The solution was
later reused when a similar project used R for its back-end.

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)

______________________________________________
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to