[Rd] Experimental package for asan-usan checks

2018-04-16 Thread Tim Keitt
I've been trying to replicate Brian's excellent work on sanity checks so we can get that information before submitting. I've put together an experimental package here: https://github.com/thk686/sanitycheckr It uses a modified rocker r-devel-san image and attempts to install all dependencies before

[Rd] r-project.org dns

2019-06-27 Thread Tim Keitt
Sorry if this was already discussed. I notice that r-project.org is not found in dns lookups today. (At least for me -- I tried some online web look services as well.) THK [[alternative HTML version deleted]] __ R-devel@r-project.org mailing li

[Rd] R not running under lldb? (osx)

2020-04-21 Thread Tim Keitt
I see: Tims-Air:~ tkeitt$ R --version R version 3.6.3 (2020-02-29) -- "Holding the Windsock" Copyright (C) 2020 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin15.6.0 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it

Re: [Rd] R not running under lldb? (osx)

2020-04-21 Thread Tim Keitt
itlements. One part of > the hardened run-time is that no debugger is allowed to attach to the > application. > > > > On 22/04/2020, at 8:59 AM, Tim Keitt wrote: > > > > I see: > > > > Tims-Air:~ tkeitt$ R --version > > > > R version 3.6.3 (2020

Re: [Rd] authorship and citation

2015-10-07 Thread Tim Keitt
On Wed, Oct 7, 2015 at 11:29 AM, Spencer Graves wrote: > Another example: The "Author" of the Ecdat package is Yves Croissant < > yves.croiss...@let.ish-lyon.cnrs.fr>. I'm the Maintainer. At some > point, I may add my name to the list of Authors but I certainly would never > remove Yves' name.

Re: [Rd] authorship and citation

2015-10-07 Thread Tim Keitt
On Wed, Oct 7, 2015 at 2:39 PM, Duncan Murdoch wrote: > I think it was easier to (ab)use that role than to get a "Maintainer" > role added to the standard ones. > Why bother with the relators list at all? THK http://www.keittlab.org/ [[alternative HTML version deleted]] _

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

2016-05-25 Thread Tim Keitt
On Wed, May 25, 2016 at 7:22 AM, Michael Lawrence wrote: > On Wed, May 25, 2016 at 4:23 AM, Jeroen Ooms > wrote: > I'm not disagreeing with what's been said in this thread, but I can't help but recall that I brought up this exact issue probably 15 years ago and was told (by Brian, I believe) "d

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

2016-05-25 Thread Tim Keitt
http://www.keittlab.org/ On Wed, May 25, 2016 at 10:43 AM, wrote: > On Wed, 25 May 2016, Tim Keitt wrote: > > On Wed, May 25, 2016 at 7:22 AM, Michael Lawrence < >> lawrence.mich...@gene.com >> >>> wrote: >>> >> >> On Wed, May 25, 2016

Re: [Rd] What happened to Ross Ihaka's proposal for a Common Lisp based R successor?

2016-08-05 Thread Tim Keitt
My latest project in R + Rcpp + RcppParallel + RcppEigen ran so fast when I tested it, I thought it was a short-circuit. Not as clean as pure Julia but if you like C++ its a pretty sweet environment. (Incidentally, several of the ideas in Julia came from a discussion about rewriting R I had with V

[Rd] Transferring ownership of R-managed buffer

2017-03-29 Thread Tim Keitt
I have a use case where I would like to create an SEXP around an existing buffer that is managed by R, thus avoiding a copy operation. If I have something like: void *p = (void*) RAW(PROTECT(Rf_allocVector(RAWSXP, n))); ... additional maniupulation ... SEXP x = somefunc(SXPTYPE, n, p); // I

Re: [Rd] Transferring ownership of R-managed buffer

2017-03-29 Thread Tim Keitt
http://www.keittlab.org/ On Wed, Mar 29, 2017 at 1:04 PM, Hervé Pagès wrote: > Hi Tim, > > On 03/29/2017 08:24 AM, Tim Keitt wrote: > >> I have a use case where I would like to create an SEXP around an existing >> buffer that is managed by R, thus avoiding a copy opera

Re: [Rd] Transferring ownership of R-managed buffer

2017-03-30 Thread Tim Keitt
On Wed, Mar 29, 2017 at 4:56 PM, Gabriel Becker wrote: > The concept of having a vector which is a "window" into another vector > without duplication ( which I suspect is at least related to your use-case, > though I could be wrong) is a special case of one of alt-representations I > have implem

Re: [Rd] Transferring ownership of R-managed buffer

2017-03-30 Thread Tim Keitt
On Thu, Mar 30, 2017 at 3:15 PM, Gabriel Becker wrote: > technically possible So the garbage collector knows the buffer length independently of the SEXPREC length field? Then, yes, its doable, but as you say not advisable. THK http://www.keittlab.org/ [[alternative HTML version delet

[Rd] Excluding objects from save.image

2014-05-22 Thread Tim Keitt
When dealing with object holding pointers that are only valid during a single session, it would be convenient to exclude them from being saved with the session image. (I am assuming that `quit` calls `save.image` before quitting or is it internal?) Currently they are saved with the pointer converte

Re: [Rd] Excluding objects from save.image

2014-05-22 Thread Tim Keitt
On Thu, May 22, 2014 at 9:19 AM, Simon Urbanek wrote: > Tim, > > On May 21, 2014, at 9:54 PM, Tim Keitt wrote: > > > When dealing with object holding pointers that are only valid during a > single session, it would be convenient to exclude them from being saved > with

Re: [Rd] Excluding objects from save.image

2014-05-22 Thread Tim Keitt
On Thu, May 22, 2014 at 10:47 AM, Simon Urbanek wrote: > On May 22, 2014, at 11:33 AM, Tim Keitt wrote: > > > On Thu, May 22, 2014 at 9:19 AM, Simon Urbanek < > simon.urba...@r-project.org> wrote: > > Tim, > > > > On May 21, 2014, at 9:54 PM, Tim Keitt wr

Re: [Rd] testing dontrun examples

2014-11-26 Thread Tim Keitt
On Wed, Nov 26, 2014 at 12:45 PM, Paul Gilbert wrote: > Is there a good strategy for testing examples which should not be run by > default? For instance, I have examples which get data from the Internet. If > I wrap them in try() then they can be skipped if the Internet is not > available, but ma

Re: [Rd] :: and ::: as .Primitives?

2015-01-22 Thread Tim Keitt
On Thu, Jan 22, 2015 at 1:44 PM, wrote: > I'm not convinced that how to make :: faster is the right question. If > you are finding foo::bar being called often enough to matter to your > overall performance then to me the question is: why are you calling > foo::bar more than once? Making :: a bit

[Rd] Documentation for reg.finalizer

2015-02-06 Thread Tim Keitt
Documentation says (emphasis mine): "Registers an R function to be called upon garbage collection of object OR (optionally) at the end of an R session." Should this say "and" and not "or"? THK -- http://www.keittlab.org/ [[alternative HTML version deleted]] _

[Rd] Typo in src/scripts/config

2015-04-21 Thread Tim Keitt
Was writing a short R script to modify compile flags and saw this typo: Index: config === --- config (revision 68217) +++ config (working copy) @@ -61,7 +61,7 @@ CXX1X C++ compiler command for C++11 code CXX1XSTD fl

Re: [Rd] Reading exit code of pipe()

2015-05-14 Thread Tim Keitt
Not sure if it helps for your use case, but I have an experimental package for controlling bidirectional pipe streams from R. Just thought I'd mention it. Its at https://github.com/thk686/pipestreamr THK On Thu, May 14, 2015 at 9:30 AM, William Dunlap wrote: > The difference in the return valu

[Rd] Can a package override the default color palette?

2007-11-08 Thread Tim Keitt
Is it is possible for a package to override the default color palette used by "image". I've tried a few different ways, but was curious if there is an approved method. THK -- Timothy H. Keitt, University of Texas at Austin Contact info and schedule at http://www.keittlab.org/tkeitt/ Reprints at