Oliver <oliver <at> first.in-berlin.de> writes:
>
> Hello,
>
> is there a possibility to call a program (like with system())
> and read back the data it prints to stdout?
>
> On Unix/Linux there is the popen() systemcall, which does this.
>
> Is it available in R?
> Maybe via extra packages?
>
> Ciao,
> Oliver
>
>
Ah, found pipe()
can read my data with
readLines(pipe("ls -1") )
for example :)
______________________________________________
[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
and provide commented, minimal, self-contained, reproducible code.