[R-SIG-Mac] error executing code from ISwR

Peter Dalgaard pd.mes at cbs.dk
Sat Aug 11 19:18:19 CEST 2012

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)

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.)


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: pd.mes at cbs.dk  Priv: PDalgd at gmail.com

More information about the R-SIG-Mac mailing list