Re: [R] Looping through names of both dataframes and column-names

2013-04-26 Thread Daniel Egan
n(paste0(var,"_cs"), > cumsum(get(df)[[var]] > }} > ls()[grep("df_",ls())] > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Daniel Egan > Sent: Donnerstag, 25. April 2013 22:19

[R] Looping through names of both dataframes and column-names

2013-04-26 Thread Daniel Egan
Hello all, This seems like a pretty standard question - suppose I want to loop through a set of similar data-frames, with similar variables, and create new variables within them: nl<-seq(1,5)for (i in nl) { assign(paste0("df_",nl[i]),data.frame(x=seq(1:10),y=rnorm(10)))} ls()[grep("df_",ls())]

[R] Undesired vertical lines in png file output using 'cairo-png'

2013-04-05 Thread Daniel Egan
he error - it's something specific to 'cairo-png'. The vertical lines appear to be empty, i.e. transparent. Any guidance or assistance would be greatly appreciated. Regards, Daniel Egan -- [image: Betterment]*Daniel Egan |* Director of Behavioral Finance and Investing at Better