search for: inmsq

Displaying 1 result from an estimated 1 matches for "inmsq".

Did you mean: incsq
2001 May 10
2
Scanning data lines with blanks in character vars
Hello, I'm trying to read data in from a file using scan(). The last field is a character string that contains blanks. I had read it in in S-Plus using this code: ifile <- list(entry=0,measure=0,st=0,count=0,score=0, error=0,inmsq=0,instd=0,outms=0,outstd=0,displc=0,ptbis=0,a=0, r="",name="") if.widths <- c(1, 5, 8, 3, 6, 7, 7, 7, 7, 7, 7, 7, 7, 2, 2, 85) d1 <- scan(file=fd,ifile,flush=T,skip=0,widths=if.widths) The name variable is a character string that contains blanks, is of varying len...