search for: fh4

Displaying 2 results from an estimated 2 matches for "fh4".

Did you mean: fc4
2010 Apr 14
2
Import ASCII data using a .sas program
...es involved and the ASCII data file is 2308 columns long so I would certainly prefer to figure out a smart way of converting the data to R. The ASCII data is a long stream of numbers (no field separators or delimiters) while the SAS import file looks like: libname mine 'c:\'; data mine.fh4; infile 'd:\fh4.txt' lrecl=2309; input perstat1 $1-2 linenum $3-4 I_wave1 $5-5 bnocost1 $6-10 bnosta1 $11-12 So SAS uses the position of the ASCII character to determine what variable the data should be in while the SCAN or the READ. FWF function of R uses the width o...
2007 Oct 09
5
Playing with ReadFileScatter()
Hi all, Looking at the IO.readlines source in io.c, it looks to me like they grab 8k chunks, split on the input record separator, and buffer accordingly. Since it looks like ReadFileScatter() does some of that work automatically (in page file sized chunks), I thought I''d give it a try. Here''s what I''ve got, but it doesn''t work. I have an incorrect parameter