similar to: RE: [R] SAS or R software

Displaying 20 results from an estimated 10000 matches similar to: "RE: [R] SAS or R software"

2004 Dec 20
1
mono fonts (was RE: RE: [R] SAS or R software)
Ah, I'm using Exceed Hummingbird 7.1 as the X server.... It does have fixed width fonts, and it is happy with variable width fonts up to this extreme .... A little more fiddling shows that this succeds with a linux based X11 server, and that even plot(1,1) par(family="mono",cex=8) text(1,1,"foo") segfaults. I've tested values of cex. Anything above 2.1249
2004 Dec 21
0
mono fonts (was RE: RE: [R] SAS or R software)
> > > > I've tested values of cex. Anything above 2.1249 seems to > segfault. > > > The X11 device works pretty hard to find a font to use and if > it really > can't find anything it should throw an error, not segfault. Are you > able to debug this and see where it is failing? I haven't had time to get gdb correctly pointed at a source tree
2004 Dec 20
1
RE: [R] SAS or R software
What version of GCC? We user GCC 3.4.0. -G > -----Original Message----- > From: Marc Schwartz [mailto:MSchwartz@MedAnalytics.com] > Sent: Monday, December 20, 2004 4:30 PM > To: Warnes, Gregory R > Cc: Paul Murrell; Jain, Nitin; R-Devel; Frank E Harrell Jr > Subject: RE: [Rd] RE: [R] SAS or R software > > > On Mon, 2004-12-20 at 16:13 -0500, Warnes, Gregory R wrote:
2007 Nov 07
1
strwidth and strheight for rotated text
Dear All, I would like to plot text with a box around it. I used strwidth and strheight to compute the size of the box which is plotted with rect: z <- rnorm(10) # horizontal text works plot(rnorm(10)) x1 <- 5 y1 <- 0 label <- "Label" cha <- paste(" ", label, " ", sep = "") xh <- strwidth(cha, cex = par("cex")) yh <-
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543, height=11.69291) but strwidth() and strheight() give wrong results. > x11(width=42/2.54, height=29.7/2.54, pointsize=12) > plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="", axes=FALSE) > strwidth("Whatever") [1] 0.08471151 > # Now resize the window and
2000 Nov 08
1
Graphics-Device-Size vs. Window-Size
I want to layout on screen a graphic bigger than the screen (width=16.53543, height=11.69291) but strwidth() and strheight() give wrong results. > x11(width=42/2.54, height=29.7/2.54, pointsize=12) > plot(1,1, type="n", xlim=c(0, 1), ylim=c(-1, 0), xlab="", ylab="", axes=FALSE) > strwidth("Whatever") [1] 0.08471151 > # Now resize the window and
2004 Dec 20
1
RE: [R] SAS or R software
> -----Original Message----- > From: Frank E Harrell Jr [mailto:f.harrell@vanderbilt.edu] ... > This is neat Greg. Just installed the latest gregmisc. Do you > automatically used fixed width fonts for this, for alignment > of columns? Unfortunately, I haven't found any way to select fixed-width fonts, so I convert the character vector into a matrix of individual characters
2002 Sep 03
1
Properly initializing a plot
I have many functions for high-level plotting that early on in their code do something like strwidth('string', units='inches') before plotting. I do this before plot() to set the correct margins with par(mai=...), to leave room for wide text on the left or right margins. If the plotting device is not opened strwidth( ) causes an error that plot.new() needs to be called. I can
2004 Sep 14
1
documentation error par("cin") and par("cra") (PR#7227)
Dear all, the help of par() claims that cin and cra are c(width, height) but it appears to be rather c(height, width) Best regards Jens Oehlschl?gel > plot.new() > strheight("W", unit="inches") [1] 0.1354167 > par("cin") [1] 0.1354167 0.1875000 > version _ platform i386-pc-mingw32 arch i386 os mingw32
2005 Jun 11
1
Wishlist: strwidth allow for rotation of text (PR#7931)
Hi, This is not a bug, but an enhancement suggestion. "strwidth" only gives the width of the text according to the x-axis user coordinates, and similarly for "strheight". Even if the par setting "srt" is changed to rotate the text, the resulting width (resp. height) is in terms of the non-rotated text. Currently, if I want to know how much space to leave for
2005 Oct 07
2
Text in Boxes?
It's probably a beginner's question: How do I show text in boxes? That is, can I specify a background color for text output with text() ? The following doesn't work as I would expect: text(labels="123", 50, 0.5, bg="green") I've experimented with legend(),which will make the box too wide, and also with rect(), which doesn't know the extent of the text
2010 Jul 22
5
legend in R plot
Hi all, I am have some difficulty with the legend function. I need to add a legend to describe the different line types in a plot. The legend box is small. It did not include sufficient length of each line type to help distinguish the differnt line types. Is there a way to fix this. Thank you Hannah [[alternative HTML version deleted]]
2000 Apr 18
1
strheight() crashes without opened device (PR#524)
My mistake, but also a bug. I did not open a device and called strheight("X"). ==> R crashed ...\rgui --vanilla [...] > strwidth("X") Error in strwidth("X") : plot.new has not been called yet (OK.) > strheight("X") R crashed. (Happens also on Solaris.) Regards, Uwe Ligges --please do not edit the information below-- Version: platform =
2010 Aug 18
3
mtext coordinates
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20100818/5f203714/attachment.pl>
2007 Jan 24
4
Text position in Traditional Graphics
R 2.4.1 on Windows XP. Question: In traditional graphics, is it possible to find out the height of a line of text in units that can be used in arithmetic and then in calls to text()? Context: I have written a function that draws a plot and then, depending on whether some arguments are TRUE or FALSE, draws various lines of text in the plot. The text lines may be turned on or off individually
2009 Sep 11
3
Barplot+Table
I am trying to automate a report that my company does every couple of years for the state of Maine. In the past we have used SPSS to run the data and then used complicated Excel template to make the tables/graphics which we then imported into Word. Since there are 256 tables/graphics for this report, this work flow is a little painful. I would like to automate the process and I think I can do
2000 Dec 28
1
some (may be related) problems with windows(rescale=) (PR#794)
############################################################################### Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version. Happy New Year Jens Oehlschlaegel ###############################################################################
2004 Nov 20
1
Error with strwidth after lattice graphic drawn
In platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 2 minor 0.1 year 2004 month 11 day 15 language R I'm getting an error when using strwidth after a lattice graphic is drawn: library(lattice) xyplot(runif(20) ~ runif(20)) strwidth('xxx') Error in strwidth("xxx") : invalid graphics state Any help
2007 Jan 17
1
How to annotate a graph with non-transparent math labels?
I do not know the precise language to describe the situation. But here it is what I want to do. I need to annotate a graph that contains two or more curves with labels that contain math symbols. The label must go on top of the curve. The problem is that when I annotate the plot, I can see the curve behind the label. Here it is an example using a simple straight line. x<-c(0,1)
2001 May 24
2
New Package: gregmisc
I've thrown a couple of useful functions into a new package "gregmisc" and uploaded them to ftp://ftp.ci.tuwien.ac.at/incoming/gregmisc_0.1.1.tgz Here's DESCRIPTION: Package: gregmisc Description: Misc Functions written/maintained by Gregory R. Warnes Title: Greg's Miscellaneous Functions Version: 0.1 Date: 2001/05/24 Depends: R Maintainer: Gregory R. Warnes