[Rd] discrete-time survival model

2010-05-13 Thread Christophe Dutang
Dear List, Last week, I asked on R-help if there was a package implementing the dynamic discrete time model of Fahrmeir (1994) - http://www.jstor.org/pss/2336962. Unfortunately, nobody answered. So I start to implement it. Does anyone interested in such development? Or is it useless because so

[Rd] where is libRmath.a & libRmath.so

2010-05-13 Thread Dave Lubbers
I see Rmath.h in include. Why can't I find libRmath.a and/or libRmath.so? -- View this message in context: http://r.789695.n4.nabble.com/where-is-libRmath-a-libRmath-so-tp2216048p2216048.html Sent from the R devel mailing list archive at Nabble.com. __

Re: [Rd] results of pnorm as either NaN or Inf

2010-05-13 Thread Ted Harding
On 13-May-10 20:04:50, efree...@berkeley.edu wrote: > I stumbled across this and I am wondering if this is unexpected > behavior or if I am missing something. > >> pnorm(-1.0e+307, log.p=TRUE) > [1] -Inf >> pnorm(-1.0e+308, log.p=TRUE) > [1] NaN > Warning message: > In pnorm(q, mean, sd, lower.tai

[Rd] results of pnorm as either NaN or Inf

2010-05-13 Thread efreeman
I stumbled across this and I am wondering if this is unexpected behavior or if I am missing something. > pnorm(-1.0e+307, log.p=TRUE) [1] -Inf > pnorm(-1.0e+308, log.p=TRUE) [1] NaN Warning message: In pnorm(q, mean, sd, lower.tail, log.p) : NaNs produced > pnorm(-1.0e+309, log.p=TRUE) [1] -Inf I

Re: [Rd] cdplot() with 'POSIXct' x

2010-05-13 Thread Achim Zeileis
On Thu, 13 May 2010, Sebastian P. Luque wrote: Hi, Given that cdplot() is used to produce the conditional density of a categorical y along a numerical x, it seems natural that it could be used with a date or time x (such as 'POSIXct'). Is this desirable? If so, I've created a patch that would

Re: [Rd] What functions are called internally in R to resolve whatvariable is referred?

2010-05-13 Thread William Dunlap
> From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of > thmsfuller...@gmail.com > Sent: Thursday, May 13, 2010 10:16 AM > To: r-devel@r-project.org > Subject: [Rd] What functions are called internally in R to > resolve whatvariable is referred? > > Hello A

[Rd] cdplot() with 'POSIXct' x

2010-05-13 Thread Sebastian P. Luque
Hi, Given that cdplot() is used to produce the conditional density of a categorical y along a numerical x, it seems natural that it could be used with a date or time x (such as 'POSIXct'). Is this desirable? If so, I've created a patch that would allow this, by coercing the POSIXct x variable to

Re: [Rd] What functions are called internally in R to resolve what variable is referred?

2010-05-13 Thread Simon Urbanek
On May 13, 2010, at 1:16 PM, thmsfuller...@gmail.com wrote: > Hello All, > > If I refer to a variable 'x', 'x' will be searched in the current > frame or the parent frame, or the parent of the parent frame, etc., > until it is found (or not found at all)? Could you please show me what > code in

[Rd] What functions are called internally in R to resolve what variable is referred?

2010-05-13 Thread thmsfuller...@gmail.com
Hello All, If I refer to a variable 'x', 'x' will be searched in the current frame or the parent frame, or the parent of the parent frame, etc., until it is found (or not found at all)? Could you please show me what code in R source that handles this? Is it in the C code or the R code? Thanks, To

Re: [Rd] R for Windows FAQ: Minor comment on "32- and 64-bit" installation paths

2010-05-13 Thread Uwe Ligges
On 13.05.2010 09:29, Henrik Bengtsson wrote: In 'R for Windows FAQ' for R version 2.11.0 Patched (2010-05-11 r51982) you can read: [2.29] Can both 32- and 64-bit R be installed on the same machine? Obviously, only relevant if the machine is running a 64-bit version of Windows. Yes, with a li

[Rd] Using Sweave in hostile environments

2010-05-13 Thread Duncan Murdoch
I'm trying to put together a poster using the LaTeX a0poster package and including some things from pstricks to get gradient shading, etc. The problem is that the default environments used by Sweave don't work where I need them. A simple code chunk like <>= x <- 1 @ buried in a minipage wit

[Rd] R for Windows FAQ: Minor comment on "32- and 64-bit" installation paths

2010-05-13 Thread Henrik Bengtsson
In 'R for Windows FAQ' for R version 2.11.0 Patched (2010-05-11 r51982) you can read: [2.29] Can both 32- and 64-bit R be installed on the same machine? Obviously, only relevant if the machine is running a 64-bit version of Windows. Yes, with a little care. For R 2.11.x they should be installed