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
On Mon, Feb 23, 2009 at 05:18:28AM -0800, canadiangirl19 wrote:
> 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
> 19409
>
>
I´ve tried with:
write.fwf(test,file="E:/test.prn",widths=6),
but get the error:
Fehler in write.table(t(as.matrix(colnamesMy)), file = file, append =
append, :
unbenutzte(s) Argument(e) (widths = 6)
My matrix hast only one column (so it is a vector), and many rows, I want to
seperate
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)), file = file, append =
> append, :
> unbenutzte(s) Argument(e) (widths = 6)
> My matrix hast only one colum
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)), file = file, append =
>> append, :
>> unbenutzt
5 matches
Mail list logo