Re: [Rd] Viewing R objects in gdb

2005-06-29 Thread Luke Tierney
e attributes of an SEXP would also be > welcome, but I can probably figure that one out once I get this...) > > Duncan Murdoch > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Luke Tierney Chair, Statistics and Actuarial Scienc

Re: [Rd] Viewing R objects in gdb

2005-06-29 Thread Luke Tierney
On Wed, 29 Jun 2005, Duncan Murdoch wrote: > On 6/29/2005 2:06 PM, Luke Tierney wrote: >> On Wed, 29 Jun 2005, Duncan Murdoch wrote: >> >>> I'm trying to track down a bug in some experimental code, where an >>> object's attribute is getting messe

Re: [Rd] 64 bit R for Windows

2005-08-31 Thread Luke Tierney
. You'll need to install some 64 bit version of Linux on those machines to take full advantage of the chips. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Chair, Stati

Re: [Rd] Bug in copying of S4 objects (PR#8112)

2005-09-01 Thread Luke Tierney
n Windows, and R-patched too. > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Under development (unstable) major2 minor2.0 year 2005 month08 day 31 svn rev 35467 language R Duncan Murdoch _

Re: [Rd] Bug in copying of S4 objects (PR#8112)

2005-09-01 Thread Luke Tierney
ting the promise before it is forced). This can then be passed into the internal R_set_slot function via .Call. luke On Thu, 1 Sep 2005, Luke Tierney wrote: Another variant of what is probably the same issue: > setClass("foo", representation(a = "numeric")) [1] &

Re: [Rd] A memory management question

2005-09-04 Thread Luke Tierney
is in any case tricky since it is hard to reliably prevent copying. You are better off using something like an external pointer into an R-allocated object that is only accessible through the external pointer. Then you can manage the filled length yourself. luke -- Luke Tierney Chair, St

Re: [Rd] Writing R-extensions

2005-09-04 Thread Luke Tierney
t; Assuming a typo, your implication is what the svn log entry says and how I > read the text. > > r23430 | luke | 2003-03-02 18:52:13 + (Sun, 02 Mar 2003) | 3 lines > > Added wording to clarify that S3method registration should only be used if > the generic is defined in a work

Re: [Rd] A memory management question

2005-09-05 Thread Luke Tierney
On Mon, 5 Sep 2005, [EMAIL PROTECTED] wrote: > Luke Tierney <[EMAIL PROTECTED]> wrote: > >> This is not supported by the memory manager. Using SETLENGTH to >> change the length would confuse the garbage collector--we should >> probably remove SETLENGTH from the he

Re: [Rd] A memory management question

2005-09-05 Thread Luke Tierney
On Mon, 5 Sep 2005, [EMAIL PROTECTED] wrote: > Luke Tierney <[EMAIL PROTECTED]> wrote: > >> It might or might not work now but is not guaranteed to do so reliably >> in the future. Seeing the risks of leaving SETLENGTH exposed, it is >> very likely that SETLENGTH wi

Re: [Rd] Writing R-extensions

2005-09-05 Thread Luke Tierney
On Mon, 5 Sep 2005, Berwin A Turlach wrote: > G'day Luke, > >>>>>> "LT" == Luke Tierney <[EMAIL PROTECTED]> writes: > >>> On Sat, 27 Aug 2005, Berwin A Turlach wrote: > >>>> 3) The final sentence in the section on `

Re: [Rd] looks in liblapack.a not liblapack.so

2005-09-20 Thread Luke Tierney
distros that provide pvm only provide .a libraries, but some build these with PIC some don't. Red Hat Enterprise WS4 seems to be non-PIC, FC3 and FC4 seem to be PIC. If your distro is non-PIC you will need to build your own PIC version of pvm and tell rpvm where to find it. luke -- Luke T

Re: [Rd] looks in liblapack.a not liblapack.so

2005-09-22 Thread Luke Tierney
On Thu, 22 Sep 2005, Charles Geyer wrote: > On Tue, Sep 20, 2005 at 09:43:51PM -0500, Luke Tierney wrote: >> On Tue, 20 Sep 2005, Charles Geyer wrote: >>> >>> I still don't understand why gcc -shared even bothers to look in *.a >>> (on AMD64) when it won&#

Re: [Rd] RFC: API to allow identification of warnings and errors in the output stream

2005-10-17 Thread Luke Tierney
ks, and how this is > useful. It adds an example to tests/embedding/. This example basically just > generates a number of different types of messages, then catches the output, > and classifies it into several categories. > > I'll gladly provide more explanations or a different

Re: [Rd] RFC: API to allow identification of warnings and errors in the output stream

2005-10-17 Thread Luke Tierney
und something like that, however. If efficiency in the sense of execution speed is really an issue we can look into working on that. Given my experience with similar things on _much_ slower machines (33MHz Macintosh SE 30, for example) I very much doubt that this is an issue. If there are

Re: [Rd] qt for df < 1

2005-12-09 Thread Luke Tierney
ased on f<-function(d, n = 101) { x<-seq(0, 1, len = n) max(abs(pt(qqt(x, d), d) - x)) } plot(function(d) log10(sapply(d, f)), .01,1) luke -- Luke Tierney Chair, Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University o

Re: [Rd] R CMD build then check fails on R-devel due to serialization version

2018-01-11 Thread luke-tierney
ng 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 Mathematical Sciences University of Iowa Phone:

Re: [Rd] parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)

