Posted by
Kirill Orlov on
Jun 08, 2016; 2:14pm
URL: http://spssx-discussion.165.s1.nabble.com/No-chi-square-value-in-McNemar-test-output-tp1080750p5732346.html
Marta,
MATRIX should be able to save to a declared dataset. The CSR doc on
SAVE statement of matrix session puts it:
OUTFILE designates the file to which the matrix expression is to be
written. It can be an actual filename in
quotes, a previously declared dataset in the current session, or a
file handle defined on a FILE HANDLE
command that precedes the matrix program. To save a matrix
expression as the active dataset, specify an asterisk (*). If there
is no active dataset,
one will be created; if there is one, it is replaced by the saved
matrices.
I've never encounter problems ("I discovered that exporting data
from matrix to an already declared (and empty) dataset triggered an
error") with it on Windows 7 and any SPSS version 15 or higher. I'm
not sure about Windows 10 (just recently installed it, so I still
have to check).
Can you send me a piece of code that invoked such error on Windows 7
or 10? What does the error message say?
08.06.2016 16:21, Marta Garcia-Granero
пишет:
Hi KirilL:
I used to write a lot of macros that took advantage of the
possibility of having several datasets open at the same time.
They worked OK with Windows XP and any version of SPSS (15 or
newer). SInce I switched to Windows 7/10, I discovered that
exporting data from matrix to an already declared (and empty)
dataset triggered an error. The workaround was to write
temporary files in disk (C:\Temp\ was my favorite folder) and
open them later, or run SPSS with administrator rights (which
was impossible for my students at the university). Since I kept
on getting private emails regarding the problem with that macro
in particular, I rewrote it to avoid any data crossing between
MATRIX and SPSS data editor.
=====================
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