Re: [R] re ad.table prn file

2009-02-23 Thread canadiangirl19
It works thanks a lot Philipp Pagel-5 wrote: > > On Mon, Feb 23, 2009 at 06:24:33AM -0800, canadiangirl19 wrote: >> write.fwf(test,file="E:/test.prn",widths=6), >> but get the error: >> Fehler in write.table(t(as.matrix(colnamesMy)

Re: [R] re ad.table prn file

2009-02-23 Thread canadiangirl19
o seperate the vector (after 6 character, I don´t know, is the width=6?) in a matrix with 5 columns. How can I do this? And with format.info I get no output. thanks in advance for helping me Philipp Pagel-5 wrote: > > On Mon, Feb 23, 2009 at 05:18:28AM -0800, canadiangirl19 wrote: >

[R] re ad.table prn file

2009-02-23 Thread canadiangirl19
Dear Forum, I´ve imported a prn file with read.table (file("E:/test.prn"),sep="\t",skip=3). My problem is now, that my file has a complicated structure: It is not tabstop seperated, it looks like that: JEAR JAN FEB MAR APR 1938154 912 19396 71014 1940999

[R] re name vector

2009-01-16 Thread canadiangirl19
I´m a really R beginer, so I have a simply question. I would like to rename a vector in a loop. I´d like to have as output: vector1<-whatever vector2<-whatever vector3<-whatever etc.. so I thought it´s easily for (s in c(1:3)){ vector"n"<- whatever } but I´m getting an error. cheers -- Vie

Re: [R] hist function+label second y-axis

2008-03-21 Thread canadiangirl19
set line=3 at the axis=4 R did not show the label, because there is not enough space, so I decided to omit this comand, now it looks a little bit squeezed. Jim Lemon-2 wrote: > > canadiangirl19 wrote: >> Dear Forum, >> >> hist(x$LAN_3,col="green",xaxt='n

[R] hist function+label second y-axis

2008-03-21 Thread canadiangirl19
Dear Forum, hist(x$LAN_3,col="green",xaxt='n',yaxt='n',xlab="",ylab="",main="",type="l") I´d like to craete a line not a bar in the hist function, but regrettably I get only warning messages: 1: Grafikparameter "type" ist veraltet in: title(main, sub, xlab, ylab, line, outer, ...) 2: Grafikparam