Re: [R] RODBC: sqlUpdate doesn't handle properly POSIXct field?

2011-08-28 Thread WanderingWizard
Thanks a bunch, it was driving me nuts. My experience would seem to confirm yours. Thanks to your post, I fixed a database update that was crashing my R session. I changed the data column that I was posting from a POSIXct to a Date, and now the data goes in. That works fine for me since my data

[R] StatET: Connecting to a remote rterm instance

2010-12-02 Thread WanderingWizard
Is it possible to use Eclipse (StatET) to connect to an rterm instance running on another computer? It looks like it should be easy, but when I select an R Engine it says "Connection failed to: hostname" everytime. Is there a guide somewhere? -- View this message in context: http://r.789695.n

[R] lm( y ~ A/x ) ... how do I extract the coefficients by factor?

2010-07-04 Thread WanderingWizard
When regressing by month, how do I get the coefficients out into a new data set? I'm looking for [ month, a, b, c ] from the Pastor-Stambaugh model I'm using which is: r[i+1] = a + b * r[i] + c * v[i] + e the model I'm using wants to create a new dataseries based on the coeffic