[R-SIG-Mac] R console hangs

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Dec 7 14:48:29 CET 2007


This is now resolved in R-devel.  It does seem MacOS-specific, but we 
don't know why it differs from Linux or Solaris, say.

On Wed, 5 Dec 2007, Robin Hankin wrote:

> 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
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-SIG-Mac mailing list