Displaying 3 results from an estimated 3 matches for "lineprofile".
2000 Jun 24
1
Garbage Collecting
...ed up pretty fast nevertheless.
I'm now trying to see what the garbage collector does, I have inserted a
gc(v=T)
call at a spot in my code.
I also discovered gctorture(), but I don't claim to be an R hacker for
that matter. :-)
I do a call
> l4 <- t(apply(cbind(rep(1000000, 4)), 1, lineprofile, 1, 80,
smap01n$histogram))
and this will create a 101 * 4 element matrix. My first line in
'lineprofile' is gc(v=T), so it reports while running
Garbage collection [nr. 362602]...
629255 cons cells free (78%)
155163 Kbytes of heap free (76%)
Garbage collection [nr. 362603]...
2000 May 22
1
Bus Error crash (PR#551)
.../tmp/core>.
I had done a few simulations, and done a chisq.test() on them.
These simulations also write about 190MB's to file, but
I have no idea whether that is relevant, and those data are not
used. The calls I do look like this:
> ch1 <- chisq.test(t(apply(cbind(rep(5000000, 4)), 1, lineprofile, 1, 100,
"point")))
> ch1
Pearson's Chi-square test
data: t(apply(cbind(rep(5e+06, 4)), 1, lineprofile, 1, 100, "point"))
X-squared = 463.8359, df = 300, p-value = 3.726e-09
> ch1$observed
Process R bus error (core dumped) at Mon May 22 12:38:49 2000
....so...
2000 May 07
1
Problem with match.arg() (PR#536)
...ome, R crashed with a segmentation fault.
Unfortunately, I had limit coredumpsize 0, because I seldom want core-files,
so I haven't got it. I have removed that limit now. I have not been able to
reproduce the crash, however.
Now, for a
> last.dump
$"apply(cbind(rep(1e+05, 25000)), 1, lineprofile, 10, 100, 1, "point")"
<environment: 140e187f0>
$"FUN(newX[, i], ...)"
<environment: 1404b6608>
$"apply(cbind(-as.integer(numberofbins/2):as.integer(numberofbins/2)), "
<environment: 1404b5460>
$"FUN(newX[, i], ...)"
<environment:...