2018-03-09 Thread luke-tierney
] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8LC_MESSAGES=en_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

Re: [Rd] Discrepancy: R sum() VS C or Fortran sum

2018-03-16 Thread luke-tierney
My sumf and sumc are subroutine sumf(x, n, sx1, sx2) integer i, n double precision x(n), sx1, sx2 sx1 = sum(x) sx2 = 0.0d0 do i=1,n sx2 = sx2+x(i) end do end void sumc(double *x, int *n, double *sum) { int i; double sum1 = 0.0; for (i=0; i< *n; i++

Re: [Rd] parallel:::newPSOCKnode(): background worker fails immediately if socket on master is not set up in time (BUG?)

2018-03-16 Thread luke-tierney
cts: default BLAS: /usr/lib/atlas-base/atlas/libblas.so.3.0 LAPACK: /usr/lib/atlas-base/atlas/liblapack.so.3.0 locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-

Re: [Rd] `@<-` modify its argument when slot is externalptr

2018-03-18 Thread luke-tierney
DRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] inline_0.3.14 magrittr_1.5 loaded via a namespace (and not attached): [1] compiler_3.4.1 tools_3.4.1yaml_2.1.18

Re: [Rd] Objects not gc'ed due to caching (?) in R's S3 dispatch mechanism

2018-03-26 Thread luke-tierney
40 ______ 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 St

Re: [Rd] Objects not gc'ed due to caching (?) in R's S3 dispatch mechanism

2018-03-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:

Re: [Rd] Objects not gc'ed due to caching (?) in R's S3 dispatch mechanism

2018-03-29 Thread luke-tierney
ards, Iñaki PS: Further discussion and examples in https://github.com/r-lib/R6/issues/140 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences U

Re: [Rd] Objects not gc'ed due to caching (?) in R's S3 dispatch mechanism

2018-03-29 Thread luke-tierney
ards, Iñaki PS: Further discussion and examples in https://github.com/r-lib/R6/issues/140 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences U

Re: [Rd] names lost in functions from packages installed by R-devel r74500

2018-04-03 Thread luke-tierney
more optimizations than one defined at session top level. A change had broken a piece of the optimization code, and has now been fixed. Thanks for the report. Best, luke Thank you again for the report! Martin Maechler ETH Zurich >> = >>> sessionInfo()

Re: [Rd] Part of fastpass in 'sort.list' can make sorting unstable

2018-04-09 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:

Re: [Rd] Result of 'seq' doesn't use compact internal representation

2018-04-29 Thread Luke Tierney
graphics  grDevices utils datasets  methods [8] base __ 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 -- Luk

Re: [Rd] Debugging "SETLENGTH() cannot be applied to an ALTVEC object."?

2018-05-04 Thread luke-tierney
(Hebrew) | www.talgalili.com (Hebrew) -- [[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 Ma

Re: [Rd] valgrind issue in core R 3.5

2018-05-11 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:

Re: [Rd] different type of modification when code is sourced and pasted

2018-05-13 Thread luke-tierney
if somebody could point me to an explanation for this. I have tried this on: R version 3.1.2 running on openSUSE 12.1, R version 3.4.2 running on openSUSE Leap 42.3 and on R running on a friend's Mac. Thank you Best wishes Krzysztof Bartoszek __ R-deve

Re: [Rd] Result of 'seq' doesn't use compact internal representation

2018-05-31 Thread luke-tierney
This is now resolved in R-devel and R_patched. Best, luke On Sun, 29 Apr 2018, Luke Tierney wrote: Thanks -- I'll commit a fix after some testing. Best, luke On 04/29/2018 06:22 AM, Duncan Murdoch wrote: On 28/04/2018 11:11 PM, Suharto Anggono Suharto Anggono via R-devel

Re: [Rd] A recent commit breaks embedded application on Windows

2018-06-17 Thread luke-tierney
-8fa3e687488dfa88a74cb15899cf26e1 -- 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

Re: [Rd] Null pointer dereference in Rf_isVector()

2018-06-29 Thread luke-tierney
MMARY: AddressSanitizer: SEGV R-3.5.0/src/main/../../src/include/Rinlinedfuns.h:857:12 in Rf_isVector ==11608==ABORTING Best Regards, Kamil Frankowicz __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney

Re: [Rd] R API for C/C++ initialisation issue appears with update to R.3.5

2018-07-12 Thread luke-tierney
ectly set and points to the appropriate version of R, installed in the default directory. I'd be glad to hear any ideas about potential fixes or workaround. Cheers, Andéol Evain -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone:

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread luke-tierney
t;)) There may be better ways. Best, luke Gabor Barry __ 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 Phon

Re: [Rd] Possible bug: R --slave --interactive stdin echo on Linux when stdin is a fifo

2018-07-26 Thread luke-tierney
bling the crash dialog" problem, which I have if I specify --interactive. Gabor There may be better ways. Best, luke Gabor Barry __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierne

Re: [Rd] re-throwing an interrupt condition

2018-07-28 Thread luke-tierney
errupted"; stop(e) } ) #> Error: interrupted tryCatch(Sys.sleep(100), interrupt = function(e) stop(e)) #> Error in stop(e) : bad error message Thanks, Gabor __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-dev

Re: [Rd] re-throwing an interrupt condition

2018-07-28 Thread luke-tierney
see: tryCatch(Sys.sleep(100), interrupt = function(e) do_something <<- 1) ^C> do_something [1] 1 Iñaki __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Ma

Re: [Rd] [R-pkg-devel] Run garbage collector when too many open files

2018-08-07 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-3

Re: [Rd] Run garbage collector when too many open files

2018-08-07 Thread luke-tierney
_ r-package-de...@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathema

Re: [Rd] SIGSEGV in R_RunWeakRefFinalizer, object allocated with Rcpp

2018-08-09 Thread luke-tierney
nning for weeks) work for my workflows. Dirk -- 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] vctrs: a type system for the tidyverse

