Re: [R] Vim-R-plugin (new version)

2009-10-06 Thread Andrew Choens
> Dear R users, > > The author of Tinn-R (Jose Claudio Faria) now is co-author of > Vim-R-plugin2, a plugin that makes it possible to send commands > from the Vim text editor to R. We added many new key bindings, > restructured the menu and created new Tool Bar buttons. The new > version is availab

Re: [R] Vim-R-plugin (new version)

2009-10-06 Thread Andrew Choens
__ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Ubuntu, Revolutions, R

2009-10-04 Thread Andrew Choens
For those who don't follow Ubuntu development carefully, the first Beta for the next Ubuntu was recently released, so I took my home system and upgraded to help out with filing bugs, etc. Just to be clear, I am not looking for help with the upgrade process. I've had R, and a few miscellaneous

Re: [R] Problems in Recommending R

2009-02-12 Thread Andrew Choens
I agree with those who would like to see the R-Project's site redone. If/when it is redone, I think there should be more emphasis on providing links / access to useful materials for new users. I find it interesting that this discussion has been very focused on the technologies that should be used,

Re: [R] how to delete specific rows in a data frame where the first column matches any string from a list

2009-02-08 Thread Andrew Choens
Interesting. Thanks. On Sat, 2009-02-07 at 02:36 +0100, Wacek Kusnierczyk wrote: > Andrew Choens wrote: > > I regularly deal with a similar pattern at work. People send me these > > big long .csv files and I have to run them through some pattern analysis > > to decide which

Re: [R] how to delete specific rows in a data frame where the first column matches any string from a list

2009-02-06 Thread Andrew Choens
I regularly deal with a similar pattern at work. People send me these big long .csv files and I have to run them through some pattern analysis to decide which rows I keep and which rows I kill off. As others have mentioned, Perl is a good candidate for this task. Another option would be a quick SQ

[R] Time Series

2009-01-15 Thread Andrew Choens
If I want to make a numerical series, I can do so easily with: series.numbers <- 1:10 But, I don't seem to be able to do the same with time. I want to create a vector with 480 points that corresponds to the 480 minutes in a 8 hour work day. Thus I want series.time to look something like t

Re: [R] The R Inferno

2009-01-09 Thread Andrew Choens
> now if only i could get tips to sort a 5 column * 1 million rows dataset in > less than ..eternity May I suggest mySQL, postgreSQL, etc.? If what you need to do is a basic sort, a database is going to be faster than R. -- Insert something humorous here. :-)

Re: [R] R in the NY Times

2009-01-08 Thread Andrew Choens
On Thu, 2009-01-08 at 10:42 -0600, Stas Kolenikov wrote: > A really good measure for R will be the total # of the downloads of > r-base for all platforms from all CRAN mirrors (and I would expect > that # can be found from the servers' logs). Given that it is so easy > to download everything nice a

Re: [R] R in the NY Times

2009-01-07 Thread Andrew Choens
> Unfortunately, that type of FUD issued by the SAS marketing person still > works. I see it at my employer (a large healthcare company.) It's a > battle to change a culture, but ironically the recession helps. > People are now taking notice of the obscene licensing fees for SAS. > > Darin I agr

[R] Trouble installing plyr

2008-12-29 Thread Andrew Choens
I want to learn how to use the reshape package. The reshape package is not included in the Ubuntu repositories, so I attempted to install reshape with: install.packages("reshape") This is what I got for output: Warning in install.packages("reshape") : argument 'lib' is missing:

[R] Using SPSS Labels

2008-12-23 Thread Andrew Choens
I am trying to import a SPSS.sav file into R. The attached file is not technically the file I am trying to import, but does replicate my problem. The actual file is much too large to attach. No matter what I do, I can not get R (base or Hmisc) to apply the value labels in the .sav file to the dataf

[R] How to make a banner table.

2008-11-30 Thread Andrew Choens
I have a dataframe with the following variables: idnum areagender raceetc. I would like to make a table that looks like areagender race M FB W A 1 4 53 5 1 2 6 74 6 3 etc. Basically, I want to make a single broad table with a number of sub-set

Re: [R] R and SPSS

2008-11-26 Thread Andrew Choens
On Wed, 2008-11-26 at 12:25 -0800, Applejus wrote: > Hi, > > I have a code in R. Could anyone give me the best possible way (or just > ways!) to integrate it in SPSS? > > Thanks! You will need a SPSS registration, but go here and get the SPSS r plugin. http://www.spss.com/devcentral/ It lets y

Re: [R] Chi-Square Test Disagreement

2008-11-26 Thread Andrew Choens
> Next time the launch of an incoming nuclear strike is detected, > set them to work as follows (following Karl Pearson's historical > precedent): > > "Anti-aircraft guns all day long": Computing for the > Ministry of Munitions > JUNE BARROW GREEN (Open University) >From January 1

Re: [R] weighted ftable

2008-11-26 Thread Andrew Choens
I didn't know that. That is exactly what I need. On Tue, 2008-11-25 at 13:00 -0800, Thomas Lumley wrote: > On Mon, 24 Nov 2008, Andrew Choens wrote: > > > I need to do some fairly deep tables, and ftable() offers most of what I > > need, except for the weighting. With sma

Re: [R] Chi-Square Test Disagreement

2008-11-26 Thread Andrew Choens
On Thu, 2008-11-27 at 00:46 +0800, Berwin A Turlach wrote: > Chuck explained already the reason for this small difference. I just > take issue about it being an important difference. In my opinion, > this difference is not important at all. It would only be important > to people who are still st

[R] Chi-Square Test Disagreement

2008-11-26 Thread Andrew Choens
I was asked by my boss to do an analysis on a large data set, and I am trying to convince him to let me use R rather than SPSS. I think Sweave could make my life much much easier. To get me a little closer to this goal, I ran my analysis through R and SPSS and compared the resulting values. In all

[R] weighted ftable

2008-11-24 Thread Andrew Choens
I need to do some fairly deep tables, and ftable() offers most of what I need, except for the weighting. With smaller samples, I've just used replicate to let me have a weighted data set, but with this data set, I'm afraid replicate is going to make my data set too big for R to handle comfortably.