Re: [Rd] locked environments

2016-04-21 Thread luke-tierney
tibco.com [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone:

Re: [Rd] Storage of byte code-compiled functions in sysdata.rda

2016-05-05 Thread luke-tierney
he interpolating functions resulting from approxfun/splinefun in pkg RobAStRDA correctly in recent R-versions and (b) call these functions in pkg RobExtremes ? We already did import stats::approxfun and stats::splinefun into the NAMESPACEs of pkgs RobAStRDA and RobExtremes. Thanks for your help alre

Re: [Rd] Suggestion: mkString(NULL) should be NA

2016-05-25 Thread luke-tierney
/ [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335

Re: [Rd] segfault / crash when asking for large memory via strrep()

2016-06-01 Thread luke-tierney
32 #8 0x004e0cde in do_set (call=0x4525670, op=0xa61358, args=, rho=0xa8ea30) at ../../../R/src/main/eval.c:2196 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of

Re: [Rd] segfault / crash when asking for large memory via strrep()

2016-06-01 Thread luke-tierney
in Rf_eval (e=0x4525718, rho=0xa8ea30) at ../../../R/src/main/eval.c:732 #8 0x004e0cde in do_set (call=0x4525670, op=0xa61358, args=, rho=0xa8ea30) at ../../../R/src/main/eval.c:2196 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/list

Re: [Rd] cat() in system.time() ?

2016-07-17 Thread luke-tierney
hat the on.exit code is executed after unwinding the C call back to the point of the system.time call there is no longer such a robustness issue. Best, luke Martin ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R] Fwd: Help: malloc/free deadlock in unsafe signal handler 'Rf_onsigusr1'

2016-08-02 Thread luke-tierney
_ r-h...@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Luke Tierney Ralph E. Wareham Professor of

Re: [Rd] Extra copies of objects in environments when using $ operator?

2016-08-05 Thread luke-tierney
2 }), envir = e) # (No output) I'd appreciate it if someone could shed light on this. And if it's a bug, that would be good to know too. -Winston __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- L

Re: [Rd] vector finalizers

2016-08-10 Thread luke-tierney
t wrote: Dear R Devel, In a thread this morning Luke Tierney mentioned that R's way of garbage collecting is going to change soon in 3.4.0. I couldn't find this info on Google but I wanted to share what I had been discussing in another forum, in case now is not too late to raise conside

Re: [Rd] withAutoprint({ .... }) ?

2016-09-02 Thread luke-tierney
led function already produces a less cluttered traceback, though perhaps not ideal. Moving the interpreted version closer to the compiled one is in the works. Best, luke -Kirill __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/list

Re: [Rd] Defragmentation of memory

