Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.LNX.4.64.0712071343570.9652@gannet.stats.ox.ac.uk>
Date: 2007-12-07T13:48:29Z
From: Brian Ripley
Subject: R console hangs
In-Reply-To: <CF985320-ABDA-45A6-B0D0-F1B079053157@noc.soton.ac.uk>

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