[Rd] [patch] writeForeignSAS writes invalid SASdata for logical columns

2011-09-17 Thread Patrick McCormick
Hi, The patch attachment did not make it in my previous mail. I have pasted it below. Thanks, Patrick McCormick diff -U3 -r foreign_0.8-45/R/writeForeignSAS.R foreign/R/writeForeignSAS.R --- foreign_0.8-45/R/writeForeignSAS.R 2010-12-17 07:17:32.0 -0500 +++ foreign/R/writeForeignSAS.R

[Rd] patch] writeForeignSAS writes invalid SASdata for logical columns

2011-09-16 Thread Patrick McCormick
Hi, I have been trying to encourage R use among my colleagues who use SAS, and part of that is demonstrating that R can perform a high fidelity export to SAS with the foreign package.  Recently one of my exports caused a SAS error, and I found that logical vectors within a dataframe are not export