2018-08-09 Thread luke-tierney
ed in other packages, as described in vignette("extending-vctrs”). Thanks for the nice wording! Hadley -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics a

Re: [Rd] Detecting whether a process exists or not by its PID?

2018-08-31 Thread luke-tierney
/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 email: luke-tier

Re: [Rd] True length - length(unclass(x)) - without having to call unclass()?

2018-09-05 Thread luke-tierney
ks for a length.foo length(super(x, 1)) # looks for a length.bar length(super(x, 2)) # calls the default length(super(x, Inf)) # calls the default Iñaki __________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tie

Re: [Rd] Bug when calling system/system2 (and request for Bugzilla account)

2018-09-14 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] Bug when calling system/system2 (and request for Bugzilla account)

2018-09-14 Thread luke-tierney
l<mailto:i...@dans.kn> | dans.knaw.nl > DANS is an institute of the Dutch Academy KNAW<http://knaw.nl/nl> and funding organisation NWO<http://www.nwo.nl/>. > > [[alternative HTML version deleted]] > > __

Re: [Rd] [External] ALTREP "wrapper" classes needs an Extract_subset method

2020-02-03 Thread luke-tierney
ive 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-3386 Departme

Re: [Rd] [External] Support for Dashes in the Raw String Delimiter

2020-02-21 Thread luke-tierney
's article on string literals for further information: https://docs.python.org/2.0/ref/strings.html Thanks! [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luk

