Re: [Rd] [R] R is creating a new level which is emty after importing a SAS file

2018-07-04 Thread peter dalgaard
It is not obvious that this is an error. If your nominal variable in SAS has a level which is not present in data, then R might just be making a faithful translation. There is a distinction between (a) having a gender variable with two levels of which 0 females and (b) pretending that male is th

[Rd] unexpected behavior of unzip with list=T and unzip=/usr/bin/unzip

2018-07-04 Thread Paul Schrimpf
Hello, I encountered some unexpected behavior of unzip when using info-zip's unzip instead of R's internal program. Specifically, unzip("file.zip", list=TRUE, unzip=/usr/bin/unzip) produces incorrect output if the zip archive has filenames with spaces, and results in an error if the zip archive in