<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.89">
<TITLE>Exporting Splus Data to R</TITLE>
</HEAD>
<BODY>

<P><FONT FACE="Times New Roman">Using </FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">&gt; data.dump(c(&quot;foo.frame.1&quot;,&quot;foo.frame.2&quot;, ...), file=&quot;DumpData&quot;, oldStyle=T)</FONT>
</P>

<P><FONT FACE="Times New Roman">in Splus generates the requisite file in my working Splus directory.&nbsp; However, when I use</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">&gt; library(foreign)</FONT>
<BR><FONT SIZE=2 FACE="Courier New">&gt; data.restore(file = &quot;C:/.../DumpData&quot;,verbose = TRUE, env = .GlobalEnv)</FONT>
</P>

<P><FONT FACE="Times New Roman">I get the error messages</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Error in as.name(name) : attempt to use zero-length variable name</FONT>
<BR><FONT SIZE=2 FACE="Courier New">In addition: Warning messages: </FONT>
<BR><FONT SIZE=2 FACE="Courier New">1: NAs introduced by coercion </FONT>
<BR><FONT SIZE=2 FACE="Courier New">2: NAs introduced by coercion </FONT>
<BR><FONT SIZE=2 FACE="Courier New">3: NAs introduced by coercion</FONT><FONT FACE="Times New Roman"> </FONT>
</P>

<P><FONT FACE="Times New Roman">and not all of the Splus dataframes are imported into R (though some of them are).</FONT>
<BR><FONT FACE="Times New Roman">Any suggestions would be greatly appreciated.&nbsp; I am using R version 1.6.1 on</FONT>
<BR><FONT FACE="Times New Roman">Windows 2000, Splus version 6.1 on Windows 2000.</FONT>
</P>
<BR>

<P><FONT FACE="Times New Roman">Respectfully,</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New"><I></I></FONT><I>&nbsp;<FONT SIZE=2 FACE="Tahoma">David Paul, Ph.D.</FONT></I>
<BR><FONT SIZE=2 FACE="Tahoma">&nbsp;<B> Battelle Memorial Institute</B></FONT>
<BR><B><FONT SIZE=2 FACE="Tahoma">&nbsp; 505 King Avenue</FONT></B>
<BR><B><FONT SIZE=2 FACE="Tahoma">&nbsp; Columbus, OH&nbsp; 43201</FONT></B>
<BR><B><FONT SIZE=2 FACE="Tahoma">&nbsp; 614.424.3176</FONT></B>
</P>

</BODY>
</HTML>