[R] Converting shell("cd") to a string

2008-09-26 Thread Arthur Roberts
Hi, all, Is there an R-command that will convert shell("cd") to a string, so that I can use it in the paste() command? Much appreciated, Art __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the postin

[R] Is there a way to add external variables to axis labels?

2008-09-24 Thread Arthur Roberts
Hi, all, Thanks for all your help in the previous emails. Question 1: Is there a way to use external variables in the axis labels? Question 2: Is there a way to make this variable subscript? Much appreciated, Art Roberts University of Washington __

[R] Is there a single command that can revert all the plotting parameters to default?

2008-09-24 Thread Arthur Roberts
Hi, all, This might be a stupid question. Is there a single command in R that can revert parameters to default? It is much appreciated. Best wishes, Art Roberts University of Washington __ R-help@r-project.org mailing list https://stat.ethz.ch/ma

[R] How to execute external programs with R?

2008-09-22 Thread Arthur Roberts
Hi, all, Could anyone give me advise on who the execute external programs with R? It would be greatly appreciated. Art Roberts University of Washington. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

[R] changing the text offset for axis labels

2008-09-22 Thread Arthur Roberts
Hi, all, I was wondering if there is a way to change the offset of axis labels from the axis. In other words, I need the axis labels closer to the acis than the default. Thanks for the help. Best wishes, Art Roberts University of Washington Seattle, WA ___

Re: [R] creating overall title for plots made with par(mfrow=c(2, 2))

2008-08-06 Thread Arthur Roberts
Dear Mark, I asked a similar question, yesterday. The answer is: par(mfrow=c(1,2),oma=c(0,0,2,0)) plot(x) plot(x) title("My Title", outer=TRUE) You need to set up a margin for the title and set the title to outer. I hope this helps. Best wishes, Art On Aug 5, 2008, at 4:05 PM, Mark Kimpe

[R] I have an array of plots and I would like to put a title on the whole array.

2008-08-04 Thread Arthur Roberts
Hi, all, Does anyone know of a way to get a title on an array of plots? I have tried to use title, mtext, and text to get the title on the array, but to no avail. I would like something like the following. title("Big Array") par(mfrow=c(2,4)) plot(x1,y1) plot(x2,y2) .. .. .. Much apprec

[R] I installed ImageMagick via fink and port, but R can't seem to find it.

2008-08-04 Thread Arthur Roberts
Hi, all, I have been trying to use adimpro. I have installed ImageMagick via fink and also through MacPorts. I have tried them installed separately and together, but R can't seem to recognize that they are there. Perhaps, a Mac user out there that also uses R would be able to help. Mu

[R] Is there any way to make pretty tables in R to pdf?

2008-08-04 Thread Arthur Roberts
Hi, all, All your comments have been very useful. I was wondering if there was a package that can make pretty R tables to pdf. I guess I could use xtable, but I would like something a little more elegant. Your input is greatly appreciated. Best wishes, Art

[R] Are there any guis out there, which will allow editing of the graph?

2008-08-04 Thread Arthur Roberts
Hi, all, I would like to know if there is any gui interface out there (academic or commercial) that allows one to edit R-language generated graphs (e.g positioning x axis labels.) It would be nice to have something like the user interface of Igor or Origin. I have already used JGR and

[R] How do I get an inset graph (i.e. graph within a graph)?

2008-08-03 Thread Arthur Roberts
Hi, all, How do I get an inset graph (i.e. graph within a graph)? Your input is greatly appreciated. Best wishes, Art University of Washington Department of Medicinal Chemistry __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/list

[R] Is there anyway to clip the bottom of a barplot?

2008-07-28 Thread Arthur Roberts
Hi, all, I need to show only values in a barplot from say 4-12. When I do this, values below 4 are not cutoff. I would appreciate any input into how I could cut the bottom part of the bar off. Best wishes, Art Roberts University of Washington Department of Medicinal Chemistry ___

[R] Is there way to multiple plots on gap.plot?

2008-07-28 Thread Arthur Roberts
Hi, all, Does anyone now of a way to put multiple plots on gap.plot? Much appreciated, Art __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html a

[R] Are there any packages that can process images other than pixelmap (i.e. pnm)?

2008-07-27 Thread Arthur Roberts
Hi, all, I am having trouble getting R to take pnm images via mogrify i.e. mogrify -resize 320x217 -format pnm *.png However R via pixmap says that it can't read the file. If you have any ideas like a package that can read jpeg files, etc., I would appreciate it. Best wishes, Art Robert

[R] Bug in gap.plot

2008-07-24 Thread Arthur Roberts
Hi, all I am trying to make a plot with a axis break and I want the whole plot to be line, not points. However, when I execute the following command half of the graph is points and the other lines. gap.plot(Xdata, Ydata,gap=c(5,6),gap.axis="x",type="l") I think it might be a bug in plotri

[R] Installing R packages in Textmate

2008-07-24 Thread Arthur Roberts
To Whom It May Concern: I need to use various packages in R and I also want to use Textmate. Problem 1: Textmate doesn't seem to recognize the packages that are already installed on R. Problem 2: When I execute the following command: install.packages("ade4", repos="http://cran.r-project.o

[R] Integrating R and Textmate

2008-07-24 Thread Arthur Roberts
To Whom It May Concern: I need to use various packages in R and I also want to use Textmate. Problem 1: Textmate doesn't seem to recognize the packages that are already installed on R. Problem 2: When I execute the following command: install.packages("ade4", repos="http://cran.r-project.o