savSource Function (GPL)
Syntax
savSource(file("file path"))
Note: This function works with the IBM® SPSS® Statistics data
file driver. You must have the driver installed and configured before
using the function. The driver is available
with the installation media for your product. You can also use the userSource
function
to read IBM SPSS Statistics data
directly. See the topic userSource Function (GPL) for
more information.
"file path". The absolute path to the SAV file. To ensure
that the file is located correctly, this should be an absolute path.
Backslashes must be escaped with another backslash (for example, C:\\data\\myfile.csv
).
You can also use forward slashes (for example, C:/data/myfile.csv
).
Description
Reads the contents of a SAV data file for IBM SPSS Statistics. This function is used to assign the contents of the file to a data source.
Examples
SOURCE: mydata = savSource(file("/Data/Employee data.sav"))