Re: [Rd] [External] Re: new bquote feature splice does not address a common LISP @ use case?

2020-03-20 Thread luke-tierney
USER> (setf c `(6 - ,@b)) (6 - 5 + 4) CL-USER> (setf c-non-spliced `(6 - ,b)) (6 - (5 + 4)) CL-USER> Thanks, Jan Gorecki __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel ______ R-devel@r-project.org

Re: [Rd] [External] Re: Expressions from boxplot() passed to bxp()

2020-03-27 Thread luke-tierney
rks (correctly displays ylab) boxplot(dat, ylab = ylab) # fails boxplot(dat, ylab = as.expression(ylab)) # works Thanks & cheers, M __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. War

Re: [Rd] [External] The finalizer of the externalPtr does not work when closing R?

2020-04-03 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:

Re: [Rd] [External] Re: Help useRs to use R's own Time/Date objects more efficiently

2020-04-05 Thread luke-tierney
zoldt, Thomas}, journal={R News}, volume={4}, number={1}, pages={29--32}, year={2004} } Best, luke __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathema

Re: [Rd] [External] parse data wrong for R 4.0. raw strings

2020-04-22 Thread luke-tierney
prFALSE Note that for STR_CONST, the opening delimiter is not included, but the paren from the closing delimiter is. Best, Gabor ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Ware

Re: [Rd] [External] parse data wrong for R 4.0. raw strings

2020-04-22 Thread luke-tierney
TR_CONST TRUE "hello, "world") #> 6 16 1 24 6 7exprFALSE Note that for STR_CONST, the opening delimiter is not included, but the paren from the closing delimiter is. Best, Gabor __ R-devel@r-project.org mai

Re: [Rd] [External] Re: R 4.0.0 build error with sysdata.rda on ppc64el architecture

2020-04-30 Thread luke-tierney
something. How is the 'compiler' package involved? Best, luke Dirk -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017 Actuaria

Re: [Rd] [External] Re: Testing before release (was: edit() doubles backslashes when keep.source=TRUE)

2020-05-15 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 Mathematical Sciences U

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-20 Thread luke-tierney
* conflictRules("dplyr", mask.ok = list(stats = TRUE, base = TRUE)) # * conflictRules("dplyr", mask.ok = list(stats = c("filter", "lag"), base = c("intersect", "setdiff", "setequal", "union"))) # * conflictRule

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-20 Thread luke-tierney
it's risky business... -- 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 ema

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-21 Thread luke-tierney
onflictError = handle_conflicts) library(dplyr) ``` An IDE could provide a more sophisticated interface, like a dialog allowing separate choices for each conflict. But this is best left up to the IDE or the user. The one addition to library that might be worth considering is to provide a restart fo

Re: [Rd] [External] Re: Surpising behavior when using an active binding as loop index in R 4.0.0

2020-05-24 Thread luke-tierney
f SET_STRING_ELT() must be a 'CHARSXP' not a 'NULL' Regards Thomas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list http

Re: [Rd] as.environment.list provides inconsistent results under torture

2011-01-11 Thread luke-tierney
@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-

Re: [Rd] as.environment.list provides inconsistent results under torture

2011-01-12 Thread luke-tierney
log.free.fr |- http://bit.ly/fT2rZM : highlight 0.2-5 |- http://bit.ly/gpCSpH : Evolution of Rcpp code size `- http://bit.ly/hovakS : RcppGSL initial release __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] as.environment.list provides inconsistent results under torture

2011-01-12 Thread luke-tierney
x it" principle applies to those, unless you have spare time on your hands ... Best, luke -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics and

Re: [Rd] as.environment.list provides inconsistent results under torture

2011-01-13 Thread luke-tierney
ps://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

Re: [Rd] isoreg memory leak?

2011-01-17 Thread luke-tierney
___ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335

Re: [Rd] as.list(subclassed function) -> cannot coerce type 'closure' to vector of type 'list'

2011-02-07 Thread luke-tierney
ass="unrecognized class name")) Error in as.vector(x, "list") : cannot coerce type 'closure' to vector of type 'list' Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com __________ R-devel@r-project.org mail

Re: [Rd] bug in codetools/R CMD check?

