Re: [Rd] cwilcox - new version

2024-01-17 Thread Andreas Löffler
> > > Performance statistics are interesting. If we assume the two populations > have a total of `m` members, then this implementation runs slightly slower > for m < 20, and much slower for 50 < m < 100. However, this implementation > works significantly *faster* for m > 200. The breakpoint is prec

[Rd] cwilcox - new version

2024-01-15 Thread Andreas Löffler
question. I also have written an example of a main function where the original code from R is compared to my code. I do not attach this example because this email is already very long but I can provide that example if needed. Maybe we can discuss this further. Best wishes, Andreas Löffler

[Rd] download.file() issue with pdf docs on Windows: Set mode="wb" automatically?

2023-06-16 Thread Andreas Blätte
_local <- tempfile() download.file(url = gruene_btw2021, destfile = gruene_btw2021_local) pdftools::pdf_info(gruene_btw2021_local) Kind regards Andreas -- Prof. Dr. Andreas Blaette Professor of Public Policy University of Duisburg-Essen [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Proposal to limit Internet access during package load

2022-09-28 Thread Blätte , Andreas
Dear Tomas, thank you so much for the explanation. Very helpful for myself, and relevant for the wider context of packages using rwinlib! Andreas Am 27.09.22, 20:18 schrieb "Tomas Kalibera" : On 9/27/22 18:42, Blätte, Andreas wrote: > Dear all, > > my a

Re: [Rd] Proposal to limit Internet access during package load

2022-09-27 Thread Blätte , Andreas
scenario. It may not be covered by Iñakis initial three scenario? Kind regards, Andreas Am 27.09.22, 10:15 schrieb "R-devel im Auftrag von Iñaki Ucar" : El mar., 27 sept. 2022 4:22, Dirk Eddelbuettel escribió: > > Regarding 'system' libraries: Packag

[Rd] localeToCharset()

2022-01-31 Thread Blätte , Andreas
of my analysis of the code of `localeToCharset()` is that it targets special scenarios on Windows and macOS, but not on Linux. Kind regards Andreas -- Prof. Dr. Andreas Blaette Professor of Public Policy and Regional Politics University of Duisburg-Essen [[al

Re: [Rd] [External] GC: speeding-up the CHARSXP cache maintenance, 2nd try

2021-11-07 Thread Andreas Kersting
Hi Luke, As proposed by you, I have just added this to the wishlist in Bugzilla: https://bugs.r-project.org/show_bug.cgi?id=18233 Best, Andreas 2021-11-04 17:04 GMT+01:00 luke-tier...@uiowa.edu: > Can you please submit this as a wishlist item to bugzilla? it is > easier to keep track of

Re: [Rd] GC: parallelizing the CHARSXP cache maintenance

2021-11-07 Thread Andreas Kersting
I have now added this to the wishlist in Bugzilla: https://bugs.r-project.org/show_bug.cgi?id=18234 2021-10-07 09:26 GMT+02:00 "Andreas Kersting" : > Hi all, > > As part of RunGenCollect() (in src/main/memory.c), some maintenance on the > CHARSXP cache is done, namely u

[Rd] GC: speeding-up the CHARSXP cache maintenance, 2nd try

2021-11-04 Thread Andreas Kersting
lso did not yet adjust do_show_cache() and do_write_cache(), but I could do so if the patch is accepted. Thanks for your consideration and feedback. Regards, Andreas P.S. I had a hard time to get the indentation right in the patch due the mix of tabs and spaces. Sorry, if I

[Rd] GC: improving the marking performance for STRSXPs

2021-10-07 Thread Andreas Kersting
Hi all, in GC (in src/main/memory.c), FORWARD_CHILDREN() (called by PROCESS_NODES()) treats STRSXPs just like VECSXPs, i.e. it calls FORWARD_NODE() for all its children. I claim that this is unnecessarily inefficient since the children of a STRSXP can legitimately only be (atomic) CHARSXPs and

[Rd] GC: parallelizing the CHARSXP cache maintenance

2021-10-07 Thread Andreas Kersting
Hi all, As part of RunGenCollect() (in src/main/memory.c), some maintenance on the CHARSXP cache is done, namely unmarked nodes/CHARSXPs are removed from the hash chains. This requires always touching all CHARSXP in the cache, irrespective of the number of generations which were just garbage co

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-08 Thread Andreas Kersting
Hi, For (hopefully) full reproducibility: docker run rocker/tidyverse:4.0.5 Rscript -e 'devtools::install_github("akersting/dumpTest", INSTALL_opts = "--with-keep.source"); library(dumpTest); for (i in 1:100) {print(i); print(system.time(f()))}' Regards, Andre

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Andreas Kersting
also from base R. If I install using e.g. devtools::install_github() directly it is also fine for me. Could you please confirm? Thanks! Regards, Andreas 2021-04-07 16:20 GMT+02:00 "Dirk Eddelbuettel" : > > On 7 April 2021 at 16:06, Andreas Kersting wrote: > | Hi Luke, > | &

Re: [Rd] [External] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Andreas Kersting
9 user system elapsed 11.807 0.708 12.597 [1] 10 ^C Timing stopped at: 6.638 0.549 7.214 I had to interrupt in iteration 10 because I was running low on RAM. Regards, Andreas 2021-04-07 15:28 GMT+02:00 luke-tier...@uiowa.edu: > On Wed, 7 Apr 2021, Andreas Kersting wrote: > >

[Rd] memory consumption of nested (un)serialize of sys.frames()

2021-04-07 Thread Andreas Kersting
ption of the R process (v4.0.5 on Linux) quickly explodes. I am having a hard time to understand what exactly is happening here. Something w.r.t. too deeply nested environments? Could someone please enlighten me? Thanks! Regards, Andreas Background: In an R package I store crash dumps on error in a

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-03-30 Thread Andreas Kersting
on. Very much appreciated! Regards, Andreas 2021-03-30 10:03 GMT+02:00 "Simon Urbanek" : > Andreas, > > What does any of this to do with CRAN? This not a the CRAN list - we're > discussing the proper approach of using valgrind and R can only assume that > the memory i

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-03-29 Thread Andreas Kersting
lizes the memory, that is fine, but unnecessary.", I am not sure if it is acceptable. Regards, Andreas 2021-03-30 00:39 GMT+02:00 "Simon Urbanek" : > Andres, > > correct me if I'm wrong, but the issue here is not initialisation but rather > valgr

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-03-29 Thread Andreas Kersting
y directly from allocVector3(). Regards, Andreas 2021-03-29 10:41 GMT+02:00 "Tomas Kalibera" : > Hi Andreas, > On 3/26/21 8:48 PM, Andreas Kersting wrote: >> Hi Dirk, > > Sure, let me try to explain: > > CRAN ran the tests of my >> package using R which wa

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-03-26 Thread Andreas Kersting
are that this is a problem / not allowed. Regards, Andreas 2021-03-26 19:51 GMT+01:00 "Dirk Eddelbuettel" : > > Andreas, > > Can you briefly describe what it is you are trying to do? > > In general, no R package would use valgrind directly; it is an optional &

Re: [Rd] custom allocators, Valgrind and uninitialized memory

2021-03-26 Thread Andreas Kersting
!? Not sure though if Oracle Developer Studio on Solaris supports __has_include() ... 2021-03-26 08:40 GMT+01:00 "Andreas Kersting" : > Hi, > > In my package bettermc, I use a custom allocator, which hands out already > defined/initialized memory (mmap of a POSIX shared memo

[Rd] custom allocators, Valgrind and uninitialized memory

2021-03-26 Thread Andreas Kersting
need to include both valgrind.h and memcheck.h in the src of my package and include these (rather than the system headers), correct? Should I best take these headers directly from R (src/include/vg)? Thanks! Regards, Andreas __ R-devel@r-project.org

Re: [Rd] Apple M1 CRAN checks

2021-02-28 Thread Blätte , Andreas
there are plans to offer testing environments for Apple M1. Andreas Blätte Am 28.02.21, 16:50 schrieb "R-devel im Auftrag von Paul Gilbert" : If there was a response to the "how can I test it out" part of this question then I missed it. Can anyone point to a W

[Rd] Different results from 'lm' for different 32-bit Windows versions

2020-11-23 Thread Andreas Fromkorth
me(x = c(1, 2, 3), y = c(1, 2, 3))) Coefficients: (Intercept)x -4.441e-161.000e+00 Both versions behave identically until the call C_Cdqrls in the fit.lm function. What causes this changed behavior? Best regards, Andreas Fromkorth. Next PLA 3.0 Trainings (Business class

Re: [Rd] S4 - inheritance changed by order of setClassUnion and setAs()

2020-10-06 Thread Blätte , Andreas
Andreas Von: Gabriel Becker Datum: Dienstag, 6. Oktober 2020 um 02:02 An: Blätte Cc: Peter Dalgaard via R-devel Betreff: Re: [Rd] S4 - inheritance changed by order of setClassUnion and setAs() Andreas, As far as I can tell (/conjecture), this is because the list of classes a particular class

[Rd] S4 - inheritance changed by order of setClassUnion and setAs()

2020-10-05 Thread Blätte , Andreas
setClass("mother", slots = c(b = "matrix"), contains = "grandma") setClass("daughter", slots = c(c = "list"), contains = "mother") setAs(from = "daughter", to = "grandma", def = function(from) new("grandma&quo

Re: [Rd] Specifying C Standard in Package's Makevars File

2020-10-02 Thread Andreas Kersting
Thanks, that was very helpful. The C11 features I use do actually work in C99 mode, so I will stick with that. I just thought it was kind of "cleaner" to specify C11 mode when using features from that standard. 2020-09-29 16:35 GMT+02:00 "Prof Brian Ripley" : > On 28

[Rd] Specifying C Standard in Package's Makevars File

2020-09-28 Thread Andreas Kersting
;: -std=gnu11 (Same for -std=c11.) Thanks! Regards, Andreas Kersting __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] roxygen2 / documentation of reexports

2020-06-27 Thread Blätte , Andreas
ster branch) on my Debian R-devel test environment, I realize that dplyr has many reexports that are documented in a manner that evokes the same issues I have seen. I assume that further packages will encounter this issue. Kind regards Andreas (Blätte) -- Prof. Dr. Andreas Blätte Professor

Re: [Rd] Error in close.connection(p) : ignoring SIGPIPE signal

2019-12-05 Thread Andreas Kersting
Hi Benjamin, you cannot pipe to echo, since it does not read from stdin. echo just echos is first arg, i.e. echo /dev/stdin > /dev/null will echo the string "/dev/stdin"to /dev/stdout, which is redirected to /dev/null. Try p <- pipe("cat > /dev/null", open = &qu

Re: [Rd] error in parallel:::sendMaster

2019-12-05 Thread Andreas Kersting
with this commit: https://github.com/wch/r-source/commit/e08cffac1c5b9015a1625938d568b648eb1d8aee Regards, Andreas 2019-11-28 13:54 GMT+01:00 Andreas Kersting: > Hi Tomas, > > I rebuild R (v3.5.2 for now, R-devel to follow) from the Debian package with > MC_DEBUG defined and hopeful

Re: [Rd] error in parallel:::sendMaster

2019-12-04 Thread Andreas Kersting
with this commit: https://github.com/wch/r-source/commit/e08cffac1c5b9015a1625938d568b648eb1d8aee Regards, Andreas 2019-11-28 13:54 GMT+01:00 Andreas Kersting: > Hi Tomas, > > I rebuild R (v3.5.2 for now, R-devel to follow) from the Debian package with > MC_DEBUG defined and hopeful

Re: [Rd] error in parallel:::sendMaster

2019-11-28 Thread Andreas Kersting
egarding sending you the complete example: I first have to figure out if this is possible at all, because it would involve data of a client. Regards, Andreas parent[15366] created pipes: comm (6->5), sir (8->7) parent registers new child 15379 child process 15379 started parent[15366] crea

Re: [Rd] error in parallel:::sendMaster

2019-11-27 Thread Andreas Kersting
rite error, closing pipe to the master")); (gdb) n 685 error(_("there is no pipe to the master process")); Does this help in any way? Is there something else I can/should look at? Regards, Andreas 2019-11-27 15:04 GMT+01:00 Tomas Kalibera: > Hi Andreas, >

Re: [Rd] error in parallel:::sendMaster

2019-11-27 Thread Andreas Kersting
session via Rscript) I only process the second input file it will work. The other observations on R vs Rscript, NFS share etc. still hold. Sorry for this! Regards, Andreas 2019-11-27 12:10 GMT+01:00 Andreas Kersting: > Hi, > > I am facing a very weird problem with parallel::mclapply.

[Rd] error in parallel:::sendMaster

2019-11-27 Thread Andreas Kersting
ly related. I am not even sure if it is a problem in the parallel package or some other (memory) bug. What strikes me is that others have observed a very similar error when using Rscript but not when using an interactive R session, just like I do. I am not expecting a fix based on the infor

[Rd] make running on.exit expr uninterruptible

2019-05-22 Thread Andreas Kersting
[1] 999 [1] 1000 [1] 1000 [1] 999 [1] 998 [1] 1000 [1] 998 [1] 1000 [1] 1000 [1] 1000 [1] 1000 [1] 999 Error: cntr_on.exit == cntr_f is not TRUE I was bitten by this because an on.exit expression, which releases a file lock, was interrupted (before it actua

Re: [Rd] [External] most robust way to call R API functions from a secondary thread

2019-05-21 Thread Andreas Kersting
Hi Luke, Thanks also for your feedback! I will then follow the proposed route for the problem at hand and I will report back if I encounter any issues. I am also going look into the issues of stack checking and R_ToplevelExec. Regards, Andreas 2019-05-20 19:29 GMT+02:00 Tierney, Luke: > Y

Re: [Rd] most robust way to call R API functions from a secondary thread

2019-05-21 Thread Andreas Kersting
Hi Simon, Your response hits the mark of why I am doing it that way rather than going with what Stepan proposed. Also good to hear that you consider my analysis to be pretty complete. Thanks for the feedback! Regards, Andreas 2019-05-20 15:54 GMT+02:00 Simon Urbanek: > Stepan, > >

[Rd] most robust way to call R API functions from a secondary thread

2019-05-19 Thread Andreas Kersting
ain_thread() is left via a longjmp. This is e.g. required if the secondary threads use memory which was allocated in fun_running_in_main_thread() using e.g. R_alloc(). Best regards, Andreas Kersting #include #include #include #include extern uintptr_t R_CStackLimit; extern int

[Rd] Bug in POSIXct string representation?

2018-08-09 Thread Festl, Andreas
2018-08-31 14:15:16.4" "2018-08-31 14:15:16.5" [7] "2018-08-31 14:15:16.5" "2018-08-31 14:15:16.7" "2018-08-31 14:15:16.7" "2018-08-31 14:15:16.9" "2018-08-31 14:15:17.0" It seems to me, that R correctly decides that there is only one significant digit after the decimal point, but then incorrectly (due to representation error) just cuts off after the first digit. BR, Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] agrep bug

2018-06-18 Thread Kolter, Andreas
Sorry, I don't understand how to file a bug properly. Nontheless I want to report this one because it is still in the code after so many years. This bug still exists: https://stackoverflow.com/questions/15871702/difficulties-with-agrep-fixed-f [[alternative HTML version deleted]] ___

Re: [Rd] utils::install.packages with quiet=TRUE fails for source packages on Windows

2018-01-26 Thread Andreas Kersting
I have filed a bug report here: https://github.com/rstudio/rstudio/issues/2070 Original Message From: peter dalgaard [mailto:pda...@gmail.com] Sent: Friday, Jan 26, 2018 10:15 AM GMT To: Andreas Kersting Cc: r-devel@r-project.org Subject: [Rd] utils::install.packages with

Re: [Rd] utils::install.packages with quiet=TRUE fails for source packages on Windows

2018-01-26 Thread Andreas Kersting
Just noticed that this problem only occurs from within RStudio (v1.1.414). Any ideas why? Am 26.01.2018 um 08:56 schrieb Andreas Kersting: Hi, Installing a source package on Windows using utils::install.packages() with quiet=TRUE fails, while it works with the default quiet = FALSE. The

[Rd] utils::install.packages with quiet=TRUE fails for source packages on Windows

2018-01-25 Thread Andreas Kersting
ommand : chr "C:/PROGRA~1/R/R-34~1.3/bin/x64/R" env : chr(0) input : NULL invisible : logi TRUE minimized : logi FALSE stderr : logi FALSE stdin : chr "" stdout : logi FALSE wait : logi TRUE Warning messages: 1: running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R"

Re: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-14 Thread Andreas Kersting
Original Message From: Hadley Wickham [mailto:h.wick...@gmail.com] Sent: Wednesday, Jun 14, 2017 2:51 PM GMT To: Simon Urbanek Cc: Andreas Kersting; r-devel@r-project.org Subject: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines On Wed, Jun 14

Re: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-14 Thread Andreas Kersting
Original Message From: Duncan Murdoch [mailto:murdoch.dun...@gmail.com] Sent: Wednesday, Jun 14, 2017 1:36 PM GMT To: Andreas Kersting Cc: r-devel Subject: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines On 14/06/2017 6:45 AM, Andreas Kersting

Re: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-14 Thread Andreas Kersting
On Wed, 14 Jun 2017 06:12:09 -0500, Duncan Murdoch wrote: > On 14/06/2017 5:58 AM, Andreas Kersting wrote: > > Hi, > > > > I would really like to have a way to split long string literals across > > multiple lines in R. > > I don't understand why you requir

[Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-14 Thread Andreas Kersting
don't know the ins and outs of the parser of R (hence: please very carefully review the attached patch), but I guess this would be more work to implement!? What do you think? Is there anybody else who is missing this feature in the first place? Regards, Andreas Index: src/main/gram.c ==

[Rd] print for lists evaluates "AsIs"-elements of type "language"

2017-06-13 Thread Andreas Kersting
Consider the following code snippets: > list(quote(1 + 1), I(quote(1 + 1))) [[1]] 1 + 1 [[2]] [1] 2 # should also be 1 + 1!? > str(list(quote(1 + 1), I(quote(1 + 1 List of 2 $ : language 1 + 1 $ : language + 1 1 # why is this line different from the one above? ..- attr(*, "class")= ch

Re: [Rd] Missing objects using dump.frames for post-mortem debugging of crashed batch jobs. Bug or gap in documentation?

2016-11-28 Thread Andreas Kersting
gger.look(), we directly inspect the dumped one with evalq(browser(), envir = dump[[ind]]). This way we do not alter the enclosing environment of the frame. If the global environment was included in the dump, we change the enclosing environment of the dumped .GlobalEnv to search()[2]. For all

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-15 Thread Andreas Leha
-n 1 drwxr-xr-x 12 aleha staff 4096 Apr 7 2012 XML Here, the user aleha installed XML into /usr/local/lib/R/site-library and no other user (not even in the same group) has write access to that package's directory. So, neither update nor removal is possible. Am I missing the point? [...] Regards, Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R CMD INSTALL and file permission settings

2013-06-08 Thread Andreas Leha
group writing permissions which we would gladly dismiss again. Best, Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] strange value in .Last.value

2013-06-05 Thread Andreas Leha
hich relies on .Last.value for results handling and does not expect that $visible element -- should adapt and ignore that explicitly? Regards, Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] strange value in .Last.value

2013-06-04 Thread Andreas Leha
------>8--- Regards, Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Depreciating partial matching

2013-03-21 Thread Andreas Leha
ESS[S] is the mode for editing S language files. This mode handles: | | [...] | - completion of object names and file names. ` from http://ess.r-project.org/Manual/ess.html#ESS_0028S_0029_002d_002dEditing-files ESS can do completion of functions, object names, and also list/data.frame elements in *both* the inferior R buffer as well as in the .R file. [...] - Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] tcltk freezing using MS Windows for R-2.14+

2012-12-18 Thread Moeltner, Andreas
) Sys.sleep(0.1) > topMenu <- tkmenu(MainWindow) > tkconfigure(MainWindow,menu=topMenu) > tkgrab.set(MainWindow) > tkfocus(MainWindow) >} Cheers Andreas Andreas Möltner __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[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] save.image compression_level argument

2011-07-14 Thread Andreas Eckner
g it externally), the time it takes to save workspace is probably the prime concern for most users. I have attached a proposed modified definition of save.image() at the end of the message. Cheers, Andreas >> >> Thanks, >> Andreas >> >> _

[Rd] save.image compression_level argument

2011-07-12 Thread andreas
Hi, in "save.image", it would be nice if there was a "compression_level" argument that is passed along to "save". Or is there a reason for disabling the "compression_level" option for saving workspaces, but enabling it for manually sav

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
hing works fine. Is there a way to prevent Sweave from failing in the former case? Would this even account as a bug? I think it would be nice if the script just kept on running without plotting on the screen if opening X11 fails, just like it does when no X11 is available at all. Best regards,

Re: [Rd] super basic questions about S4 classes

2011-04-08 Thread Andreas Borg
that has additional arguments compared to the generic, for example: setGeneric("myMethod", function(x, ...) standardGeneric("myMethod")) setMethod("myMethod", "myClassA", function(x,y) {"myMethodA"}) In this case, the implementation for myMethod wil

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
desired. In case anyone from the core team is willing to incorparate this idea, I attached the patch file for the necessary changes below. Best regards, Andreas 3c3 < width = NA, title, label, style = 1) --- > width = NA, title, label, style = 1, file=stderr())

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

2011-03-11 Thread Andreas Borg
Hi Martin, in the real function, I am not dispatching on the argument for which I test missingness, but it might be a good idea to do so - this way I could make the function tidier by relocating different branches to seperate methods. Thanks for the suggestion! Andreas if you're te

[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

[Rd] trojan at current development version?

2011-01-28 Thread Andreas Mayr
Hi, is it possible, that the current development version for Windows ( http://cran.at.r-project.org/bin/windows/base/R-2.13.0dev-win.exe) is infected by a trojan/virus. My antivir-program (www.avira.com) seems to find a trojan in open.exe at bin\i386. Best regards, Andreas

Re: [Rd] Package with multiple shared libraries

2010-11-16 Thread Andreas Borg
the sources. So a custom Makefile seems the only feasible solution. Still I'd be thankful to know about other packages (if they exist) which create other than the standard library files. Best regards, Andreas Prof Brian Ripley schrieb: R CMD INSTALL is R code, and you can read it for you

[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] Add "..." argument to generic of "median"

2010-11-10 Thread Andreas Eckner
already supported by the "mean" generic function. Best, Andreas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] base::as.Date inconsistency/bug

2010-11-09 Thread Andreas Eckner
ot;1970-01-01") [1] "1970-01-01" As you can see, both calls produce the same output on the screen. Curiously, the output is NOT the same for other consecutive origins: > as.Date(0.5, origin="2009-12-31") [1] "2009-12-31" > as.Date(0

[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

[Rd] .Random.seed not found (PR#13963)

2009-09-22 Thread andreas . westfeld
R 2.9.1 and 2.9.2 report "not found" when I try to save .Random.seed for later restore, however, the manual ?.Random.seed says that it still exists. -- Andreas Westfeld, 0432 01CC F511 9E2B 0B57 5993 0B22 98F8 4AD8 EEEA HTW Dresden, Fakultät Informatik/Mathematik Infor

Re: [Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)

2009-02-01 Thread Andreas Fischlin
wd command was actually successful. Guess this all explains the problem and sorry for the bandwidth waste ;-) Regards, Andreas Fischlin ________ ETH Zurich Prof. Dr. Andreas Fischlin Systems Ecology - Institute of Integrative Biolog

[Rd] R.home() of R 2.8.1 Mac OS X is wrong (PR#13494)

2009-02-01 Thread andreas . fischlin
Full_Name: Andreas Fischlin Version: 2.8.1 OS: Mac OS X 10.5.6 Submission from: (NULL) (84.75.178.229) R.home() returns "/Library/Frameworks/R.framework/Resources" although there is no such directory present. Inspecting the actual directory structure of the R installation indicate

[Rd] triax.points() from package plotrix

2007-07-21 Thread Andreas Plank
which type of points should be drawn. May be other users already found this defect. best whishes Andreas Plank --- 8< ### triax.points <- function (x, show.legend = FALSE, label.points = FALSE, point.labels = NULL, col.symbols = par("fg"), pch = par("p