Displaying 20 results from an estimated 10000 matches similar to: "[Bug 17546] extend readtable with a hook for column type detection"
2019 Mar 26
3
[PATCH 1/2] readtable: add hook for type conversions per column
Please file a bug on bugzilla so we can discuss this further.
On Tue, Mar 26, 2019 at 11:53 AM Kurt Van Dijck <
dev.kurt at vandijck-laurijssen.be> wrote:
> Hello,
>
> I want to find out if this patch is ok or not, and if not, what should
> change.
>
> Kind regards,
> Kurt
>
> ______________________________________________
> R-devel at r-project.org mailing
2019 Mar 22
3
[PATCH 1/2] readtable: add hook for type conversions per column
This commit adds a function parameter to readtable. The function is called
for every column.
The goal is to allow specific (non-standard) type conversions depending on the input.
When the parameter is not given, or the function returns NULL, the legacy default applies.
The colClasses parameter still takes precedence, i.e. the colConvertFn only applies to
the default conversions.
This allows to
2019 Mar 26
2
[PATCH 1/2] readtable: add hook for type conversions per column
You need admin assistance, someone will probably see your request here
and fulfill it.
It might be helpful to read this question/answer on StackOverflow
discussing the context of proposing patches to base R functionality ...
https://stackoverflow.com/questions/8065835/proposing-feature-requests-to-the-r-core-team
cheers
Ben Bolker
On 2019-03-26 4:20 p.m., Kurt Van Dijck wrote:
> On
2019 Mar 28
2
[RFC] readtable enhancement
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 PM Kurt Van Dijck <
dev.kurt at vandijck-laurijssen.be> wrote:
> Hey,
>
> In the meantime, I submitted a bug. Thanks for the assistence on that.
>
> > and I'm not
2019 Mar 28
0
[RFC] readtable enhancement
Hey,
In the meantime, I submitted a bug. Thanks for the assistence on that.
> and I'm not convinced that
> coercion failures should fallback gracefully to the default.
the gracefull fallback:
- makes the code more complex
+ keeps colConvert implementations limited
+ requires the user to only implement what changed from the default
+ seemed to me to smallest overall effort
In my
2019 Mar 28
0
[RFC] readtable enhancement
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 PM Kurt Van Dijck
> <[1]dev.kurt at vandijck-laurijssen.be> wrote:
>
> Hey,
>
2019 Mar 27
3
[RFC] readtable enhancement
This has some nice properties:
1) It self-documents the input expectations in a similar manner to
colClasses.
2) The implementation could eventually "push down" the coercion, e.g.,
calling it on each chunk of an iterative read operation.
The implementation needs work though, and I'm not convinced that coercion
failures should fallback gracefully to the default.
Feature requests
2019 Mar 27
0
[RFC] readtable enhancement
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/YYYY HH:MM.
This is not exotic, but the base library's readtable (and derivatives)
only accept date-times in a limited number of possible
2012 Dec 10
0
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Hi Carlos,
Thanks for identifying the bug. I'll confirm and fix. Is there a bug
report open for this?
-Anshu
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
On 12/10/2012 4:48 AM, Carlos Sánchez de La Lama wrote:
> Hi all,
>
> I have found what I think it is a bug in DFAPacketizer::ReadTable.
>
> When finding
2012 Dec 10
2
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Hi all,
I have found what I think it is a bug in DFAPacketizer::ReadTable.
When finding NextStateInTable to cache all transitions belonging to a state
into CachedTable, ReadTable does not check bounds:
unsigned ThisState =
DFAStateEntryTable[state];
|
unsigned NextStateInTable = DFAStateEntryTable[state+1];
which makes NextStateInTable get a random value when state == <last state
in
2012 Dec 11
0
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Hi again,
I can confirm r169783 fixes the problem. My testbench segfaulted in r169782
but works after your commit.
We can close the issue.
Thanks,
Carlos
2012/12/11 Carlos Sánchez de La Lama <csanchezdll at gmail.com>
> Hi Anshu,
>
> I got a testbench which fails (and segfaults) consistently with an
> environment (gcc + os) conveniently preserved in a virtual machine. I
2012 Dec 10
0
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Carlos,
I committed a fix in r169783. Thanks for catching this.
However, I could not reproduce an invalid read or a segfault even with
fadd.ll. Is there a test case you can check in that reproduces this bug?
Even if the segfault occurs intermittently, that's better than no test
case at all.
Thanks
-Anshu
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by
2012 Dec 10
2
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Hi Anshu,
no, I did not fill a bug report. It is not so easy to make the code fail
noticeably; during Hexagon CodeGen tests it happens silently and tests
pass. I am working on another VLIW backend which uses DFAPacketizer and
compiling llvm with gcc-4.4 makes it segfault, but with gcc-4.7 the bug
gets hidden again (it still happens, but values after DFAStateEntryTable in
memory are such that
2012 Dec 11
2
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Hi Anshu,
I got a testbench which fails (and segfaults) consistently with an
environment (gcc + os) conveniently preserved in a virtual machine. I will
confirm that it is gone there and report.
Thanks for the fix :)
Carlos
2012/12/10 Anshuman Dasgupta <adasgupt at codeaurora.org>
> Carlos,
>
> I committed a fix in r169783. Thanks for catching this.
>
> However, I could
2012 Dec 13
0
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Hi Anshu,
the "test case" I referred to requires the compilation of our whole
back-end. It segdaults when using gcc-4.4.3 under Ubuntu 10.04, with other
combinations I have tested it still happens (before your patch) but is not
noticeable unless using gdb. I have tried making valgrind catch it but no
success... so I guess the only way to *see* it is using the debugger.
I remember
2012 Dec 11
2
[LLVMdev] Possible bug in DFAPacketizer::ReadTable
Great! Can you please check in that test case or better still, a reduced
version of that test.
Thanks
-Anshu
---
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
On 12/11/2012 5:47 AM, Carlos Sánchez de La Lama wrote:
> Hi again,
>
> I can confirm r169783 fixes the problem. My testbench segfaulted in
> r169782 but works after your
2005 Oct 13
1
TDM400P off-hook detection problem
Hi list,
I have a "Wildcard TDM400P REV I Board 1" with 4 FXO
modules and * 1.0.9 up-and-running.
Only 2 FXO ports are used for 2 analog phones and
are doing fine.
I now wanted to use the 3rd and 4th port, but when I
insert an analog phone, take it off hook, I do not
get a dial tone.
With my 1st and 2nd port, I get messages like:
-- Starting simple switch on 'Zap/13-1'
2011 Jan 18
2
substituting level for NA in factor column
Greetings
I have a bunch of NAs in a column of categorical variables designating
the size classes (e.g., smallest to largest: 1,2,3,4) of cave crickets.
I'd like to substitute "U" (for unknown) for the NAs. Can anyone give me
an idea how to do this? Thanks in advance.
Cheers
Kurt
***************************************************************
Kurt Lewis Helf, Ph.D.
Ecologist
2008 Jul 02
2
spss long labels
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 module, in order to import
the 'long variable names' from SPSS (record 7, subtype 13).
To complete the job, I had to expand the "struct variable" definition
to have 64 +1 charachters. I'm not aware of side
2005 Mar 21
2
Flash hook & hangup problem
Hello.
I'm trying to transfer calls from an analog phone (Zap/1, TDM400P card) to
some other terminal connected to my Asterisk PBX. If I make a flash hook
pressing the phone hangup button quickly it works as expected, I get a new
dialtone and the other side is put on hold. But I would like to use my
phone's "R" key instead for some different reasons (it's quite easier to use