[R-SIG-Mac] R console hangs

Robin Hankin r.hankin at noc.soton.ac.uk
Wed Dec 5 09:45:43 CET 2007


Hi



MacOSX10.4.11; R-2.6.1 (downloaded the dmg yesterday).


I am having difficulty with system().  In my case the unix command  
produces
a single very very long line and my toy example appears to
hang R:


string <- "yes | sed 10q | tr '\n' ' ' "
a <- system(string,intern=TRUE)

in the R Console  R seems to hang and
I need to force-quit.


Things are better on a terminal but I still need to type control-C
to suspend the system() command.


Anyone?



--
Robin Hankin
Uncertainty Analyst and Neutral Theorist,
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743



More information about the R-SIG-Mac mailing list