Re: [R] problem on pg32 of ISwR

2008-02-21 Thread Gavin Simpson
On Thu, 2008-02-21 at 11:06 -0500, b.r. clark wrote: > > hist.with.normal<-function(x,xlab=deparse(substitute(x)),...)+ (+ > h<-hist(x, plot=F, ...)+ s<-sd(x)Error: unexpected symbol > in:"h<-hist(x, plot=F, ...)s"> > > I am using ISwR to teach myself R. Above is what happens when I try to > dup

[R] problem on pg32 of ISwR

2008-02-21 Thread b.r. clark
> hist.with.normal<-function(x,xlab=deparse(substitute(x)),...)+ (+ h<-hist(x, > plot=F, ...)+ s<-sd(x)Error: unexpected symbol in:"h<-hist(x, plot=F, ...)s"> I am using ISwR to teach myself R. Above is what happens when I try to duplicate the example on page 32. What went wrong? Note: I am u