[Rd] Bug with Cor(..., method='spearman") and by() (PR#9921)

2007-09-21 Thread HDoran
I posted this on R help, and a few others responded indicating they too were able to replicate the error as a function of missing data. I believe this should not be the case and hence and reporting it here. ### Code provided on R-Help by Ivar Herfindal # Simulate data testdata <- cbind.data.frame(

Re: [Rd] Sweave resource leak: leftover temp files (PR#7999)

2005-07-08 Thread HDoran
This is great. Thank you for your help, but let me make sure I fully understand. Here is the looping file I use to subset the data frame, create a tex file, and Sweave it. This results in N number of tex files where N is equal to the number of rows in the data frame. list <- unique(wide$stuid) mas