From uhkeller at web.de  Mon Jun 19 14:51:59 2006
From: uhkeller at web.de (uhkeller at web.de)
Date: Mon, 19 Jun 2006 14:51:59 +0200 (CEST)
Subject: [Rd] write.foreign (SPSS) writes illegal SPSS variable names
	(PR#9006)
Message-ID: <20060619125159.DFA671DD2A@slim.kubism.ku.dk>

Full_Name: Ulrich Keller
Version: Version 2.3.1 Patched (2006-06-05 r38290)
OS: Windows XP SP2
Submission from: (NULL) (158.64.77.159)


The variable names specified in SPSS syntax files created by
write.foreign(...,package="SPSS") contain hyphens ("-") if these were present in
the R variable names. Hyphens are illegal in SPSS variable names. As a result,
the syntax file is not executed by SPSS and no data is loaded.

According to the SPSS Base Syntax Guide, the only legal characters apart from
letters and numbers are "the period, underscore, and the characters $, #, and
@".



[Rd] write.foreign (SPSS) writes illegal SPSS variable names (PR#9006)
uhkeller at web.de