Re: [Rd] [Bug 17546] extend readtable with a hook for column type detection

2019-04-02 Thread Kurt Van Dijck
Hey, Does someone have comments on the v4 of the proposed patch? Kind regards, Kurt __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [RFC] readtable enhancement

2019-03-28 Thread Kurt Van Dijck
On wo, 27 mrt 2019 22:55:06 -0700, Gabriel Becker wrote: >Kurt, >Cool idea and great "seeing new faces" on here proposing things on here >and engaging with R-core on here. >Some comments on the issue of fallbacks below. >On Wed, Mar 27, 2019 at 10:33 P

Re: [Rd] [RFC] readtable enhancement

2019-03-27 Thread Kurt Van Dijck
t; in bugzilla terminology, so please >submit this there. I think I've made you an account. >Thanks, >Michael > >On Wed, Mar 27, 2019 at 1:19 PM Kurt Van Dijck ><[1]dev.k...@vandijck-laurijssen.be> wrote: > > Thank you for your answer

Re: [Rd] [RFC] readtable enhancement

2019-03-27 Thread Kurt Van Dijck
Thank you for your answers. I rather do not file a new bug, since what I coded isn't really a bug. The problem I (my colleagues) have today is very stupid: We read .csv files with a lot of columns, of which most contain date-time stamps, coded in DD/MM/ HH:MM. This is not exotic, but the base

Re: [Rd] [PATCH 1/2] readtable: add hook for type conversions per column

2019-03-26 Thread Kurt Van Dijck
On di, 26 mrt 2019 12:48:12 -0700, Michael Lawrence wrote: >Please file a bug on bugzilla so we can discuss this further. All fine. I didn't find a way to create an account on bugs.r-project.org. Did I just not see it? or do I need administrator assistance? Kind regards, Kurt ___

Re: [Rd] [PATCH 1/2] readtable: add hook for type conversions per column

2019-03-26 Thread Kurt Van Dijck
Hello, I want to find out if this patch is ok or not, and if not, what should change. Kind regards, Kurt __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] [PATCH 1/2] readtable: add hook for type conversions per column

2019-03-25 Thread Kurt Van Dijck
would still take the base version of as.POSIXlt. Rather than fixing my specific requirement, this hook allows to probe for any custom format and do smart things with little syntax. Signed-off-by: Kurt Van Dijck --- src/library/utils/R/readtable.R | 12 +++- 1 file changed, 11 insertions

[Rd] [PATCH 2/2] readtable: add test for type conversion hook 'colConvert'

2019-03-25 Thread Kurt Van Dijck
Signed-off-by: Kurt Van Dijck --- tests/reg-tests-2.R | 21 + tests/reg-tests-2.Rout.save | 27 +++ 2 files changed, 48 insertions(+) diff --git a/tests/reg-tests-2.R b/tests/reg-tests-2.R index 9fd5242..5026fe7 100644 --- a/tests/reg-tests-2

[Rd] spss endianness bugfix

2008-07-17 Thread Kurt Van Dijck
lem in src/sfm-read.c, read_document(). The n_lines variable does not get byte-swapped. This patch solves the problem. Kind regards, Kurt Van Dijck & Ilse Laurijssen Index: src/sfm-read.c === --- src/sfm-read.c (revision

[Rd] spss long labels

2008-07-15 Thread Kurt Van Dijck
On Tue, Jul 15, 2008 at 09:29:22AM +0100, Prof Brian Ripley wrote: > On Tue, 15 Jul 2008, Martin Maechler wrote: > > >Hi Kurt, > > > >>>>>>"KVD" == Kurt Van Dijck <[EMAIL PROTECTED]> > >>>>>>on Wed, 09 Jul 2008 10:05

[Rd] spss long labels

2008-07-09 Thread Kurt Van Dijck
general interest in getting rid of the inconvenience of importing long labels from SPSS files. Kurt Van Dijck wrote: Hi, A frequently seen issue with importing SPSS data files, is that R does not import the 'long variable names'. I built a patch on the R-project's foreign modu

[Rd] spss long labels

2008-07-02 Thread Kurt Van Dijck
roubles there (no byteswapping problems, no 32<->64 bit issues) as it's mainly character processing. The patch is relative to the foreign directory. It was created against the trunk of R-project yesterday. We would appreciate that you import such patch into the main tree. Kind regards,