Re: [R] file size limit for importing SAS file

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 26 Oct 2005 - 01:56:37 EST

"Guenther, Cameron" <Cameron.Guenther@myfwc.com> writes:

> Does anyone know if there is a file size limit for inputting a SAS data
> set? The file size I am trying to import is 184 MB.
> The code is:
>
> >library("foreign")
> >
> > sashome<-"C:/Program Files/SAS Institute/SAS/V8"
> > input.data<-read.ssd( file.path("G:/DATA/Cam/ECPATH/FIM"),"tbm_c",
> + sascmd=file.path(sashome,"sas.exe") )
>
> The return message is:
>
> SAS failed. SAS program at
> C:\DOCUME~1\CAMERO~1.GUE\LOCALS~1\Temp\Rtmp17498\file11436.sas
> The log file will be file11436.log in the current directory
> Warning message:
> SAS return code was 2 in: read.ssd(file.path("G:/DATA/Cam/ECPATH/FIM"),
> "tbm_c", sascmd = file.path(sashome,
> >

Well, the error says that SAS failed and that step should be quite immune to size limitations. So what is inside that log file?

This part looks dodgy:

...file.path("G:/DATA/Cam/ECPATH/FIM"),"tbm_c",...

Should "tbm_c" be inside the parens?

-- 
   O__  ---- Peter Dalgaard             ุster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Oct 26 02:01:22 2005

This archive was generated by hypermail 2.1.8 : Wed 26 Oct 2005 - 03:12:33 EST