2016-09-05 Thread luke-tierney
ping University. [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone:

Re: [Rd] Finalizer execution order question

2016-09-15 Thread luke-tierney
leaned and finalized (rather than running all finalizers in the order they were registered)? [1] https://github.com/jeroenooms/test ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareha

Re: [Rd] How to assign NULL value to pairlist element while keeping it a pairlist?

2016-10-19 Thread luke-tierney
gt;>>> x <- pairlist(1, 2) class(x) >>>>> [1] "pairlist" >>>>> x[1] <- list(NULL) class(x) >>>>> [1] "list" >>>>> >>>>> This actually true for all [()<- assignments

Re: [Rd] anonymous function parsing bug?

2016-10-21 Thread luke-tierney
ject.org> mailing list https://stat.ethz.ch/mailman/listinfo/r-devel <https://stat.ethz.ch/mailman/listinfo/r-devel> [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph

Re: [Rd] anonymous function parsing bug?

2016-10-21 Thread luke-tierney
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and

Re: [Rd] improve 'package not installed' load errors?

2016-10-26 Thread luke-tierney
gplot2’ に対するパッケージもしくは名前空間のロードが失敗しました We could try to look for the sQuote(.)'d package name independently of the translation of the error message and use that in the "merged" error message. Martin >> I'm sure a number of >> novice users wil

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-27 Thread luke-tierney
___ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 3

Re: [Rd] lapply on long vector fails

2016-10-30 Thread luke-tierney
rg mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 2

Re: [Rd] BUG?: On Linux setTimeLimit() fails to propagate timeout error when it occurs (works on Windows)

2016-10-31 Thread luke-tierney
is is also a problem there or not? Tried it on macOS El Capitan and got this (running in R.app with R version 3.3.2 RC (2016-10-23 r71574): setTimeLimit(elapsed=1) system.time({ Sys.sleep(10); message("done") }) Error in Sys.sleep(10) : reached elapsed time limit Timing stopped

Re: [Rd] Frames in compiled functions

2016-11-11 Thread luke-tierney
since it is a change in behavior. Regards, B. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://s

Re: [Rd] Changes in error reporting in r-devel

2016-11-27 Thread luke-tierney
lthough I can see how you can argue for either one. I'm not seeing that in R-devel r71694. Could you update and try again? Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E

Re: [Rd] .Internal for functions in distn.R

2017-01-03 Thread luke-tierney
ce/commit/34fa67ca4c1dae13ed6a2ad74af7dbb27c8f3cb2> [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences Univer

Re: [Rd] Pressing either Ctrl-\ of Ctrl-4 core dumps R

2017-02-10 Thread luke-tierney
ed) $ R --version R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) /Henrik __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailm

Re: [Rd] another fix for R crashes under enable-strict-barrier, lto, trunk@72156

2017-02-20 Thread luke-tierney
hat the bug is that this is called with '0' instead of a proper SEXP  in your case and the bug fix may be more appropriate "up stream", i.e., at the place where that call happens  rather than inside R_CHAR. Any chance you saw or can get more info about the location of the cras

Re: [Rd] R 3.4.0

2017-03-17 Thread luke-tierney
Your dates are for 2016 :-) in your email and developer.r-project.com Best, luke On Fri, 17 Mar 2017, Peter Dalgaard wrote: R 3.4.0 "You Stupid Darkness" is now scheduled for April 21 The detailed schedule can be found on developer.r-project.org For the Core Team Peter D.

Re: [Rd] byte-compiler bug

2017-04-26 Thread luke-tierney
_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1]

Re: [Rd] stopifnot() does not stop at first non-TRUE argument

2017-05-15 Thread luke-tierney
;- cl.i; stop(e)} > ... > tryCatch(r <- eval(cl.i, pfr), warning=wrn, error=err) > Serguei. Well, a good idea, but the 'warning' case is more complicated (and the above incorrect): I do want the warning there, but _not_ return the warning, but rather, the result of eval()

Re: [Rd] stopifnot() does not stop at first non-TRUE argument

2017-05-16 Thread luke-tierney
: that is why I explicitly referenced the description at the top of the page. Changing the 'conceptually equivalent' bit to reflect what is happening is easy. The changes being discussed, and their long term maintenance, ar not. Best, luke Sergueï. -- Luke Tierney Ralph E. Wareham Pr

Re: [Rd] stopifnot() does not stop at first non-TRUE argument

2017-05-16 Thread luke-tierney
t;> >> Error in stopifnot(is.numeric(y)) : >>> >> argument "y" is missing, with no default >>> >> >>> >> >>> >> But I think that change (of call stack in such an error case) is >>> >> unavoidable and not a big

Re: [Rd] Possible with enableJIT function

2017-06-13 Thread luke-tierney
ylib locale: [1] en_IE.UTF-8/en_IE.UTF-8/en_IE.UTF-8/C/en_IE.UTF-8/en_IE.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.4.0 __ R-devel@r-proj

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

2017-06-15 Thread luke-tierney
R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __

Re: [Rd] Help to create bugzilla account

2017-08-12 Thread luke-tierney
only way to address that would be to move allocated objects from top of the pool down, but that's not something R can allow, because it cannot know which code still has SEXP pointers referring to that object. Cheers, Simon [[alternative HTML version deleted]] __ R-de

Re: [Rd] Control multi-threading in standard matrix product

2017-08-21 Thread luke-tierney
NTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base Thanks in advance, Best regards || ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E.

Re: [Rd] loop compilation problem

2017-08-24 Thread luke-tierney
I checked with "R Under development (unstable) (2017-08-23 r73116)”, and the problem is still there. - Lukas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor o

