[R] Mac carbon - foreign - read.spss

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Jun 25 17:03:46 CEST 2003


On Wed, 25 Jun 2003, Jean-Pierre Muller wrote:

> Can someone confirm that "read.spss" doesn't work with 
> usual (old) mac paths ("disk:dir:dir:file"), but only with 
> *nix path (Volumes/disk/...)?
> 
> rm171 (carbon) - MacOSX 10.2.6


The exact code used to open files is (variations on)

    FILE *fp = fopen(R_ExpandFileName(filename), "rb");

which is the same as used in functions such as file.create and 
append.file, and so it would be expected to handle OS-specific file paths.


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list