spssdata.CloseDataConnection Function (R)

spssdata.CloseDataConnection(). Closes a data connection created by the GetSplitDataFromSPSS function. This function only applies to data connections created to handle IBM® SPSS® Statistics datasets containing split groups. CloseDataConnection should be called when done reading from such datasets.

  • Data connections are implicitly closed at the end of a BEGIN PROGRAM R-END PROGRAM block.

For an example of using CloseDataConnection see the topic on the GetSplitDataFromSPSS function.