Re: [Rd] loop compilation problem

2017-08-30 Thread luke-tierney
I checked with "R Under development (unstable) (2017-08-23 r73116)”, and the problem is still there. - Lukas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor o

Re: [Rd] patch: automatically adjust width option when terminal is resized

2017-09-01 Thread luke-tierney
_ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017

[Rd] Please avoid direct use of NAMED and SET_NAMED macros

2017-09-01 Thread luke-tierney
currently correspond to MAYBE_REFERENCED(x): NAMED(x) > 0 MAYBE_SHARED(x): NAMED(x) > 1 MARK_NOT_MUTABLE(x): SET_NAMED(c, NAMEDMAX) Best, luke -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Departm

Re: [Rd] patch: automatically adjust width option when terminal is resized

2017-09-01 Thread luke-tierney
re <https://groups.google.com/forum/#!topic/vim-r-plugin/SeQCNWxEPwk> the author of that package (Jakson Aquino) explains that it stopped working because R started to catch SIGWINCH itself. He continues: »Perhaps this feature could be implemented directly in R if someone requested it to the R Core Te

Re: [Rd] Please avoid direct use of NAMED and SET_NAMED macros

2017-09-02 Thread luke-tierney
this manual, which will make it to the web in due course. Before embarking on a major change to the C API, I'd suggest that you produce clear and complete documention on the new scheme. Radford Neal -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences Un

[Rd] R-devel object header changes that require reinstalling packages

