similar to: reinventing the wheel....

Displaying 20 results from an estimated 2000 matches similar to: "reinventing the wheel...."

2006 Jul 05
2
Editors which have strong/solid support for SWeave?
Greetings! I have a few colleagues who like the idea of Sweave, but have failed to become enlightened monks of the One True Editor (http://www.dina.dk/~abraham/religion/) Are there any other Microsoft-centric editors or IDEs which have solid support for writing SWeave documents (dual R / LaTeX enhancements similar to ESS's support)? Has anyone tried the folding editors which support Noweb?
2005 Oct 04
1
more problems when using "installWithVers"
R-devel, SVN revision 35729 (this morning, euro-time) So far, I'm having awful luck with the "installWithVers" flags. Recent example: I can install.packages("lattice", installWithVers=TRUE) successfully (no errors, at least it looks like a successful install), but can't load it: Error in library.dynam(pkg,pkg,lib) : shared library 'lattice_0.12-7' not found
2007 Nov 01
3
Curry: proposed new functional programming, er, function.
Hi all (especially R-core) I suppose, With the introduction of the new functional programming functions into base I thought I'd ask for a Curry() function. I use a simple one that looks this: Curry = function(FUN,...) { .orig = list(...);function(...) do.call(FUN,c(.orig,list(...))) } This comes in really handy when using say, heatmap():
2005 Dec 23
2
cairo anyone?
Has anyone taken a shot at a Cairo graphics device yet? I half expected to see one on either Paul's pages or Omegahat. :-) --- Byron Ellis (ellis at stat.harvard.edu) "Oook" -- The Librarian
2006 Apr 18
1
Embedding, core dumps, etc.
Well, nothing has changed in the issues that I brought up earlier, except that I can confirm core dumps in non-threaded lisps as well (CLISP), using svn version 37840 (this morning, Seattle time) for R-2-3-patches. I've not tried Thomas' suggested fixes, as I'm hesistant to go down the road of fixing R in such a way that would require constant patching. (so for those counting,
2005 Mar 25
1
S4 methods semantics questions
Some quick questions about S4 methods. Does the typing of S4 methods mean that lazy evaluation is no longer possible? It seems that you would need to evaluate the arguments to determine their type at dispatch. Second, what role, if any, do default arguments play in S4 methods? I notice that you can put default arguments into generics but that the dispatch is still done on the type of the
2005 Dec 29
1
S4 classes: referencing slots with other slots
For those who suggest other ways to do this, I ALREADY HAVE ANOTHER DESIGN SOLUTION, DESCRIBED AT THE END. That being said, I want to know if it's possible to reference a slot in an S4 class from another slot, i.e. I'd like to have the "self.*" semantics of Python so that I can reuse a slot. That is, for various reasons it would be nice to be able to do something like:
2006 Apr 11
4
Stack checking, core dumps, and embedding R
I will say this first -- I can't copy/paste the error message from the screen, so it's being retyped. Errors might occur. SORRY. I've been experiencing some interesting stack warnings recently when moving from R 2.2.x to the R 2.3.0 series and the R 2.4.0 series. In particular, I'm getting warnings of "Error: C stack usage is too close to the limit" before
2005 Dec 09
3
external pointers
I have some C data I want to pass back to R opaquely, and then back to C. I understand external pointers are the way to do so. I'm trying to find how they interact with garbage collection and object lifetime, and what I need to do so that the memory lives until the calling R process ends. Could anyone give me some pointers? I haven't found much documentation. An earlier message
2002 Jun 19
1
Anon CVS updates?
Is the anonymous CVS repository for R presently broken? There haven't been many updates coming through and the repository files seem to differ significantly from the rsync version of R-devel... Byron Ellis (bellis@hsph.harvard.edu) "Oook" - The Librarian Please finger bellis@hsph.harvard.edu for PGP keys
2003 Sep 14
2
Problem building methods package?
For the last, I dunno, week or so I've been unable to build R... I finally took the time to investigate and the crash is in building 'methods': all.R is unchanged ../../../library/methods/man/methods.Rd is unchanged make[2]: `Makedeps' is up to date. ../../../../library/methods/libs/methods.so is unchanged make[1]: Nothing to be done for `Rfiles'. Any clues to where this
2007 Feb 11
1
Graphics driver test script?
Hi, 1. I started work on a metapost graphics driver a week or so ago and it is gradually taking shape. I'm building up my own test cases into a script as I go, but figured you may have a "canonical testing script" of cases a driver must handle? 2. The clipping function looks like being a tricky problem. It seems to me that the callers of the driver assume that clipping affects all
2007 Jul 06
1
Hook for running a function before evaluation
Hello, I like much addTaskCallback() and friends. However, there are situations were we would like to have a function run BEFORE, not after every top-level tasks. I think specifically to reset options(width = ) to accommodate to the current width of the console, using something like: options(width = system("tput cols")) I am sure there are many other situations where this could be
2007 Aug 29
1
Modifying R_CheckStack for a speed increase
Greetings R developers, R will run a little faster when executing "pure R" code if the function R_CheckStack() is modified. With the modification, the following code for example runs 15% faster (compared to a virgin R-2.5.1 on my Windows XP machine): N = 1e7 foo <- function(x) { for (i in 1:N) x <- x + 1 x }
2007 Dec 19
1
interactive graphics devices
Hi For all developers of add-on graphics devices: please note the existence of deviceIsInteractive() for adding your device to the list of devices for which dev.interactive() returns TRUE. (Available since R 2.6.0; thanks to Brian Ripley I think) Paul -- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at
2007 Apr 03
2
R callbacks
Hi, I'm trying to understand (mostly from the R-exts manual) how to use the callbacks declared in Rinterface.h. As a first attempt, I'm trying to redefine ptr_R_WriteConsole in a very trivial manner. Here's my code: --------------- $ cat altr.c int Rf_initialize_R(int ac, char **av); #define R_INTERFACE_PTRS 1 #include <Rinterface.h> extern int R_running_as_main_program;
2007 Jul 07
1
R graphics device for flash apps
Byron, I just read your blog (statcomp.blogspot.com, linked from your other post) and rand across your idea of an R/Flash graphics device. I've also been giving this some thought because of this amazing interactive flash app: http://tools.google.com/gapminder and others from http://www.gapminder.org/. I would love more than anything to work on this. The only hitch is that I'm so
2004 Apr 27
1
'R CMD build' fails when there are spaces in the path (PR#6830)
Full_Name: Byron Ellis Version: R 1.9.0 (and 2.0.0) OS: Linux (Redhat Fedora Core) Submission from: (NULL) (140.247.241.197) It appears that `R CMD build` cannot handle spaces in the path when building packages for distribution. For instance: [ellis@net-78815 ~/Bayesian Networks]$ R CMD build bnsl * checking for file 'bnsl/DESCRIPTION' ... OK * preparing 'bnsl': * cleaning src *
2007 Aug 16
1
methods and try()
Hi all, I'm having a problem with some sort of interaction with try() and methods, I think. The setup is as follows, I have an S4 class that holds an environment and I would like to evaluate the right hand side of a function inside that environment. No problem there. However, if the formula involves a symbol that doesn't exist, which may or may not happen, it fails as it should and
2005 Apr 25
2
RAW types not restored from Rda files (PR#7812)
Full_Name: Byron Ellis Version: 2.1.0 OS: OS X Submission from: (NULL) (67.124.246.46) > x = charToRaw("12345") > x [1] 31 32 33 34 35 > save(x,file="x.Rda") > rm(x) > load("x.Rda") > x [1] 00 00 00 00 00 Thats no fun.