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
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
) # 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
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
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
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:
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