Unable to read zsav from R

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to read zsav from R

allitnils
hi all,

a few days ago i discovered the ZCOMPRESSED format which is a massive help given the file size we're dealing with.
however, we often use R and SAS to analyse SPSS files.
does anyone know if there is an R package that will allow us to read these .zsav files directly?
Reply | Threaded
Open this post in threaded view
|

Re: Unable to read zsav from R

Jon Peck
zsav is quite a different format internally.  I don't know of any R code that can read it.  You could, though, use Statistics to create an Rdata file using its R programmability.  I created an extension command, STATS GET R, to create a Statistics dataset from an R workspace, but I haven't done the reverse.

On Thu, Aug 10, 2017 at 12:36 AM, allitnils <[hidden email]> wrote:
hi all,

a few days ago i discovered the ZCOMPRESSED format which is a massive help
given the file size we're dealing with.
however, we often use R and SAS to analyse SPSS files.
does anyone know if there is an R package that will allow us to read these
.zsav files directly?



--
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Unable-to-read-zsav-from-R-tp5734632.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD



--
Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Unable to read zsav from R

Anthony Babinec

Not an answer to the poster’s question, but note that the

3rd party product StatTransfer 13 supports the R Workspace

format and a couple dozen other ones include SPSS file formats.

 

It also has a nice feature that ought to be in SPSS Statistics:

 

Take a fully defined SPSS SAV file and write out SPSS file definition code +

ASCII text file.

 

Anthony J. Babinec

[hidden email]

 

 

 

 

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Unable to read zsav from R

Jon Peck
I see from the Stat Transfer website that they  claim to read the new compressed format, but they refer to it as gsav rather than zsav.

Tony, as for the suggestion that Statistics should be able to write out file definition code, given that APPLY DICTIONARY can copy metadata and CODEBOOK and DISPLAY DATA can display this, and the free i/o modules can operate on sav files, what scenarios are you thinking of where writing out syntax for defining a file would be needed?

On Thu, Aug 10, 2017 at 7:16 AM, Anthony Babinec <[hidden email]> wrote:

Not an answer to the poster’s question, but note that the

3rd party product StatTransfer 13 supports the R Workspace

format and a couple dozen other ones include SPSS file formats.

 

It also has a nice feature that ought to be in SPSS Statistics:

 

Take a fully defined SPSS SAV file and write out SPSS file definition code +

ASCII text file.

 

Anthony J. Babinec

[hidden email]

 

 

 

 

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD



--
Jon K Peck
[hidden email]

===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD