Hum, yes, that looks like a bug in the Mac GUI app. Doesn't happen if you run R from a terminal. I'm taking the liberty of forwarding to the R-sig-mac list.
A workaround is of course to start with a non-empty data frame, say: dd <- data.frame(a=1) fix(dd) but I'm not at all sure I understand how it is supposed to work for data entry at all.... (as you may have gathered, this is not something that gets much use in practice.) -pd On Aug 11, 2012, at 17:44 , Naresh Gurbuxani wrote: > Peter, > > I am learning R by reading your book ISwR. The following commands on page 52 > cause R to hang and never come back. > > dd <- data.frame() > fix(dd) > > My computer: Mac > Operating system: Lion (10.7.4) > R version: 2.13.1 > > I like your book very much and plan to read all chapters. > > Thanks, > Naresh > > -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Email: [email protected] Priv: [email protected] _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
