search for: rf_gpptr

Displaying 11 results from an estimated 11 matches for "rf_gpptr".

Did you mean: rf_dpptr
2003 Feb 28
2
R Graphics Crash Problem
I recently built R 1.6.2 on solaris 2.8 with gcc 3.2. Things seem to run OK, but using graphics causes R to core dump. (For instance, by using the plot() or hist() functions.) Sometimes I can see the graphics drawn before it actually core dumps. The core file shows a crash in Rf_gpptr. I'm quite new to R, so I don't know what info would be helpful for diagnosis. I'm including the gdb dump of the crash. Thanks for any help! B Jones ------------------------------------------- GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, cover...
2004 Mar 22
1
persp(), axis font size
Is there a way to adjust the font size for axis labels when using persp()? The parameter cex works for adjusting the global font size, but I can't seem to make cex.lab or cex.axis work for adjusting these values independently. Or, is there a preferred method for making surface plots in R? I'm using R version 1.8. Thanks, Manuel
2006 Jan 17
1
Font size of axis labels
Hi all, In R, it is not possible to set the font size of axis labels directly (AFAIK). Instead, scaling factors for the font chosen by the graphics device can be supplied. It appears that there is no constant font size for axis labels. My impression is that the axis label font size is scaled internally by R depending on the number of labels given for an axis. In addition to the R-internal
2003 Jun 30
1
symbol size on a plot
Hi, I would like to get from a plot the size of the symbols plotted. Imagine I have the following plot function : plot(1:2,1:2, pch=15, cex=4) I would like the get the values SIZE1 and SIZE2 so that if I plot the following rectangle : rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is exactely the same as the one of the symbols that have been plotted. Thanks for any idea. --
2005 Jun 12
1
y-axis and resizing window
hi using plot(..., las=1), i.e. horizontal axis labels, the labels on the y-axis jams if the heigth of the graphics windov becomes too low while both x-axis and y-axis kind of removes superflus lables with las=0 (default) is there a way to make plot behave alike with horizontal lables? regards s??ren
2005 Mar 30
1
Finding the "height of a line of text" for axis
...er I cannot find out how to convert the into units I can pass into lines(). I thought par("cxy"), but it is too large, as is shown in the code below. Here the red tick marks are longer than the black ones created by axis. I have found the relevant function in plot.c: "GConvertYUnits(Rf_gpptr(dd)->tcl, LINES, NFC, dd);" but can't find the corresponding R function. Can anyone suggest how to find this out, or solve the problem in a different way? # Inward pointing ticks par("tcl"=1) drawticks <- function(at) { # Start of the ticks base<-par("usr"...
2003 Sep 17
1
plot.hclust: dendrogram too large for window (PR#4197)
...dnd_rptr = &(INTEGER(merge)[n]); - ymin = REAL(height)[0]; - ymax = REAL(height)[n - 1]; + ymax = ymin = REAL(height)[0]; + for (i = 1; i < n; i++) { + m = REAL(height)[i]; + if (m > ymax) + ymax = m; + if (m < ymin) + ymin = m; + } pin = Rf_gpptr(dd)->pin[1]; for (i = 0; i < n; i++) { str = STRING_ELT(llabels, i); --please do not edit the information below-- Version: platform = i686-pc-linux-gnu arch = i686 os = linux-gnu system = i686, linux-gnu status = major = 1 minor = 7.1 year = 2003 month = 06 day = 1...
2002 Jun 03
1
symbols: zero radius circles are drawn.
Hi, I don't think this is a bug, but I thought I'd mention it in case others think it is not correct... I guess it is probably just a rounding error. If I use symbols() to draw some circles, any circle with radius of zero gets drawn as a small circle. As an example: postscript(file="test.ps") symbols(1:9, rep(2,9), circles=seq(from=0.05, to=0.0, length=9),
2003 Oct 09
2
R-1.8.0 on Sparc Solaris 8, gcc3.2.1, bus error and core dump (PR#4485)
....8.0/library/tools/libs/tools.so...done. Loaded symbols for /s/src/stat/R-1.8.0/library/tools/libs/tools.so Reading symbols from /usr/lib/nss_files.so.1...done. Loaded symbols for /usr/lib/nss_files.so.1 Reading symbols from /usr/lib/nss_nis.so.1...done. Loaded symbols for /usr/lib/nss_nis.so.1 #0 Rf_gpptr (dd=0xd) at base.c:162 162 if (dd->newDevStruct) (gdb) bt #0 Rf_gpptr (dd=0xd) at base.c:162 #1 0x00092ff4 in setClipRect (x1=0xffbed0e0, y1=0xffbed0d8, x2=0xffbed0d0, y2=0xffbed0c8, coords=1298034561, dd=0xd) at graphics.c:2392 #2 0x0009524c in clipRectCode (x0=11.033191163604547,...
2002 Nov 12
2
Wandering usr values in par(no.readonly=TRUW) (PR#2283)
--==_Exmh_1801894504P Content-Type: text/plain; charset=us-ascii Dear R folks, Initially I had a plotting routine using logarithmic y-axes that failed after repeated calls if I tried to restore the graphical parameters (which I wanted to do because I used `layout' within the routine. I tried to isolate the problem and found out that the following code with logarithmic axis is sufficient for
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...g_her_glyph.lo /usr/bin/cc -shared -L/soft/readline/v4.2.1/lib -o vfonts.so g_alab_her.lo g_cntrlify.lo g_fontdb.lo g_her_glyph.lo -lreadline -ltermcap -lm ld: Warning: Unresolved: R_finite vmaxget vmaxset Rf_GLine Rf_GStrHeight R_setVFontRoutines Rf_GConvert Rf_GConvertXUnits Rf_GConvertYUnits Rf_gpptr R_alloc gmake[5]: Entering directory `/soft/R/R-1.5.1/src/modules/vfonts' gmake[5]: Leaving directory `/soft/R/R-1.5.1/src/modules/vfonts' gmake[4]: Leaving directory `/soft/R/R-1.5.1/src/modules/vfonts' gmake[3]: Leaving directory `/soft/R/R-1.5.1/src/modules/vfonts' gmake[2]: Leav...