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
t
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 i
> sort.list(x, na.last = NA, method = "radix") # good
[1] 1 4 2
> sort.list(x, na.last = NA, method = "shell") # 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 f
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
http://yorick.s
x has a class attribute,
> but 1*structute(1,class="testClass") makes a thing
> with a class attribute but without the 'OBJECT' bit set.
>
> Bill Dunlap
> TIBCO Software Inc - Spotfire Division
> wdunlap tibco.com
>
> > -Original Message-
>
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")
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
Romain Francois free.fr> writes:
>
> Hi,
>
> Has anyone started a javascript device for R.
> I don't see something like that googling or at on
> http://www.stat.auckland.ac.nz/~paul/R/devices.html
> For example, using that graphics library :
> http://www.walterzorn.com/jsgraphics/jsgraphics_e