[R] Read many cvs files

2013-01-03 Thread Durant, James T. (ATSDR/DCHI/SSB)
This is what I do (a lot): If all the files you want to read have the same structure, I would suggest using dlply in package plyr to import them. First set you working directory to the location of where you have your files ( use setwd()), then construct a vector of filenames you want to bring

[R] svyplot and svysmooth with hexbin

2012-10-18 Thread Durant, James T. (ATSDR/DCHI/SSB)
Hi all- So sorry to bother you all with something pretty basic. I am trying to add the lines method output from svysmooth to a svyplot with style=grayhex. However, the line either appears in the wrong place or if I am running in R Studio it causes the system to crash. I know this is

Re: [R] svyplot and svysmooth with hexbin

2012-10-18 Thread Durant, James T. (ATSDR/DCHI/SSB)
...@gmail.com] Sent: Thursday, October 18, 2012 2:07 PM To: Durant, James T. (ATSDR/DCHI/SSB) Cc: r-help@r-project.org Subject: Re: [R] svyplot and svysmooth with hexbin try adding legend = 0 to your svyplot() On Thu, Oct 18, 2012 at 1:49 PM, Durant, James T. (ATSDR/DCHI/SSB) h...@cdc.govmailto:h

[R] latex, Hmisc with MikTeX 2.8 produced nmissingunique output

2012-05-04 Thread Durant, James T. (ATSDR/DCHI/SSB)
Hi - So when I run the following, I get a strange formatting output with MikTeX, and I am unsure if the behavior is due to R, Hmisc, or MikTeX or both: dfr - data.frame(x=rnorm(400),y=sample(c('male','female'),400,TRUE)) latex(describe(dfr)) What happens is that the x column is summarized in