2011-02-08 Thread luke-tierney
‘nr.snps’ assigned but may not be used - which is more like expected check warnings. Care to comment? Hin-Tak Leung ______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Sci

Re: [Rd] Request: Suggestions for "good teaching" packages, esp. with C code

2011-02-16 Thread luke-tierney
tain situations. As far as I know there is no such effect. I suspect what you saw just triggered a bug in the C code that had stayed hidden before. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Does R use "computed gotos" - a gcc extension of C?

2011-03-04 Thread luke-tierney
means we need to have two compilers, not just one. -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax: 319-335-3017

Re: [Rd] Does R use "computed gotos" - a gcc extension of C?

2011-03-05 Thread luke-tierney
ke to see just standard C used, without any extensions. Then problems like I'm having would be less likely to occur. This extention is very useful for implementing byte code interpreters, which is why it is being used. As mentioned above, its use can be turned off. luke -- Luke Tierney St

Re: [Rd] Wish there were a "strict mode" for R interpreter. What about You?

2011-04-10 Thread luke-tierney
bal variable ‘nobs’ : no visible binding for global variable ‘y’ Maybe in the context where you saw this nobs is defined in an enclosing environment. luke Hadley -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-04-11 Thread luke-tierney
XP) Error: package/namespace load failed for 'Matrix' Execution halted --------- __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Scie

Re: [Rd] core Matrix package segfaulted on R CMD check --use-gct

2011-04-11 Thread luke-tierney
______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335

Re: [Rd] Tail Call Elimination?

2011-04-18 Thread luke-tierney
ersion deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics

Re: [Rd] Tail Call Elimination?

2011-04-18 Thread luke-tierney
. Regards, Mohit Dayal Researcher Applied Statistics & Computing Lab ISB        [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial S

Re: [Rd] Recursive objects

2011-05-04 Thread luke-tierney
ts in R? is.recursive defines them as by exclusion: "most types of objects are regarded as recursive, except for vector types, ‘NULL’ and symbols (as given by ‘as.name’)." I think this that means recursive objects are: * lists * pairlists * calls * expressions Did I miss anything? Had

Re: [Rd] Curry: proposed new functional programming, er, function.

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

Re: [Rd] tkrplot not working in R 2.13.0

2011-05-04 Thread luke-tierney
Thanks -- new version on its way to CRAN. luke On Wed, 4 May 2011, Greg Snow wrote: That works as well, I will suggest it to Luke for the package to use. Thanks, -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread luke-tierney
65 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Statistics and Actuarial Science Ralph

Re: [Rd] assignInNamespace and new bindings

2011-05-31 Thread luke-tierney
interact badly with the compiler? Yes you should. Changing things in other people's packages is not a safe thing to do. Best, luke Regards Thomas -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa

Re: [Rd] assignInNamespace and new bindings

2011-06-01 Thread luke-tierney
tially non-functional in my use-case in its original incarnation, in the first place, so I'm not really scared of making things worse, there, either. -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Pho

Re: [Rd] Overloading S4 methods

2011-06-07 Thread luke-tierney
'myclass', 'missing') cannot in the same way. If I run trace("plot", browser, exit=browser, signature = c("mynum", "missing")) the new method is actually called. Any hint on what I am doing wrong or where to look for an explanation will

Re: [Rd] Overloading S4 methods

2011-06-07 Thread luke-tierney
ynum", "missing")) the new method is actually called. Any hint on what I am doing wrong or where to look for an explanation will be much appreciated. Best regards, Iago Mosqueira __ R-devel@r-project.org mailing list https://stat.e

Re: [Rd] [datatable-help] speeding up perception

2011-07-05 Thread luke-tierney
upon introduction could > >> flag the problem in a more visible manner. > >> > >> > >> regards, > >> > >> /iaw > >> > >> __ > >> R-devel@r-project.org mailing l

Re: [Rd] [datatable-help] speeding up perception

2011-07-05 Thread luke-tierney
___ datatable-help mailing list datatable-h...@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailma

Re: [Rd] [datatable-help] speeding up perception

2011-07-06 Thread luke-tierney
ay to detect whether a replacement funciton is being called in a replacement context or directly. Would "$<-" always satisfy that condition. It would be big help to me if it could be designed to avoid duplication the rest of the data.frame. -- There are some replacement functions t

