[R] Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)?

2012-02-06 Thread Doug Hill
Hi all. I want to generate a sequence of n plots and save them into a single PDF file, one plot per page. From the R docs and other sources I gather the basic way to do this is save plot 1 into a file then append the 2:n plots to the same file.  This code shows my basic approach, but for some

Re: [R] Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)?

2012-02-06 Thread Doug Hill
...@math.montana.edu Subject: Re: [R] Multi-page PDF using dev.copy2pdf(filename, onefile=TRUE)? To: Doug Hill logic...@yahoo.com Cc: r-help@r-project.org Date: Monday, February 6, 2012, 12:24 PM Doug, dev.copy2pdf closes the connection after it's done, so onefile is meaningless. To look at each plot before copy

Re: [R] Failed install of package xlsReadWrite

2010-02-23 Thread Doug Hill
Hi, all. I too got this error, and when I went to register the correct DLL (thinking the one downloaded but not installed might have been the development version) I got an error that the registration had failed. What I typed: C:\Program Files\R\R-2.10.0\library\xlsReadWrite\libsregsvr32

Re: [R] Failed install of package xlsReadWrite

2010-02-23 Thread Doug Hill
Sorry, forgot to mention I'm running R 2.10 on Windows 7, and I ran the command window as Administrator. Thanks, Doug -- View this message in context: http://n4.nabble.com/Failed-install-of-package-xlsReadWrite-tp1476880p1566479.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] Which hist cell each value falls in?

2009-12-18 Thread Doug Hill
Thanks, guys! Doug David Winsemius wrote: On Dec 18, 2009, at 2:57 AM, Jim Lemon wrote: On 12/18/2009 06:35 AM, Doug Hill wrote: Hi, all. I'm using hist() to obtain a vector of break values in an interval. I then want to be able to identify which cell any value from another

[R] Which hist cell each value falls in?

2009-12-17 Thread Doug Hill
Hi, all. I'm using hist() to obtain a vector of break values in an interval. I then want to be able to identify which cell any value from another vector falls in. E.g. applying breaks [1] -3.5 -3.0 -2.5 -2.0 -1.5 -1.0 -0.5 0.0 0.5 1.0 1.5 2.0 to x [1] -3.74519666 -0.38183630

Re: [R] Labeling plot points

2009-12-11 Thread Doug Hill
Hi, again. False alarm, I thought I'd call lattice.demo() as a quick check of my install, but that was a bad idea and the errors were a red herring. Looked at you HWidentify() directly and now I get it - thanks! Doug Greg Snow-2 wrote: There are 2 functions in the development version of the

Re: [R] Labeling plot points

2009-12-11 Thread Doug Hill
Greg, I tried installing v2.5 using the instructions on R-forge but ran into errors: install.packages(TeachingDemos, repos=http://R-Forge.R-project.org;) Warning: unable to access index for repository http://R-Forge.R-project.org/bin/windows/contrib/2.10 Warning message: In

Re: [R] Labeling plot points

2009-12-10 Thread Doug Hill
Thanks, Greg, downloading now! Doug Greg Snow-2 wrote: There are 2 functions in the development version of the TeachingDemos package (the version on R-forge, not CRAN yet) that do just what you describe. The functions are HWidentify which only works on windows machines and HTKidentify