Hey all,

I'm developing an application that calls third party software using
system2(...,  stdout = TRUE) and then reads this using textConnection() +
 read.csv ().

Problem is that sometimes the output is bigger than 8096 bytes and then the
lines are split (from system2 documentation), what messes up what I have
set up to read the output.

Is there any way of preventing system2() from breaking the lines? I think I
can work around this issue, but I'm looking for a cleaner solution for the
time being.

Cheers,

Luiz

-- 
Luiz Max Fagundes de Carvalho
PhD student, Institute of Evolutionary Biology,  School of Biological
Sciences,
Ashworth Laboratories, Ash 2, office 123
University of Edinburgh, United Kingdom.
http://br.linkedin.com/pub/luiz-max-carvalho/49/687/283

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to