[R] Not getting correct graphs

2012-03-31 Thread Sri krishna Devarayalu Balanagu
Hi all, Can anybody debug the following programme, as I am getting some Junk graphs in the pdf. Please find the attached raw data file. Thank you Regards Rayalu library(ggplot2) setwd(D:\\General Check list) library(RODBC) conn - odbcConnectExcel (Book1.xls) Orange1 - sqlFetch (conn, Sheet3)

Re: [R] Not getting correct graphs

2012-03-31 Thread Bryan Hanson
Attachments don't come through on this list. It would be helpful to know what you mean by junk graphs. Your coding style is a little hard to follow as it is a mix of - and - but I think you definitely have a problem in for (i in refid) which should probably be for (i in 1:length(refid))

Re: [R] Not getting correct graphs

2012-03-31 Thread Uwe Ligges
On 31.03.2012 15:03, Bryan Hanson wrote: Attachments don't come through on this list. It would be helpful to know what you mean by junk graphs. Your coding style is a little hard to follow as it is a mix of - and- but I think you definitely have a problem in for (i in refid) which