[R] file size limit for importing SAS file
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Tue Oct 25 17:56:37 CEST 2005
"Guenther, Cameron" <Cameron.Guenther at 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 at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list