Displaying 9 results from an estimated 9 matches for "robsteele".
2005 Nov 23
2
Dancing lissajous
We can't post images here so I've put up a web page to show off a neat
little animation in R:
http://www.geocities.com/robsteele/
Adios!
2016 Jun 10
2
Fixed updates for EL5 / EL6
> Please go download -8 and test it.
Sorry to be ignorant but how do I do that in EL6?
Thanks!
2005 Oct 16
2
Animated lissajous
Here's some code to make lissajous dance. I've attached a small sample
GIF.
Cheers,
Rob Steele
robsteele at yahoo dot com
plot.lissajous = function(omega.x, omega.y, delta = 0, num.thetas = 200)
{
thetas = seq(0, 2 * pi, length = num.thetas)
xs = sin(omega.x * thetas + delta)
ys = cos(omega.y * thetas)
plot(xs, ys, type = 'l', lwd = 3, ann = FALSE, axes = FALSE)
}
## Show one....
2009 Nov 26
3
Best way to preallocate numeric NA array?
These are the ways that occur to me.
## This produces a logical vector, which will get converted to a numeric
## vector the first time a number is assigned to it. That seems
## wasteful.
x <- rep(NA, n)
## This does the conversion ahead of time but it's still creating a
## logical vector first, which seems wasteful.
x <- as.numeric(rep(NA, n))
## This avoids type conversion but still
2009 May 09
5
Reading large files quickly
I'm finding that readLines() and read.fwf() take nearly two hours to
work through a 3.5 GB file, even when reading in large (100 MB) chunks.
The unix command wc by contrast processes the same file in three
minutes. Is there a faster way to read files in R?
Thanks!
2016 Jun 10
0
Fixed updates for EL5 / EL6
Hi,
On Fri, Jun 10, 2016 at 12:28 PM, Rob Steele <robsteele at yahoo.com> wrote:
> > Please go download -8 and test it.
>
> Sorry to be ignorant but how do I do that in EL6?
>
You can download the RPMs here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=771672
>
> Thanks!
>
> _______________________________________...
2010 Sep 07
1
Memory leak in system() command?
I run an external program a few hundred times via
status <- system(command = "blah blah blah")
and pretty soon Linux thinks R is using tons of memory. R doesn't think
so, at least not according to gc(). I'm also opening, reading and
closing files but I don't think that's where the problem lies.
Eventually the system command fails with a status of -1 and a message
2009 Nov 26
1
Moving quantile()?
Is there a faster way to get moving quantiles from a time series than to
run quantile() at each step in the series?
Thanks,
Rob
2012 Feb 24
1
R CMD INSTALL fails where R CMD check succeeds.
This is in a 64 bit CentOS 5.6 instance at Amazon AWS with R version
2.14.1 (2011-12-22). It happens on several packages: RMySQL, RODBC,
FastICA. Many other packages install just fine.
Here's an example error message:
* installing *source* package 'RODBC' ...
** package 'RODBC' successfully unpacked and MD5 sums checked
sh: ./configure: /bin/sh: bad interpreter: