Re: [Rd] Interface between R and a Open Load Flow tool (Gridlabd or OpenDSS)

2014-07-31 Thread Tom Short
It's certainly possible. The best approach depends mainly on how tightly you need to bind to input and output data and how much of the internals you need to access. Here are a couple of approaches that I've used with OpenDSS: * Batch mode -- Generate inputs, run OpenDSS (or Gridlab-D), then read

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-21 Thread Tom Short
For me, the most important aspect is being able to reproduce my own work. Some other tools offer interesting approaches to managing packages: * NPM -- The Node Package Manager for Node.js loads a local copy of all packages and dependencies. This helps ensure reproducibility and avoids dependency

[Rd] Bug reporting system inquiry plus a bug report related to sort

2010-03-04 Thread Tom Short
) # good [1] 1 4 2 sort.list(x, na.last = NA, method = quick) # still bad [1] 1 3 2 By the way, having the radix sort is great. It's really fast for factors. - Tom Tom Short Electric Power Research Institute (EPRI) sessionInfo() R version 2.10.1 (2009-12-14) i386-pc-mingw32 locale: [1

Re: [Rd] Inaccurate complex arithmetic of R (Matlab is accurate)

2009-08-04 Thread Tom Short
I checked, and both octave and yorick use multiplication for z^i where i is an integer, leading to better accuracy. Octave uses an integer power if it's stored as a double if it's close enough to an integer. See: http://hg.savannah.gnu.org/hgweb/octave/file/fb22dd5d6242/src/xpow.cc

Re: [Rd] Simple class with an automatic printing issue

2009-04-13 Thread Tom Short
with a class attribute but without the 'OBJECT' bit set. Bill Dunlap TIBCO Software Inc - Spotfire Division wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Tom Short Sent: Sunday, April 12, 2009 4:00

[Rd] Simple class with an automatic printing issue

2009-04-12 Thread Tom Short
I don't understand the following behavior for a simple S3 class. The auto-printing at the command line doesn't behave as I expect. I'm probably missing something, but it might be a bug. print.testClass - function(x, ...) cat(Class:, class(x), :, x, \n) structure(1, class = testClass) Class:

Re: [Rd] Sweave/ESS-like tools for HTML

2007-10-16 Thread Tom Short
See this link for more on creating/converting to HTML: http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/SweaveConvert For using ESS with mixed HTML/R files, see this: https://stat.ethz.ch/pipermail/ess-help/2006-December/003826.html - Tom Tom Short Electric Power Research Institute