2017-09-12 Thread luke-tierney
framework for basic R objects (https://svn.r-project.org/R/branches/ALTREP/ALTREP.html outlines the framework). Merging the remainder of the framework should not introduce more binary changes and is expected to occur in the next few months. Best, luke -- Luke Tierney Ralph E. Wareham Professor of

Re: [Rd] issue with promises for time parameter of rep()

2017-09-19 Thread luke-tierney
bug. Regards, Homer [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone

Re: [Rd] SIGSEGV during startup

2017-10-06 Thread luke-tierney
sts with the combination of the ALTREP framework and valgrind instrumentation level >1. #if VALGRIND_LEVEL > 1 if (NodeClassSize[node_class] > 0) VALGRIND_MAKE_MEM_NOACCESS(DATAPTR(s), NodeClassSize[node_class]*sizeof(VECREC)); #endif -- Luke Tierney Ralph E. Wareham Professor o

Re: [Rd] Slow down using the compiler

2017-10-27 Thread luke-tierney
version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of

Re: [Rd] Array changing address unexpectedly

2017-11-12 Thread luke-tierney
es in both situations. Thank you! __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.' -Gehm's Corollary to

Re: [Rd] Truncating vectors by reference in C-backend

2017-11-21 Thread luke-tierney
rge x2: x2 <- 1 : 2e8 # Error: cannot allocate vector of size 762.9 Mb ## if I remove x, it works rm(x) gc() x2 <- 1 : 2e8 Thank you very much for your help. Kind regards, Markus Bonsch __ R-devel@r-project.org mailing list https://stat.ethz.c

Re: [Rd] Are Rprintf and REprintf thread-safe?

2017-11-21 Thread luke-tierney
nston __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax:

Re: [Rd] tryCatch in on.exit()

2017-12-01 Thread luke-tierney
caught error <<", conditionMessage(e), ">>", sep="")) #xx's on.exit caught error: <> zz #[1] "outer tryCatch caught error <>" Bill Dunlap TIBCO Software wdunlap tibco.com [[alternative HTML version deleted]] ___

Re: [Rd] FW: R-devel error

2017-12-06 Thread luke-tierney
, and this error does not occur. > Robert Pearce __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mai

Re: [Rd] tryCatch in on.exit()

2017-12-06 Thread luke-tierney
> zz #[1] "outer tryCatch caught error <>" Bill Dunlap TIBCO Software wdunlap tibco.com [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathe

Re: [Rd] cannot destroy connection (?) created by readLines in a tryCatch

2017-12-14 Thread luke-tierney
write 0 "terminal" "r" "text" "opened" "yes""no" 1 "terminal" "w" "text" "opened" "no" "yes" 2 "terminal" "w" "text" "opened" &quo

Re: [Rd] cannot destroy connection (?) created by readLines in a tryCatch

2017-12-16 Thread luke-tierney
"w" "text" "opened" "no" "yes" 2 "terminal" "w" "text" "opened" "no" "yes" 3 "file" "r" "text" "closed" "yes""yes" AFAI

Re: [Rd] abort

2017-12-19 Thread luke-tierney
_ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-

Re: [Rd] [External] Re: use of the tcltk package crashes R 4.0.1 for Windows

2020-06-07 Thread luke-tierney
esponding 'free' to 'Free'. This has nothing to do with the Windows build or installation. Nothing has changed in the windows build procedure between 4.0.0 and 4.0.1. ______ R-devel@r-project.org mailing list https://stat.ethz.ch/m

Re: [Rd] [External] Re: use of the tcltk package crashes R 4.0.1 for Windows

2020-06-07 Thread luke-tierney
e' to 'Free'. This has nothing to do with the Windows build or installation. Nothing has changed in the windows build procedure between 4.0.0 and 4.0.1. ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [External] Re: use of the tcltk package crashes R 4.0.1 for Windows

2020-06-07 Thread luke-tierney
loc and free to Rm_... counterparts in lockstep? (I assume that is where dlmalloc comes in?) Anyways, does it actually work to change free() to Free()? If so, then all this post mortem analysis is rather a moot point. -pd -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences Uni

Re: [Rd] [External] numericDeriv alters result of eval in R 4.0.1

2020-06-16 Thread luke-tierney
k you! Raimundo Neto [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

Re: [Rd] [External] numericDeriv alters result of eval in R 4.0.1

2020-06-16 Thread luke-tierney
ote(x^a), env1) > numericDeriv(quote(x^a), "a", env1) > eval(quote(x^a), env1) > env1$a > > Thank you! > Raimundo Neto > >       [[alternative HTML version deleted]] > > __________

Re: [Rd] [External] Unexpected Error Handling by Generic in R 4.0.1

2020-06-25 Thread luke-tierney
tat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 241 Schaeffer Hall

Re: [Rd] [External] Change in lapply's missing argument passing

2020-06-27 Thread luke-tierney
BCO Software wdunlap tibco.com [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa P

Re: [Rd] [External] Possible ABI change in R 4.0.1

2020-06-29 Thread luke-tierney
https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 241 Schaeffer Hall

Re: [Rd] [External] Re: R-devel internal errors during check produce?

2020-06-30 Thread luke-tierney
v(), b=new.env()) R> unique(l) > [[1]] > [[2]] > Best -k Ditto here; also your (Jan) 2nd example works fine. So, you must have loaded some (untidy) packages / code which redefine standard base R behavior ? Martin __________ R-

Re: [Rd] [External] Re: Invisible names problem

2020-07-22 Thread luke-tierney
lt;- k[i]; names(x4) <- NULL What kind of magick is that? It hits us when we upgrade from 3.5 (when serialization changed) and had impact on parallelization (cause serialized objects were bigger). [[alternative HTML version deleted]] ______ R-devel@r-project.org mailin

[Rd] HELPWANTED keyword in bugs.r-project.org

2020-08-05 Thread luke-tierney
level varies; some might be resolved with a small amount of R code; others might need more extensive changes at the C level. Best, luke -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics

Re: [Rd] [External] Re: some questions about R internal SEXP types

2020-09-08 Thread luke-tierney
happy to be proved wrong. Best, luke Hadley -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 241 Schaeffer Hall

Re: [Rd] [External] Re: Operations with long altrep vectors cause segfaults on Windows

2020-09-08 Thread luke-tierney
t for that case: On Windows, things are fine as long as they remain (compacted aka 'ALTREP') INTSXP: > y <- -1e3:2e9 ;.Internal(inspect(y)) @0x0a285648 13 INTSXP g0c0 [REF(65535)] -1000 : 20 (compact) > y <- -1e3:2.1e9 ;.Internal(inspect(y)) @0x19925930

Re: [Rd] [External] Re: Operations with long altrep vectors cause segfaults on Windows

2020-09-08 Thread luke-tierney
nal(inspect(y)) is bugous (probably prints the double as an integer): It's a '%ld' that probably needs to be '%lld' for Windows. Will fix sometime soon. Best, luke > y <- -1e3:2.2e9 ; .Internal(inspect(y)) @0x195c0178 14 REALSXP g0c0 [REF(65535)] -1000

Re: [Rd] [External] Re: Operations with long altrep vectors cause segfaults on Windows

2020-09-08 Thread luke-tierney
On Tue, 8 Sep 2020, Martin Maechler wrote: luke-tierney on Tue, 8 Sep 2020 09:42:43 -0500 (CDT) writes: > On Tue, 8 Sep 2020, Martin Maechler wrote: >>>>>>> Martin Maechler >>>>>>> on Tue, 8 Sep 2020 10:40:24 +0200 writes: >>

Re: [Rd] [External] Thread-safe R functions

2020-09-13 Thread luke-tierney
-- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 241 Schaeffer Hall email: luke-tier...@uiowa.edu

Re: [Rd] [External] Re: Coercion function does not work for the ALTREP object

2020-10-08 Thread luke-tierney
thz.ch/mailman/listinfo/r-devel [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

Re: [Rd] [External] Something is wrong with the unserialize function

2020-10-29 Thread luke-tierney
This issue can be reproduced on Ubuntu with R version 4.0.2 (2020-06-22) and Windows with R Under development (unstable) (2020-09-03 r79126). Here is the link to simplemmap: https://github.com/ALTREP-examples/Rpkg-simplemmap Best, Jiefei [[alternative HTML version deleted]] ___

Re: [Rd] [External] Something is wrong with the unserialize function

2020-10-29 Thread luke-tierney
version 4.0.2 (2020-06-22) > and Windows with R Under development (unstable) (2020-09-03 r79126). > > Here is the link to simplemmap: > https://github.com/ALTREP-examples/Rpkg-simplemmap > > Best, > Jiefei > > [[alternative HTML version deleted]] > > ___

Re: [Rd] [External] Re: Change to I() in R 4.1

2020-10-30 Thread luke-tierney
class(x) new_classes <- c("AsIs", x_class) attr(new_classes, "package") <- attr(x_class, "package") structure(x, class=new_classes) } else { `class<-`(x, unique.default(c("AsIs", oldClass(x } }

Re: [Rd] [External] exists, get and get0 accept silently inputs of length > 1

2020-11-13 Thread luke-tierney
mitive("c") get0(c("c", "d")) #> function (...) .Primitive("c") ``` I believe these should either fail, or be vectorized, probably the former. Thanks, Antoine [[alternative HTML version deleted]] _____

Re: [Rd] [External] exists, get and get0 accept silently inputs of length > 1

2020-11-16 Thread luke-tierney
      Fax:  319-335-3017 >     Actuarial Science > 241 Schaeffer Hall                  email:  luke-tier...@uiowa.edu > Iowa City, IA 52242                 WWW: http://www.stat.uiowa.edu > > __ > R-devel@r-proje

Re: [Rd] [External] Two ALTREP questions

2020-11-21 Thread luke-tierney
ting Bugs' link on the R home page https://www.r-project.org/ Best, luke Best, Jiefei [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E

Re: [Rd] [External] exists, get and get0 accept silently inputs of length > 1

2020-11-23 Thread luke-tierney
ive("c") ``` I believe these should either fail, or be vectorized, probably the former. Thanks, Antoine [[alternative HTML version deleted]] ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ral

Re: [Rd] [External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory

2020-11-25 Thread luke-tierney
Tomas Best regards, Jan Gorecki __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel _

Re: [Rd] [External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory

2020-11-27 Thread luke-tierney
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathemat

Re: [Rd] [External] Re: .Internal(quit(...)): system call failed: Cannot allocate memory

2020-12-01 Thread luke-tierney
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [External] Re: New pipe operator

2020-12-04 Thread luke-tierney
with any variable in the environment. Denes __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone:

Re: [Rd] [External] Re: New pipe operator

2020-12-04 Thread luke-tierney
or problem with the magrittr pipe). Using '_' fulfills all of these criteria since '_' can not clash with any variable in the environment. Denes __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [External] Re: New pipe operator

2020-12-05 Thread luke-tierney
evel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [External] Re: New pipe operator

2020-12-06 Thread luke-tierney
@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list

Re: [Rd] [External] Re: New pipe operator

2020-12-06 Thread luke-tierney
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list htt

Re: [Rd] [External] Re: New pipe operator

2020-12-07 Thread luke-tierney
2:3, lapply(.[2:3], \(col) lapply(col, \(x) eval(parse(text = x) # # dplyr/magrittr library(dplyr) DF <- "myfile.csv" %>% readLines %>% gsub(r'{(c\(.*?\)|integer\(0\))}', r'{"\1"

Re: [Rd] [External] anonymous functions

2020-12-07 Thread luke-tierney
code less compact and more readable. Every bug fix or new feature in the survival package now adds more lines of comments or other documentation than lines of code. If I have to puzzle out what a line does, what about the poor sod who inherits the maintainance? -- Luke Tierne

Re: [Rd] [External] Re: New pipe operator

2020-12-07 Thread luke-tierney
which you probably want. But then baz <- bar(runif(1)) 10 |> baz (not currently allowed) will not be the same as what you would want from 10 |> bar(runif(1)) which leads to a different kind of inconsistency, doesn't it? -Deepayan ___

Re: [Rd] [External] R crashes when using huge data sets with character string variables

2020-12-12 Thread luke-tierney
LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.0.3 /Arne -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone:

Re: [Rd] [External] setting .libPaths() with parallel::clusterCall

2020-12-22 Thread luke-tierney
mespace (and not attached): [1] compiler_4.1.0 [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

[Rd] brief update on the pipe operator in R-devel

2020-12-22 Thread luke-tierney
e of parentheses can work around these issues, the likelihood of making mistakes that are hard to track down is too high. So we will disallow the use of bare function expressions on the right hand side of a pipe. Best, luke -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences Univers

Re: [Rd] [External] brief update on the pipe operator in R-devel

2021-01-12 Thread luke-tierney
ulia> x = 2 2 julia> 1 |> x -> x + 1 |> y -> x + y 3 julia> ( 1 |> x -> x + 1 ) |> y -> x + y 4 Even though proper use of parentheses can work around these issues, the likelihood of making mistakes that are hard to track down is too high. So we will d

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

2021-04-07 Thread luke-tierney
ump <- lapply(1:2, function(i) unserialize(serialize(sys.frames(), NULL))) crash_dumps[["last.dump"]] <- dump assignInMyNamespace("crash_dumps", crash_dumps) } __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailm

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

2021-04-07 Thread luke-tierney
(serialize(sys.frames(), NULL))) crash_dumps[["last.dump"]] <- dump assignInMyNamespace("crash_dumps", crash_dumps) } __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ra

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

2021-04-08 Thread luke-tierney
user system elapsed 0.005 0.000 0.005 edd@rob:~$ ) Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics a

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

2021-04-08 Thread luke-tierney
dd@rob:~$ ) Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 A

Re: [Rd] [External] Pipe bind restored in R 4.1.0?

2021-04-17 Thread luke-tierney
ted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax:

Re: [Rd] [External] Re: 1954 from NA

2021-05-24 Thread luke-tierney
iable that this. Best wishes, Adrian -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuarial Science 241 Schaeffer Hall

Re: [Rd] [External] Re: 1954 from NA

2021-05-25 Thread luke-tierney
documented as they may be, or even subject to change, I think the R internals are much more reliable that this. Best wishes, Adrian -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics a

Re: [Rd] [External] Possible ALTREP bug

2021-05-28 Thread luke-tierney
rdi/redfish/blob/main/src/test.c), and it is not actually a bug. Thanks, Gabor __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Io

Re: [Rd] [External] Possible ALTREP bug

2021-05-28 Thread luke-tierney
omething wrong in the ALTREP code (see > > https://github.com/gaborcsardi/redfish/blob/main/src/test.c), and it > > is not actually a bug. > > > > Thanks, > > Gabor > > > > ___

<    1   2   3   4   5   >