Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-27 Thread John Hendy
On Mon, Aug 27, 2012 at 3:40 PM, Nick Dokos wrote: > John Hendy wrote: > >> There are six of these sections, however when I do C-c C-c on the >> block and then C-c C-e p to export to LaTeX, I get duplicate sections >> back to back. I have to delete the entire results section and only do >> C-c C-

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-27 Thread John Hendy
On Mon, Aug 27, 2012 at 3:50 PM, Eric Schulte wrote: > John Hendy writes: > >>> Disregard again... adding multiple newlines with cat() doesn't work, >>> but I had the idea to do: >>> >>> cat(paste("[[../plots/",filename,"]]",sep=""), sep="\n") >>> cat("\n") >>> >>> Works great. I suppose I can us

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-27 Thread Eric Schulte
John Hendy writes: >> Disregard again... adding multiple newlines with cat() doesn't work, >> but I had the idea to do: >> >> cat(paste("[[../plots/",filename,"]]",sep=""), sep="\n") >> cat("\n") >> >> Works great. I suppose I can use this to add #+attr_latex options as >> well as captions. Cool

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-27 Thread Nick Dokos
John Hendy wrote: > There are six of these sections, however when I do C-c C-c on the > block and then C-c C-e p to export to LaTeX, I get duplicate sections > back to back. I have to delete the entire results section and only do > C-c C-e p with an empty results section to have the duplicate rem

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-27 Thread John Hendy
> Disregard again... adding multiple newlines with cat() doesn't work, > but I had the idea to do: > > cat(paste("[[../plots/",filename,"]]",sep=""), sep="\n") > cat("\n") > > Works great. I suppose I can use this to add #+attr_latex options as > well as captions. Cool stuff. Getting a bit of odd

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-26 Thread John Hendy
On Sun, Aug 26, 2012 at 10:15 PM, John Hendy wrote: > On Thu, Aug 23, 2012 at 11:43 AM, Eric Schulte wrote: >> John Hendy writes: >> >>> I'm conducting some neural network analysis, and the results are >>> highly dependent on the random seed set prior to creating the model. I >>> loop through se

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-26 Thread John Hendy
On Thu, Aug 23, 2012 at 11:43 AM, Eric Schulte wrote: > John Hendy writes: > >> I'm conducting some neural network analysis, and the results are >> highly dependent on the random seed set prior to creating the model. I >> loop through seeds 1-500, storing the predicted values in one data >> frame

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-26 Thread John Hendy
On Thu, Aug 23, 2012 at 11:43 AM, Eric Schulte wrote: > John Hendy writes: > >> I'm conducting some neural network analysis, and the results are >> highly dependent on the random seed set prior to creating the model. I >> loop through seeds 1-500, storing the predicted values in one data >> frame

Re: [O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-23 Thread Eric Schulte
John Hendy writes: > I'm conducting some neural network analysis, and the results are > highly dependent on the random seed set prior to creating the model. I > loop through seeds 1-500, storing the predicted values in one data > frame and a table of mean sum of squared errors in another table. >

[O] Including multiple plots resulting from a loop of R code in LaTeX

2012-08-22 Thread John Hendy
I'm conducting some neural network analysis, and the results are highly dependent on the random seed set prior to creating the model. I loop through seeds 1-500, storing the predicted values in one data frame and a table of mean sum of squared errors in another table. Then, I use ggplot to create