Message-ID: <MPG.256c6dd5e03969109896a6@news.gmane.org>
Date: 2009-11-17T07:23:18Z
From: Karl Ove Hufthammer
Subject: Plotting Histogram using histogram() and for loop and I want to save the histogram individually ... HELP
On Mon, 16 Nov 2009 19:54:08 -0800 (PST) ychu066 <ychu066
@aucklanduni.ac.nz> wrote:
> here is the codes that i tried.....
>
> > png(paste("hist",i,".png",sep="")
> + library(lattice)
> Error: unexpected symbol in:
> "png(paste("hist",i,".png",sep="")
> library"
There is a missing ')' at the end of the first line.
If you use an editor with syntax highlighting, it is
easy to spot these types of errors.
--
Karl Ove Hufthammer