[Rd] R CMD check: "Undocumented class" for class created with setOldClass()

2011-11-18 Thread Andreas Borg
nt classes I did not write? Or is this intended behaviour? Best regards, Andreas -- Andreas Borg Abteilung Medizinische Informatik Universitätsmedizin der Johannes Gutenberg-Universität Mainz Institut für Med. Biometrie, Epidemiologie und Informatik (IMBEI) Obere Zahlbacher Straße 69, 55131

Re: [Rd] Reproducible use case for R crash after updating R

2011-05-18 Thread Andreas Borg
ve the hassle of reinstalling or copying the extension packages one regularly uses. Andreas -- Andreas Borg Medizinische Informatik UNIVERSITÄTSMEDIZIN der Johannes Gutenberg-Universität Institut für Medizinische Biometrie, Epidemiologie und Informatik Obere Zahlbacher Straße 69, 55131 Mainz

[Rd] [R] Sweave stops when opening X11 device fails

2011-05-03 Thread Andreas Borg
Andreas p.s.: I would be willing to dig in the code and look for a fix myself, but it would be great if anyone could give a hint where to look. I suspect "RweaveDriverRuncode" is the right place, but in what namespace is it? -- Andreas Borg Medizinische Informatik UNIVERSITÄTSMEDIZIN

Re: [Rd] super basic questions about S4 classes

2011-04-08 Thread Andreas Borg
y to debug S4 classes? I am very fond of mtrace() from debug package, but the simple set of commands i normally use doesn't take me into class methods. Would appreciate any pointers on these.. -- View this message in context: http://r.789695.n4.nabble.com/super-basic-questions-abo

Re: [Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-16 Thread Andreas Borg
Thanks for all the suggestions. However, I was not really looking for a solution but I want to propose this (in my view useful) change to be included in a future version of R. For the time being I will include a modified version in my package. Best regards, Andreas -- Andreas Borg

[Rd] Feature request: txtProgressBar with ability to write to arbitrary stream

2011-03-15 Thread Andreas Borg
cat(paste(c("\r |", rep.int(" ", nw*width+6)), collapse="")) --- > cat(paste(c("\r |", rep.int(" ", nw*width+6)), collapse=""), file = file) 59c59 < ), collapse="")) --- >

Re: [Rd] Using missing() in a S4 method with extra arguments

2011-03-11 Thread Andreas Borg
nction(x=0, y=0, z=0, ...) "not missing") Since you're dispatching on x and y, it doesn't really make sense (to me ;) to assign default values to them. Testing for missing-ness of z would I think have to rely on NA / NULL or other sentinel. Martin -- Andreas Borg Medi

[Rd] Using missing() in a S4 method with extra arguments

2011-03-11 Thread Andreas Borg
. Is there any alternative that works in this case? Or is there a chance that missing() might be changed to work in this case in the near future? Of course I know I could set NA or NULL as default values and check for these, but there are reasons I want to have legal default values for all argument

Re: [Rd] Problem with documentation of user-defined operator (S4 method)

2011-02-21 Thread Andreas Borg
vailable ones. So this is not a problem of misspelled arguments. The involved class is an S3 class made usable to S4 methods by "oldClass". Andreas Borg schrieb: Dear list members, I have defined a binary operator %append% with methods for some S4 classes. In my documentation fil

[Rd] Problem with documentation of user-defined operator (S4 method)

2011-02-21 Thread Andreas Borg
seen this behaviour with R 2.12.0 and 2.12.1. Best regards and thanks for any suggestion, Andreas -- Andreas Borg Medizinische Informatik UNIVERSITÄTSMEDIZIN der Johannes Gutenberg-Universität Institut für Medizinische Biometrie, Epidemiologie und Informatik Obere Zahlbacher Straße 69, 55131

Re: [Rd] Package with multiple shared libraries

2010-11-16 Thread Andreas Borg
does in general install all the *.so or *.dll's generated. I am not aware of a package that does so for more than one, though. On Mon, 15 Nov 2010, Andreas Borg wrote: Dear R-devel members, I would like to compile a package with two seperate shared libraries. For example, in a package

[Rd] Package with multiple shared libraries

2010-11-15 Thread Andreas Borg
is not intended to be loaded into R but into a SQLite database to which I connect via RSQLite. I would like to have these object in a seperate library. Thanks and kind regards, Andreas -- Andreas Borg Medizinische Informatik UNIVERSITÄTSMEDIZIN der Johannes Gutenberg-Universität Institut

[Rd] Fix for bug in match()

2010-01-18 Thread Andreas Borg
ual(table, h[i], x, indx)) { h[i] = NIL; /* < 0, only index values are inserted */ return; } i = (i + 1) % d->M; } } I would have submitted a patch file, but I couldn't checkout from the svn repository. Cheers, Andreas -- Andreas Borg Medizinische Informati