R version 2.12.1 (2010-12-16) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- c(4,5,3,4,5,3,7,5,6,3,2,4,5,2,3,6,4,4,6,2) > par1 = '' > xlab = 'Score' > main = 'Smokers rating Hot Curries' > postscript(file="/var/www/rcomp/tmp/1x8xt1323016092.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > par1 <- as.numeric(par1) > myhist<-hist(x, breaks=par1, col=2, xlab=xlab, main=main) Error in hist.default(x, breaks = par1, col = 2, xlab = xlab, main = main) : invalid number of 'breaks' Calls: hist -> hist.default Execution halted