[R] R annoyances

2005-05-19 Thread Chalasani, Prasad
Dear R Folks, I'm a big fan of R, but there are a couple of things that repeatedly annoy me, and I wondered if anyone has neat ways to deal with them. (a) When using apply row-wise to a matrix, it returns the results column-wise, and to preserve the original orientation, I've to do a

RE: [R] R annoyances

2005-05-19 Thread Chalasani, Prasad
Thanks all for pointing out that I can use mtx[,1,drop=F] -Original Message- From: Uwe Ligges [mailto:[EMAIL PROTECTED] Sent: Thursday, May 19, 2005 10:49 AM To: Chalasani, Prasad Cc: r-help@stat.math.ethz.ch Subject: Re: [R] R annoyances Chalasani, Prasad wrote: Dear R

[R] its package: inexplicable date-shifting ?!

2005-04-27 Thread Chalasani, Prasad
Can someone please explain to me why the dates get shifted by one day when I create an its ( irregular time-series ) object from a matrix for which I've assigned row names. E.g. in the example run below, why does the its object have dates one-shifted from my original dates?

RE: [R] assign to an element of a vector

2005-04-27 Thread Chalasani, Prasad
how about assign( 'a', { z - get('a'); z[1] - 0; z } ) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fernando Saldanha Sent: Wednesday, April 27, 2005 3:22 PM To: Submissions to R help Subject: [R] assign to an element of a vector I am trying to

[R] RDCOMServer for R 2.0.1 + Windows ?

2005-04-03 Thread Chalasani, Prasad
Has anyone managed to get this working? Here's what I did: I got the binary build for R2.0.1 from the Omegahat download page, and made a small change to the registerClassID function ( to make it use the right path to RDCOMServer.dll). Then I tried to replicate the simple TTest example from the

[R] Bloomberg data import

2005-03-24 Thread Chalasani, Prasad
Dear R Folks, I know that Enrique Bengoechea ( Credit Suisse ) had posted some code snippets for importing Bloomberg historical data into R. I found them to be very useful. Has anyone succeeded in getting the below items from Bloomberg to R? (a) historical economic release data, (b)

RE: [R] Bloomberg data import

2005-03-24 Thread Chalasani, Prasad
, March 24, 2005 2:24 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Bloomberg data import Prasad, Chalasani, Prasad prasad.chalasani at gs.com writes: I know that Enrique Bengoechea ( Credit Suisse ) had posted some code snippets for importing Bloomberg historical data into R. I found them

RE: [R] Bloomberg data import

2005-03-24 Thread Chalasani, Prasad
, 2005 3:00 PM To: r-help@stat.math.ethz.ch Subject: Re: [R] Bloomberg data import Prasad, Chalasani, Prasad prasad.chalasani at gs.com writes: I found that with Enrique's approach it's extremely easy to bang together R code to grab historical *daily* data from Bloomberg. However when I tried

[R] summary method in URCA package doesn't work

2005-02-25 Thread Chalasani, Prasad
I can't figure out how to get the summary method in the URCA package to work. E.g. when I use the following code fragment in the help for the ca.jo function, it always tries to use the summary method from the base package, not the urca package. How do I force it use the summary method of the