Re: [R] isssues with predict.coxph, offset, type = "expected", and newdata

2016-10-02 Thread David James
Thanks Terry, Re: the second case (predicting from a null model with a newdata= argument), I agree that it looks a bit over the top for such a straight forward computation, so maybe it is more a wish than anything else. In this one instance, this computation is embedded in a wider multi-state sim

[R] isssues with predict.coxph, offset, type = "expected", and newdata?

2016-09-30 Thread David James
Hi, It seems there might be two issues with predict.coxph(), and I'd appreciate confirmation before submitting a bug report to the package author. (1) predict() seems to produce incorrect predictions when using type = "expected" from a Cox model with an offset and specifying a new data for predi

Re: [R] Parsing regular expressions differently - feature request

2008-11-18 Thread David James
Hi Perhaps Python's raw strings is what Duncan TL was referring to? These are specified as r'Hello World' and their main advantage is that backslashes are simply passed through. From the Python Language Reference: "When an 'r' or 'R' prefix is present, a character following a backslash is inclu

[R] [R-pkgs] new RMySQL and new maintainer

2008-09-11 Thread David James
Hello, [This is a re-posting of a previous announcement; I believe the original posting of a couple of days ago didn't go through.] The latest version of RMySQL 0.6-1 is now in CRAN. Please see the NEWS file for more details. Also, I'm happy to announce that Jeff Horner <[EMAIL PROTECTED]> has k

Re: [R] connecting [logging] RMySQL to an external server - SOLVED

2007-12-19 Thread David James
Hi, I'm sorry I'm also coming late to this discussion, but like Dirk, I fail to understand what's wrong with using dbConnect() the way the documentation, (see ?MySQL) suggests. RMySQL was developed in a fully distributed client/server environment, and it uses the MySQL-provided client API. The