Displaying 4 results from an estimated 4 matches for "header3".
Did you mean:
header
2005 Aug 15
2
queer data set
I have a dataset that is basically structureless. Its dimension varies
from row to row and sep(s) are a mixture of tab and semi colon (;) and
example is
HEADER1 HEADER2 HEADER3 HEADER3
A1 B1 C1 X11;X12;X13
A2 B2 C2 X21;X22;X23;X24;X25
A3 B3 C3
A4 B4 C4 X41;X42;X43
A5 B5 C5 X51
etc., say. Note that a blank under HEADER3 corresponds to non
occurance and all semi colon (;) delimited var...
2012 Mar 26
2
read.csv and field containing single quotes
I need to read in csv files, created by 3rd party, with fields
containing single quotes (as shown below).
"header1","header2","header3","header4"
"field1r1","field2r1","field3r1","field4r1"
"field1r2","field2r2","field3r2PartA), field3r2PartB Very" Long","field4r2"
"field1r3","field2r3","field3r3","...
2004 Feb 26
6
adding header info to write.table
Hello,
Could someone please tell if there is a way to append header info to the top of an exported dataframe (exported with write.table). I want to append the following, which are the defininitions for an asciigrid:
ncols 532
nrows 999
xllcorner 510465
yllcorner 4766375
cellsize 30
NODATA_value -9999
Thanks very much,
femke
[[alternative HTML version deleted]]
2007 Feb 16
0
R_decompress1 and zlib
...o
the file as unsigned character. Here is, what I try to do:
> zz <- file(in.file, 'rb')
> ## the header has to be read in three parts due to the different data
types
> header1 <- readBin(zz, integer(), 8, size = 4)
> header2 <- readBin(zz, numeric(), 5, size = 8)
> header3 <- readBin(zz, integer(), 14, size = 4)
> data.raw <- readBin(zz, raw(), 1e6)
> close(zz)
> ## it works fine up to here
> mydata <- .Call('R_decompress1', data.raw)
Error: cannot allocate vector of size 1976123 Kb
In addition: Warning messages:
1: Reached total allocati...