Re: [Rd] reg.finalizer and connection gc -- which runs when (and why)?

2011-07-22 Thread luke-tierney
respects, it seems like the user should get a chance to clean up their mess before the system does it for them, so the above seems like a bug. But maybe there is another way to understand this? Martin -- Luke Tierney Statistics and Actuarial Science Ralph E. Wareham Professor of Mathematic

Re: [Rd] repeatable segfault - on Mac

2011-09-08 Thread luke-tierney
;> >>>>> eigen(crossprod(matrix(1:2000, 50)) + (0+0i), T, T) >>>> >>>> *** caught segfault *** >>>> address 0x1038000a8, cause 'memory not mapped' >>>> >>>> Traceback: >>>> 1: .Call("La_rs_cmplx", x, onl

Re: [Rd] serialize/unserialize vector improvement

2011-10-03 Thread luke-tierney
(input, NULL) for(i in 1:10) { print(system.time(serialize(input, NULL))) } for(i in 1:10) { print(system.time(unserialize(output))) } __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Chair, Statistics an

Re: [Rd] RFC: Declaring "foo.bar" as nonS3method() ?!

2015-06-12 Thread luke-tierney
-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 Mathematical Sciences University of Iowa

Re: [Rd] Defining a `show` function breaks the print-ing of S4 object -- bug or expected?

2015-06-30 Thread luke-tierney
expect print() to always call methods::show(), not whatever show() is first on the search path. Hadley -- Luke Tierney Ralph E. Wareham Professor of Mathematical Sciences University of Iowa Phone: 319-335-3386 Department of Statistics andFax:

Re: [Rd] Defining a `show` function breaks the print-ing of S4 object -- bug or expected?

2015-07-20 Thread luke-tierney
st to be clear: the complaint is that the auto-called show() is not methods::show? I.e. after x <- methods::new("Person", name = "Tom") you would expect show(x) to give the error, but not x ?? Correct - I'd expect print() to always call methods::show(), not wha

Re: [Rd] Mapping parse tree elements to tokens

2015-07-29 Thread luke-tierney
orrespond to `+`, x, and (y+1) respectively, > not > the order they appear in the original source or in the table. Generally > the > function call appears first in the parse tree, but I'm not sure you > could > always recognize which is the function call by looking at th

Re: [Rd] unset() function?

2015-08-22 Thread luke-tierney
TECT(x=duplicate(x)); nProtect++; } ... UNPROTECT(nProtect); in the C code, but unset() would help avoid unneeded duplications. Bill Dunlap TIBCO Software wdunlap tibco.com [[alternative HTML version deleted]] __ R-devel

Re: [Rd] Using IDs to suppress specific messages and warnings

2015-09-10 Thread luke-tierney
} } ) } The hard part is providing IDs for all the existing messages in R and its packages. It's certainly do-able, but I imagine would take quite a lot of time. Is there any enthusiasm for implementing this feature, or something like it? -- Luke Tierney Ralph E. Wareham Prof

Re: [Rd] Using IDs to suppress specific messages and warnings

2015-09-10 Thread luke-tierney
deas from the hierarchy in Java could be useful as well. Who is the best person to ask/cajole to start getting this implemented? I't been on my long todo list for a long time, but I don't expect to have the time to do it myself anytime soon. If someone else want to put in the work I am

Re: [Rd] Optimization bug when byte compiling with gcc 5.2.0 on windows

2015-09-14 Thread luke-tierney
his? The disassembled output from the compiled functions is here: https://gist.github.com/jeroenooms/3206945a6db6680a9c5c __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Luke Tierney Ralph E. Wareham Professor of Mathematical

Re: [Rd] Optimization bug when byte compiling with gcc 5.2.0 on windows

2015-09-14 Thread luke-tierney
/isnanl.c I think mingw-w64 takes powl from glibc. -- 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 H

Re: [Rd] Custom C finalizers for .Call

2015-11-26 Thread luke-tierney
/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 Mathematical Sciences University of Iowa Phone: 319-335

Re: [Rd] Question about CHARSXP and garbage collection

2016-02-13 Thread luke-tierney
leted]] __ 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

  1   2   3   4   5   >