[R] optim hangs without warnings or error

2013-03-07 Thread Katja Hebestreit
Hello, optim hangs for some reason when called within the betareg function (from the betareg package). In this special case, the arguments which are passed to optim cause never ending calculations. I uploaded the arguments passed to optim on: https://www.dropbox.com/s/ud507gbpt3gkbcp/optim_argum

[R] parLapply within a function

2012-01-12 Thread Katja Hebestreit
nce in the memory. But if I use the same call within another function, the object seems to be multiplied to the nodes. We conclude this from the longer run time and a significant higher memory usage. Any help is appreciated! :-) Cheers, Katja Hebestreit Some version information: > sessionInf

[R] Boundary correction for kernel density estimation

2010-10-11 Thread Katja Hebestreit
Dear R-users, I have the following problem: I would like to estimate the density curve for univariate data between 0 and 1. Unfortunately, the density function in the stats package is just capable to cut the curve at a left and a right-most point. This truncation would lead to an underestimation.