Re: [R] Read.table mucks up headers

2014-04-26 Thread starter
Hello Uwe & Others Thanks for all your help, I figured out what the problem was. It wasn't working with old R version. Once I updated it to the latest version, it seemed to work. Thank you -- View this message in context: http://r.789695.n4.nabble.com/Read-table-mucks-up-headers-tp4688742p468

Re: [R] Fw: Save multiple plots as pdf or jpeg

2014-04-22 Thread starter
That is what I was trying to achieve; i.e. plot all my graphs using a loop function. But somewhere in the loop it converts each graph into png or bitmap image and then compiles all these png or bitmap images in a pdf file. So each page in a pdf file is a bitmap or png picture of my graph. Does th

Re: [R] Read.table mucks up headers

2014-04-21 Thread starter
Hello Uwe I tried both the options you mentioned but all i get as output then is the header line and the headers as "row.names" and "X." -- View this message in context: http://r.789695.n4.nabble.com/Read-table-mucks-up-headers-tp4688742p4689185.html Sent from the R help mailing list archive a

Re: [R] Read.table mucks up headers

2014-04-19 Thread starter
Hello Milan It had worked perfectly before, but now I am trying on a different text file but using the trick you showed I just get the headers in the output and that too as "row.names" and "X". *code:* corr <- read.table("E:/temp/corrosion data.txt",header=T,fileEncoding="UTF-8-BOM") > dput(corr

Re: [R] Save multiple plots as pdf or jpeg

2014-04-16 Thread starter
David you mentioned that one can deliver jpegs embedded in other formats like pdf. Do you know which programs can allow me to do that or how I can go on about it? Or does it involve some kind of loop whereby, it saves the plots as jpeg and then collates them into pdf. So it’s a multi-page document