Re: [Rd] using predict method with an offset

2009-02-27 Thread Heather Turner
Hi Ken, First of all, whether you specify the offset by the argument or in the formula, your code requires that q25 is the same length as the variable Contr. You can set this up by defining your new data as follows: nd - data.frame( Contr = cc , q25 = qlogis(0.25)) This sorts out the problem of

[Rd] [SoC09-Idea] Party On!

2009-02-27 Thread Torsten Hothorn
Hi Manuel, find our SoC proposal below. Best wishes, Torsten Achim ___ Party On! New Recursive Partytioning Tools. Mentor: Torsten Hothorn Achim Zeileis Short Description: The aim of the project is the implementation

[Rd] Persistent data structures for R

2009-02-27 Thread hadley wickham
Hi all, Has anyone thought about developing persistent (http://en.wikipedia.org/wiki/Persistent_data_structure) functional data structures for R? A persistent data frame, for example, would seem like a possible way of drastically reducing memory consumption for many common problems. Would

Re: [Rd] Persistent data structures for R

2009-02-27 Thread Wacek Kusnierczyk
hadley wickham wrote: Hi all, Has anyone thought about developing persistent (http://en.wikipedia.org/wiki/Persistent_data_structure) functional data structures for R? A persistent data frame, for example, would seem like a possible way of drastically reducing memory consumption for many

[Rd] R-Google interface: Google summer of code

2009-02-27 Thread Farrel Buchinsky
I use R for data management and ongoing data analysis for amongst other things, a multi-center medical research project. I have found Google spreadsheets to be a fantastic way for all collaborators to be on the same page. Furthermore, Google Forms allows one to capture data from respondents and

Re: [Rd] R-Google interface: Google summer of code

2009-02-27 Thread Adrian Dragulescu
There is an R package that does what you want. http://www.omegahat.org/RGoogleDocs/ by Duncan Temple Lang. It is still in beta but can be used. I've run into some issues when google changes the location of your spreadsheet and redirects you to another site. I could not make it follow the

Re: [Rd] [R] length 1 offset in glm ( lm)

2009-02-27 Thread Kenneth Knoblauch
Hi Quoting Prof Brian Ripley rip...@stats.ox.ac.uk: On Wed, 25 Feb 2009, Heather Turner wrote: This post about length 1 offsets on R help seems to have been ignored (sorry deleted original email - is there a way to continue thread in this case?)

Re: [Rd] [R] length 1 offset in glm ( lm)

2009-02-27 Thread Kenneth Knoblauch
Hi, Thanks for responding/noticing. I was going to wait a few more days while contemplating how to get more notice for the post. It occurred to me later that it should have gone to R-devel as you have forwarded it. I'll include my example (with a fix) for refresher c1 - structure(list(Contr =

[Rd] Accessing browser() in an embedded R

2009-02-27 Thread Bernd Schoeller
Dear List, I have embedded an R interpreter into an application. This works very well until now. As a next step, I would like to make the 'browser()' debugging infrastructure available. Currently, I am executing R code running 'try_eval'. My main application blocks until the try_eval

[Rd] POSIXlt, POSIXct, strptime, GMT and 1969-12-31 23:59:59

2009-02-27 Thread Jeff Ryan
R-devel: Some very inconsistent behavior, that I can't seem to find documented. Sys.setenv(TZ=GMT) str(unclass(strptime(1969-12-31 23:59:59,%Y-%m-%d %H:%M:%S))) List of 9 $ sec : num 59 $ min : int 59 $ hour : int 23 $ mday : int 31 $ mon : int 11 $ year : int 69 $ wday : int 3 $

[Rd] R_CHAR + 21 (memory.c:2573) in crash report...

2009-02-27 Thread Jeff Hamann
I'm not sure if this is the best subject line, and I apologize in advanced for the cross-posting, but I've been trying to get past a piece of code for two days now, and seem to have narrowed where a show stopping crash is occurring... I keep getting: psql:../sql/schedpak.sql:257: server closed

Re: [Rd] [Plr-general] R_CHAR + 21 (memory.c:2573) in crash report...

2009-02-27 Thread Joe Conway
Jeff Hamann wrote: I've been using this code for months now, and added another column to the type definition, which seemed to break something. Undoubtedly the above has something to do with the problem, and I would guess the issue is in PL/R, not R. However, in order to get to the bottom of