Re: [R] debug R device plot

2011-05-23 Thread cameron.bracken
Not sure if you ever figured this out, but I was just directed to this post. You need to look for a file (it may not be in your project directory) that contains "___LOCK" in its file name and delete it. filehash creates this to prevent multiple writes to the same file at the same time and somehow

Re: [R] boxplot( ) headers with Greek letters, values, and text

2009-08-03 Thread cameron.bracken
Johnson, Roger W. wrote: > > Any suggestions on how I can produce the same title using the boxplot > command? > If you use LaTeX you could try the tikzDevice package ( https://r-forge.r-project.org/projects/tikzdevice/ ). In that case you would use: main = paste('\\mu =',mu,', \\lambda =',la

Re: [R] Getting file name from pdf device?

2009-07-31 Thread cameron.bracken
Rainer M Krug-6 wrote: > > Hi > > IU would like to modify the dev.off function, so that it automatically > compresses the created pdf. > I am thinking of doing the following in the modified dev.off: > > 1) Get the filename of the pdf device > 2) close the device by calling the original dev.of

Re: [R] xtable formatting: RED for negative numbers?

2009-07-29 Thread cameron.bracken
Ken-JP wrote: > > Is there a way to modify this code to generate RED numbers inside xtable > for > negative results in x.ts? > This post would probably have been better for R-help. Anyway, you can do it easily by modifying print.xtable.R in the xtable package. If it is easier, make a copy o

Re: [R] Computer Modern

2009-07-24 Thread cameron.bracken
Mr Derik wrote: > > I am trying to use computer modern fonts in postscript files for a latex > document. Ultimately I want to automate this through sweave. > Hi There- I admit this is shameless self promotion but might I suggest the tikzDevice package. I am one of the developers and we jus

Re: [R] Sweave: Howto write real TeX formula in plot

2009-05-15 Thread cameron.bracken
cls59 wrote: > > install.packages('pgfSweave',repos='http://www.rforge.net') > For others that are not on Linux. I would suggest using the r-forge site for binary installation. The binaries on rforge.net are not completely up to date in some cases. install.packages("pgfSweave", repos="http:/

Re: [R] PGF Device

2009-05-07 Thread cameron.bracken
baptiste auguie-2 wrote: > > I think the pgfSweave project on R-forge is working on this (as far as > i know it currently relies on eps2pgf) > Hi- I am one of the developers of pgfSweave. This is correct, pgfSweave currently relies on eps2pgf. Our goal for the summer is to develop a pgf d

Re: [R] postscript printer breaking up long strings

2009-04-30 Thread cameron.bracken
Ted.Harding-2 wrote: > > In the graph shown in your URL above, the xlab and the ylab > appear in their entirety, unbroken. So does the one plotted > in the middle of the graph. I get the same when I run your code. > Hi- I am one of the developers of pgfSweave. The problem (although it is con

Re: [R] changing Swaeve output settings for .pdf and .eps - is there a way?

2009-04-17 Thread cameron.bracken
Duncan Murdoch-2 wrote: > > There are other ways to control the size: it isn't always 80%. I > normally use something like \setkeys{Gin}{width=0.75\textwidth} to control > it. You can reset this a > number of times in the same document. (Read the LaTeX docs for graphicx > to see the other

Re: [R] changing Swaeve output settings for .pdf and .eps - is there a way?

2009-04-16 Thread cameron.bracken
markheckmann wrote: > > The pdf() settings do not affect Sweave settings when producing a .pdf > graphic. How can I change the Sweave default settings to e.g. 3 inch? > Also, even if you set the width of your plot to 3 inches, the plot will be expanded to 80% of the textwidth by default. To

Re: [R] I want to use Sweave, but only sometimes

2009-04-13 Thread cameron.bracken
P.S. pgfSweave does include "caching" of figures as a feature. See the vignette for details. -- View this message in context: http://www.nabble.com/I-want-to-use-Sweave%2C-but-only-sometimes-tp23026260p23033731.html Sent from the R help mailing list archive at Nabble.com.

Re: [R] I want to use Sweave, but only sometimes

2009-04-13 Thread cameron.bracken
cls59 wrote: > > Currently pgfSweave is only available from rforge.net and is very much in > beta. > Well, that said, you can install the latest build using: install.packages("pgfSweave", repos="http://R-Forge.R-project.org";) then for the documentation: ?pgfSweave AND vignette("pgf

Re: [R] Sweave

2009-02-03 Thread cameron.bracken
Kjetil Halvorsen wrote: > > The other problem refered to above comes from this source lines: > > bubble(NURE.orig, "ppm", col = c("#00ff0088", "#00ff0088")) > You may have to escape the # character (i.e. put \# instead). I know this must be done for backslashes. -- View this message in con

Re: [R] using Sweave with a master file that has several iputted .tex files

2009-01-28 Thread cameron.bracken
Mark Wardle wrote: > > Using make means a "build" for a single chapter is cached unless the > source file > changes and so one can see the results of changes to one source file > almost immediately. > The pgfSweave package is specifically designed for speeding up the compilation time in large

[R] Calling a jar file with rJava

2009-01-25 Thread cameron.bracken
I want to call the jar file from R. I want to be able to do this without using system(). Normally a command line call would look like java -jar eps2pgf.jar -m directcopy myfile.eps My question is: Can I call this program using the rJava package or any other (command line options and all)? I