Re: [O] Problem with R source blocks

2015-06-12 Thread Thomas S. Dye
Hi Chuck, Charles C. Berry ccbe...@ucsd.edu writes: The error messages are coming from R. cbind will say: : Error in data.frame(..., check.names = FALSE) : : arguments imply differing number of rows: 2, 3 I think the problem is in ggplot2, rather than my for loop:

Re: [O] Problem with R source blocks

2015-06-12 Thread Charles C. Berry
On Fri, 12 Jun 2015, Thomas S. Dye wrote: Hi Chuck, Charles C. Berry ccbe...@ucsd.edu writes: The error messages are coming from R. cbind will say: : Error in data.frame(..., check.names = FALSE) : : arguments imply differing number of rows: 2, 3 I think the problem is in ggplot2,

Re: [O] Problem with R source blocks

2015-06-12 Thread Charles C. Berry
On Thu, 11 Jun 2015, Thomas S. Dye wrote: Aloha all, Recently, some previously working R code (below) stopped working correctly. It is not possible to produce a graphic without :session. I get a red message in the pdf file arguments imply differing numbers of rows: 86, 79. With :session, I

Re: [O] Problem with R source blocks

2015-06-12 Thread Thomas S. Dye
Charles C. Berry ccbe...@ucsd.edu writes: I'd rewrite the src block with save.image(file=setup-for-ggplot.RData) before the graphics commands. Restart emacs and execute the src block. Start a fresh R session, then type load(setup-for-ggplot.RData) and type/paste in all the

Re: [O] Problem with R source blocks

2015-06-12 Thread Thomas S. Dye
t...@tsdye.com (Thomas S. Dye) writes: I'll report it to the ggplot2 folks. Too late. The bug in plyr was corrected a week ago. library(devtools) devtools::install_github(hadley/plyr) library(plyr) library(ggplot2) ... Thanks again for your help. All the best, Tom -- Thomas S. Dye

[O] Problem with R source blocks

2015-06-11 Thread Thomas S. Dye
Aloha all, Recently, some previously working R code (below) stopped working correctly. It is not possible to produce a graphic without :session. I get a red message in the pdf file arguments imply differing numbers of rows: 86, 79. With :session, I first get one of two error messages in red in