search for: piskorski

Displaying 20 results from an estimated 41 matches for "piskorski".

2006 Jan 11
3
natural sorting
It would be nifty to incorporate this into R or into an R package: http://sourcefrog.net/projects/natsort/
2009 Jun 12
1
Rprof loses all system() time
...e vs. slow SQL queries. Why does Rprof behave this way? Is there something I can do to work-around or alleviate this? What do you think it would take to fix Rprof to track the time spent waiting for system() to finish, and where in the R source should I look to attempt that? Thanks! -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2005 Oct 09
3
[ subscripting sometimes loses names (PR#8192)
...t as an accidental side-effect of some (but not all) subscripting operations. This issue was also discusses back in 2001 on the S-News list: http://www.biostat.wustl.edu/archives/html/s-news/2001-09/msg00020.html The attached file, "fix-names.s", is also available here: http://www.piskorski.com/R/patches/fix-names.s It includes: 1. The function dtk.test.brace.names(), which demonstrates name losing problem, and can automatically report which test cases pass/fail, etc. 2. Wrappers for the "[" and "[.data.frame" functions which fix the losing names problem for all...
2014 Apr 24
2
palette() can hang and fail due to X11
...ary/grDevices/src/colors.c" and "do_dotcallgr" for .Call.graphics in "src/main/dotcode.c", but I don't understand what part is triggering the additional complex behavior, nor how I should avoid it. Any advice on how I should handle this robustly? (Thanks!) -- Andrew Piskorski <atp at piskorski.com>
2007 Oct 24
2
R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)
...gs="-fpic" + cxxpicflags="-fPIC" ;; esac shlib_cxxldflags="-shared" @@ -47768,7 +47768,7 @@ fcpicflags="-fPIC" ;; *) - fcpicflags="-fpic" + fcpicflags="-fPIC" ;; esac fi -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2008 Sep 05
2
typo in cov()? var() fails on NA in R 2.7.2 but not R 2.6.1
...twice in that file, in both cor() and cov(): $ grep -n 3L cor.R 36: else if (na.method != 3L) { 118: else if (na.method != 3L) { That line might not be the cause of my "no complete element pairs" problem (I'm not at all sure), but it does look suspicious. -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2013 Sep 30
1
how to interpose my own "[" function?
...; ,sep="") if (!missing(drop)) code <- paste(code ,',drop=drop' ,sep="") code <- paste(code ,')' ,sep="") result <- eval(parse(text=code)) # FINALLY we have the stock result, now modify it some more... result } -- Andrew Piskorski <atp at piskorski.com>
2010 Oct 27
2
must .Call C functions return SEXP?
...Vector(REALSXP, 5); SET_VECTOR_ELT(result_list_1, k1, result_v); REAL(result_v)[0] = some_number; REAL(result_v)[1] = another_number; /* Also do the same sort of thing for result_list_2. */ return(result_list_1); /* Appears to work ok. */ /* return; */ /* Segfaults. */ -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2014 Apr 21
1
read.table() code fails outside of the utils package
...de via .External(). What do you think? Note that I'm not asking that the current interface or behavior of readtablehead necessarily be SUPPORTED in any way, just that it be callable for experimental purposes, much as the old .Internal(readTableHead()) was in earlier versions of R. -- Andrew Piskorski <atp at piskorski.com>
2005 Jul 05
1
build R source package in place from CVS?
...my R package right there in that directory. I do not want to generate any intermediary tarballs nor copy the package files to any other locations. Is there any current way to build R packages in place like that? Or if not, how would you suggest I go about accomplishing this? Thanks! -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2005 Aug 03
1
tree/graph data structure APIs?
...ulating tree data structures. What I'm looking for is something along the lines of an R version of the Tcllib ::struct::tree API available for Tcl: http://wiki.tcl.tk/210 http://tcllib.sourceforge.net/doc/struct_tree.html http://tcllib.sourceforge.net/doc/graph.html Thanks! -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2009 Oct 05
1
R's --enable-threads does nothing?; gdb needs -lpthread
...cause the R binary starts out without thread support, and gdb doesn't know what to do when my *.so suddenly brings in the thread stuff. Since I can't stop using -lpthread in my library, the obvious fix is for me to build R itself with -lpthread, so gdb doesn't get confused. -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2005 Oct 03
2
access to R parse tree for Lisp-style macros?
...ge, but what do those do exactly, and how do they relate to the REPL and R_Parse1()? Finally, are there any docs describing the design and implementation of the R internals? Should I be looking anywhere other than the R developer page here?: http://developer.r-project.org/ Thanks! -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2009 Aug 27
3
ARM v7/Linux Port/cross-compile?
Hi, Has anyone succeeded in cross-compiling R to Linux on an ARM CPU? If so, can you share a little about your toolchain & build process? Thanks! [[alternative HTML version deleted]]
2006 Nov 30
1
use one custom package with multiple R versions?
...from a single source tree, or am I forced to have multiple source working copies? (I see that R CMD INSTALL has a "--with-package-versions" option, but I think that's about using multiple versions of a package with one version of R, while I want the vice versa.) Thanks! -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2011 Sep 14
3
make check reg-tests-1b.R fails with Ubuntu R
...,patched.str ,sep="") ,paste(version[c("year","month","day")] ,collapse="-") ,paste("svn.rev" ,version$"svn rev") ,version$platform ,sep=", " ,collapse=" ") } -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/
2005 Oct 09
0
all.equal() improvements (PR#8191)
...g differences, all.equal.list() now also reports by-name differences in those places (and only those places) where doing so should be helpful to the user. Also, optionally, using by.name=TRUE and by.pos=FALSE will give behavior like S-Plus. The attached patch is also available here: http://www.piskorski.com/R/patches/all-equal-patch-20051009.txt If you want to see the entire file rather than a patch against R 2.2.0, that is also available here: http://www.piskorski.com/R/patches/all.equal.R -- Andrew Piskorski <atp at piskorski.com> http://www.piskorski.com/ --k1lZvvs/B4yU6o8G Content...
2023 Oct 24
1
as.character.Date() strips names in R 4.3.2 beta, bug?
>>>>> Andrew Piskorski >>>>> on Tue, 24 Oct 2023 00:01:58 -0400 writes: > In previous versions of R, Not in R 4.3.0 or 4.3.1 {you are a bit late with updating ..}. > as.character.Date() retained any names on > its input vector. In R 4.3.2 beta, it removes names. Is thi...
2005 Jan 28
1
R for CGI
Dear R Users; Perl is the common language to write CGI scripts which handle Forms. My question is that can R be as fast as perl to do the same job(with using CGIwithR package). Is it an optimal solution to connect R directly to a commercial HTML webpages, Sincerely, Sean
2009 Jul 27
1
how to change FPU control word?
Dear developers, is there (already) a platform-independent way for (temporarily!) changing the fpu control word? More precisely: I am looking for functions (accessible from C code in R packages) which read and write the fpu control word on x86 cpus (and cause no harm otherwise), because I need to (temporarily) turn off internal 80-bit precision for some algorithms relying on 64-bit IEEE