[R] R.dll problem during loading the package lme4

2012-11-27 Thread Prasenjit
Greetings, I am using R 2.14.1 and while loading package lme4 I am getting the error message: the procedure entry point R_Check_class_etc could not be located in the dynamic link library R.dll. Could anybody help me on this? Thanks and Regards, Roy -- View this message in context: http://r.789

Re: [R] how to connect to a remote PostgreSQL database from R on mac osx

2010-10-20 Thread Prasenjit Kapat
on your client to the remote's 5432 port. Again, use pgadmin3 at this point to make that you _can_ connect. Then set dbhost <- "localhost"; dbport <- "2" and use the same dbConnect call. > Any advice is more than welcome. See: https://code.google.com/p/rpostgresql/ a

Re: [R] lattice xyplot - formatting of multiple Y variables when using subgroups

2010-10-17 Thread Prasenjit Kapat
~ x|group, data=df, type="l", >    panel=function(...){panel.xyplot(df$x,df$y1); >            panel.xyplot(df$x,df$y1, type="l")}) Try: xyplot(y1+y2 ~ x|group, data=df, type=c("l","p"), panel=panel.superpose, distribute.type = TRUE) > Thanks

[R] kernlab:ksvm:eps-svr: bug?

2010-09-24 Thread Prasenjit Kapat
be seen in the trace_output_concise.txt. In particular, compare the output marked by "** NOTE THIS", "?? NOTE THIS", and "++ NOTE THIS" there. Basically, compute the error either before scaling back "fitted (ret)" or scale back y as well!! Can anyone confirm / r

Re: [R] lattice: option to sort x when type = l

2010-07-26 Thread Prasenjit Kapat
On Tue, Jul 27, 2010 at 12:41 AM, Deepayan Sarkar wrote: > On Mon, Jul 26, 2010 at 9:11 PM, Prasenjit Kapat wrote: >> Hi, >> >> (please Cc me) >> >> In xyplot (), type = "l" (or one that includes "l", *el*) is >> (generally) meaningfu

[R] lattice: option to sort x when type = l

2010-07-26 Thread Prasenjit Kapat
http://www.stat.osu.edu/~pkapat/miscl/panel.xyplot.sort.R') > > lattice.options (default.args = list (sort.type.l = TRUE)) > xyp3 <- update (xyp1, main = 'Using hacked panel.xyplot', panel = function > (...) panel.xyplot (...)) # using the hacked panel.xyplot () >

[R] Trouble using Ecdf () from the Hmisc library

2010-04-30 Thread Prasenjit Kapat
ich can ignore such degenerate (and/or "near" degenerate) cells and be able to plot the rest. Any help is certainly appreciated. -- Prasenjit PS: [*] Ow I could spend a day/two to hack panel.Ecdf and/or prepanel.Ecdf for the purpose :( But

Re: [R] spectral decomposition for near-singular pd matrices

2008-07-16 Thread Prasenjit Kapat
Moshe Olshansky yahoo.com> writes: > How large is your matrix? Right now I am looking at sizes between 30x30 to 150x150, though it will increase in future. > Are the very small eigenvalues well separated? > > If your matrix is not very small and the lower eigenvalues are clustered, this may

[R] spectral decomposition for near-singular pd matrices

2008-07-16 Thread Prasenjit Kapat
Hi, I have a matrix M, quite a few (< 1/4th) of its eigen values are of O(10^-16). Analytically I know that M is positive definite, but numerically of course it is not. Some of the small (O(10^-16)) eigen values (as obtained from eigen()) are negative. It is the near-singularity that is causing th

Re: [R] what does "size" of a plotting character mean?

2007-10-04 Thread Prasenjit Kapat
Hi, Thank you Prof Ripley for the response. On 10/4/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Thu, 4 Oct 2007, Prasenjit Kapat wrote: > > > Hi, > > > > plot(1,1, cex=2) means that the size of the plotting character (empty > > circle in this case

[R] what does "size" of a plotting character mean?

2007-10-04 Thread Prasenjit Kapat
Hi, plot(1,1, cex=2) means that the size of the plotting character (empty circle in this case) is double the default size. Now my question is: What characteristic of the symbol (circle) is double? Is it the area or the diameter? What if the symbol is not a circle, what is the generic meaning of