[Rd] Patch for bug 17256 'possible bug in writeForeignSAS in the foreign library when string is NA'

2018-05-17 Thread NELSON, Michael
Attached is a patch to fix https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17256 'possible bug in writeForeignSAS in the foreign library when string is NA' The patch 1. fixing the case where there were NA within a character column, and the case where all values are strings of length 0

Re: [Rd] Patch for bug 17256 'possible bug in writeForeignSAS in the foreign library when string is NA'

2018-05-17 Thread Martin Maechler
> NELSON, Michael > on Thu, 17 May 2018 11:53:27 + writes: > Attached is a patch to fix > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17256 > 'possible bug in writeForeignSAS in the foreign library > when string is NA' > The patch 1. fixing the case

Re: [Rd] Date method of as.POSIXct does not respect tz

2018-05-17 Thread Martin Maechler
> Roland Fuß > on Wed, 16 May 2018 17:21:07 +0200 writes: > R 3.5.0 Is it intended that the Date method of as.POSIXct > does not respect the tz parameter? I suggest changing > as.POSIXct.Date which is function (x, ...) .POSIXct(unclass(x) * 86400) > to this:

Re: [Rd] Patch for bug 17256 'possible bug in writeForeignSAS in the foreign library when string is NA'

2018-05-17 Thread NELSON, Michael
Hi Martin, Thanks - I will continue in Bugzilla. Michael -Original Message- From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] Sent: Thursday, 17 May 2018 11:34 PM To: NELSON, Michael Cc: r-devel@r-project.org Subject: Re: [Rd] Patch for bug 17256 'possible bug in writeForeignSAS