spssdictionary.GetVariableCount Function (R)

spssdictionary.GetVariableCount(). Returns the number of variables in the active dataset.

Example

nvars <- spssdictionary.GetVariableCount()