search for: keittlab

Displaying 20 results from an estimated 24 matches for "keittlab".

2007 Jun 07
1
Ubu edgy + latest CRAN R + Rmpi = no go
...ut I need some other packages that only work in 2.4+!) Could this be a problem with the latest Ubu debs on CRAN? The Rmpi author says his R 2.5 setup works fine. CC me please as I'm not subscribed. THK -- Timothy H. Keitt, University of Texas at Austin Contact info and schedule at http://www.keittlab.org/tkeitt/ Reprints at http://www.keittlab.org/tkeitt/papers/ ODF attachment? See http://www.openoffice.org/
2016 May 25
3
Suggestion: mkString(NULL) should be NA
...e real issue was not the behavior but that it was not documented or consistent. I've lived by the mantra since that you can never trust a pointer in R code. User must always check for NULL. I just wrote my own functions mkXXX_safe that wrap the internals and check the pointer. THK http://www.keittlab.org/ [[alternative HTML version deleted]]
2017 Mar 30
2
Transferring ownership of R-managed buffer
...what I need. I was trying out a little experiment, but I think its not possible right now because the length of an R vector is identical to the buffer length. I can do everything I need except force the length of the returned R vector to be only a portion of the allocated storage. THK http://www.keittlab.org/ [[alternative HTML version deleted]]
2017 Mar 29
3
Transferring ownership of R-managed buffer
..."placement" constructor available? (I have arranged for the corresponding UNPROTECT.) I've looked at and experimented with R_allocator and allocVector3, but can't quite get it right. I know this is odd, but it makes sense for my use case. Thanks for any pointers. THK http://www.keittlab.org/ [[alternative HTML version deleted]]
2015 Apr 21
1
Typo in src/scripts/config
...used to enable C++11 support CXX1XFLAGS C++11 compiler flags - CXX1XXPICFLAGS + CXX1XPICFLAGS special flags for compiling C++11 code to be turned into a shared library DYLIB_EXT file extension (including '.') for dynamic libraries -- http://www.keittlab.org/ [[alternative HTML version deleted]]
2007 Mar 18
1
Setting site-wide default CRAN repository?
...pository locations when using 'install.packages()'. I know how to do this for a single account. Modifying files in /etc/R does not seem to work. (cc me please - I think I'm not subscribed). THK -- Timothy H. Keitt, University of Texas at Austin Contact info and schedule at http://www.keittlab.org/tkeitt/ Reprints at http://www.keittlab.org/tkeitt/papers/ ODF attachment? See http://www.openoffice.org/
2015 Oct 07
2
authorship and citation
On 07/10/2015 1:39 PM, Tim Keitt wrote: > On Wed, Oct 7, 2015 at 11:29 AM, Spencer Graves <spencer.graves at prodsyse.com >> wrote: > >> Another example: The "Author" of the Ecdat package is Yves Croissant < >> yves.croissant at let.ish-lyon.cnrs.fr>. I'm the Maintainer. At some >> point, I may add my name to the list of Authors but I
2002 Apr 16
1
[Fwd: Re: Multithreading]
Oops. Seems I only sent this to myself. T. -------------- next part -------------- An embedded message was scrubbed... From: "Timothy H. Keitt" <tklistaddr at keittlab.bio.sunysb.edu> Subject: Re: [R] Multithreading Date: 16 Apr 2002 12:34:52 -0400 Size: 2091 Url: https://stat.ethz.ch/pipermail/r-help/attachments/20020416/dd6c9385/attachment.mht
2017 Mar 29
2
Transferring ownership of R-managed buffer
http://www.keittlab.org/ On Wed, Mar 29, 2017 at 1:04 PM, Herv? Pag?s <hpages at fredhutch.org> 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 co...
2014 May 22
1
Excluding objects from save.image
...is no longer valid. My thought is to designate a class name (perhaps "no.save") and exclude anything that inherits from that. I've hacked a quick implementation below. I did not issue a warning, but it would be a simple fix. Does anyone else see this as useful? THK -- http://www.keittlab.org/ .new.save.image = function (file = ".RData", version = NULL, ascii = FALSE, compress = !ascii, safe = TRUE, omit.no.save = TRUE) # added "omit.no.save" argument { if (!is.character(file) || file == "") stop("'file'...
2007 May 30
4
Connecting to PostgreSQL/PostGIS from R (rgdal?)
Hello, I've been trying every now and then to find a cross operating system solution that would let me access PostgreSQL (and PostGIS) from R, or to access R from PostgreSQL. I know of pl/r, which accomplishes the latter, but has yet to be successfully ported to Windows. Similarly, I've tried to use Rdbi and DBI, but I haven't had luck with those on Windows either for connecting to
2016 May 25
0
Suggestion: mkString(NULL) should be NA
...rror instead of segfaulting, but good C code calling mkXXX should still typically do its own check and handle the situation in an appropriate way. Best, luke > > I just wrote my own functions mkXXX_safe that wrap the internals and check > the pointer. > > THK > > http://www.keittlab.org/ > > [[alternative HTML version deleted]] > > ______________________________________________ > R-devel at 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...
2017 Mar 29
0
Transferring ownership of R-managed buffer
...only has access to a "naked" pointer to the buffer managed by R (e.g. to RAW(b) is the buffer is actually in an SEXP) then why would you need to wrap it inside an SEXP? H. > > Thanks for any pointers. > > THK > > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.keittlab.org_&d=DwICAg&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=Ceu5dLU_mdGwmpIk_iUqE0dPNjqwy8wiRy6hS_lWF9k&s=h04DJujKDfqzbLz4FmP3_fZ5bYS3t7UEjSwpLrW5mL0&e= > > [[alternative HTML version deleted]] > > _____________________________________...
2017 Mar 30
0
Transferring ownership of R-managed buffer
...least changing significantly) in R-devel (and thus the R release after this coming one) during the process of merging the ALTREP branch sometime after the upcoming release. That was the last position on the subject I heard from Luke Tierney, anyway. Best, ~G > > THK > > http://www.keittlab.org/ > -- Gabriel Becker, PhD Associate Scientist (Bioinformatics) Genentech Research [[alternative HTML version deleted]]
2002 Nov 09
1
MFWorks and R
I know there is some integration between Grass and R available, but has anyone produced a link between R and MFWorks. I am considering Buying MFWorks (Windows) and it would be useful to know if anyone has written such a link. Many thanks, Graham S -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2016 May 25
2
Suggestion: mkString(NULL) should be NA
On Wed, May 25, 2016 at 12:31 PM, Martin Maechler <maechler at stat.math.ethz.ch> wrote: > Better than segfaulting, yes, but really agree with Bill (and > Gabe), also for Rf_mkChar(NULL): > I think both functions should give an error in such a case > rather than returning NA_character_ > > It is an accident of some kind if they got NULL, no? Not necessarily. A char* of
2005 Apr 21
1
Limitations of generic functions
(1) Assume we have some automatic C++ wrapper which , briefly, reads the C++ files and generates some R files in which the equivalent of the C++ classes are reconstructed. (2) As the OO design of R is different to that of C++, some isses exist when creating an interface between these two systems. (I said these two are 'different', I didn't say which one is better or which one is
2015 May 14
2
Reading exit code of pipe()
The difference in the return value of close(pipeConnectionObject) seems to depend on whether the pipe connection was opened via the pipe() or open() functions (close() returns NULL) > con <- pipe("ls") > open(con, "r") > readLines(con, n=1) [1] "1032.R" > print(close(con)) NULL > con <- pipe("ls", "r")
2017 Mar 29
0
Transferring ownership of R-managed buffer
...t is quite a long wait but unfortunately that is how it played out. So anyway, in the future this will be easy to do, and what you are trying to do may even happen automatically. More comments inline. On Wed, Mar 29, 2017 at 11:36 AM, Tim Keitt <tkeitt at utexas.edu> wrote: > http://www.keittlab.org/ > > On Wed, Mar 29, 2017 at 1:04 PM, Herv? Pag?s <hpages at fredhutch.org> 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 > >>...
2015 Oct 07
2
authorship and citation
An example from the sos package: Its DESCRIPTION file says Author: Spencer Graves, Sundar Dorai-Raj, and Romain Francois. However, the package includes a findFn function, whose help file includes an Author(s) section, which reads, "Spencer Graves, Sundar Dorai-Raj, Romain Francois. Duncan Murdoch suggested the "???" alias for "findFn" and contributed the code for