Displaying 20 results from an estimated 2000 matches similar to: "rgl.postscript{rgl} crashes R"
2006 Nov 27
2
[R-sig-Geo] plot() and Jpeg() increase font size and resolution
Thanks to Edzer and Roger,
I can now plot with increased font sizes. However, jpeg still does not
reproduce these, nor does it show up in high quality. What I would like
to do is produce some highresolution jpegs.
Any help would be appreciated
Thanx
Herry
R2.4 on Mandriva 10.2 linux.
Dr Alexander Herr
Spatial and statistical analyst
CSIRO, Sustainable Ecosystems
Davies Laboratory,
University
2007 Jun 14
1
blotched y-axis text in plot function
Hi List,
I have recently upgraded to opensuse10.2 and R 2.5 (compiled from
source). Now, whenever I use plot the y-axis and labels are black
blotches while x-axis and labels are fine.
Using demo(graphics) this occurs with plot/boxplot/hist/pairs/coplot but
not in the pie graphs and in the "The level of Interest in R" plot,
which uses axis to define the y-axis.
I presume this has to
2007 May 18
1
error: GLX extension missing on server
Hi List,
when loading library(rgl) I get error "RGL: GLX extension missing on
server". I have Mesa and xgl installed, but xgl info sais its an highly
experimental code. Does this mean I shouldn't bother for a while with
opengl or are there alternatives?
Any help appreciated
Thanx
Herry
R 2.4.1 on x86_64 opensuse 10.2
Dr Alexander Herr - Herry
Spatial and statistical analyst
2006 Nov 24
2
plot() and Jpeg() increase font size and resolution
Dear list,
I am having troubles increasing the fontize when plotting a
variogram{gstat} and its model (vgm) with plot and using jpeg(). Also
the resolution in the jpeg call does not work. I am using R2.4 on
Mandriva 10.2 linux.
I can change fontsize with cex.axis in a normal plot, so I presume it
has to do with plotting the variogram model. Any help on how to increase
the font size and
2007 Aug 31
0
FW: sapply to return factors in dataframe
Ahhrg List,
there was a hitch in the previous code. Updated and functional version
follows after my initial question:
I am trying to randomise a dataframe with mixed factors/numeric
variables and return a new (randomised) dataframe with the same columns
(as factors/numeric).
simgap<-function(x) {
ma<-max(x)
mi<-min(x)
Xout<-runif(length(x),min=mi,max=ma)
return(Xout) }
2004 Apr 20
1
Error while loading R2HTML in Rprofile
Hi List,
When loading library(R2HTML) in Rprofile I get the following error:
Error in firstlib(which.lib.loc, package) :
couldn't find function "ps.options"
Error in library(R2HTML) : .First.lib failed
[Previously saved workspace restored]
% ps.options is there
% Loading the library from the command prompt works fine, other libraries load fine through Rprofile.
% This
2006 Dec 18
2
surface3d grid from xyz dataframe
Hi List,
I am trying to plot a grid with an overlayed height. I have a dataframe
with four variables:
x,y,gridvalue,height. The dataframe has 2.5mio observations (ie grid
points),
I assign colors through the gridvalue using map_color_gradient thus
producing:
x,y,gridvalue,height,gridcol as variables of the dataframe. The grid
dimensions are 1253 x 2001 (=2507253 data points).
My attempts with
2003 Sep 11
1
Customised legend in lattice
Hi List,
Am trying to customize a legend in trellis: Draws 2x5 lines in 5 colors and
2 linetypes. I would like to add two more items to the legend showing the
key for the line types above the colored legend.
Any suggestions welcome - thanks Herry
#############################
#Following example code:
library(gregmisc)
trellis.device(bg="white")
i1=0
i2=-1.89767506
i3=-1.17087085
2002 Dec 18
3
summary stats including NA's into new dataframe
List,
I am trying to extract summary statistics from a data frame with several
variables (and NAs) into a dataframe with the columns: Variablename (ie the
colnames of original data), mean, stdev, max, min, Valid N, Missing Values.
Extracting the statistics is straightforward using stack and aggregate.
However, I haven''t succeeded in obtaining the number of Missing Values. I
can extract
2005 May 24
2
Basic matematical functions with NAs
Dear All,
I've tried to sum columns -- different species of flowers, fruits plus twigs -- with NAs to get litterfall/trap, and then after use litterfall to calculate production (litterfall (grams)/ hectare/ day. But R 'sees' litterfall/trap as a string.
My question: How to use basic mathematical functions to deal with NAs in data management.
Example (as you can note I have many
2011 Nov 18
1
Delete Rows Dynamically Within a Loop
Ok guys, as requested, I will add more info so that you understand why a
simple vector operation is not possible. It's not easy to explain in few
words but let's see. I have a huge amount of points over a 2D space.
I divide my space in a grid with a given resolution,say, 100m. The main loop
that I am not sure if it's mandatory or not (any alternative is welcomed) is
to go through EACH
1999 Apr 10
2
IRIX compile (PR#163)
Full_Name: Tim Middelkoop
Version: 0.64.0
OS: IRIX 6.3 on O2
Submission from: (NULL) (128.119.88.192)
Various IRIX complile issues
src/nmath/pnt.c
IRIX cc does not like double negatives
Makeconf,config.site,etc/Makeconf
f77 pic hack, should change Makeconf.in or other...
change -PIC with -KPIC
enjoy, tim...
===
diff -ru orig/R-0.64.0/src/nmath/pnt.c R-0.64.0/src/nmath/pnt.c
---
2008 Jun 14
1
qt with ncp>37.62
help(qt) states that:
"ncp non-centrality parameter delta; currently except for rt(), only for
abs(ncp) <= 37.62"
so I would expect that calling qt with non-centrality parameter exceeding
37.62 should fail, instead e.g. calling
> mapply(function(x) qt(p = 0.9, df = 55, ncp = x),35:45)
gives:
[1] 40.21448 41.35293 42.49164 43.68862 44.82945 45.97048 47.11170 48.25310
[9]
1999 Apr 12
1
compiling R-0.64.0 on DEC osf4.0
Dear all,
Compiling R-0.64.0 on DEC osf4.0 has the following error message
(earlier version was OK).
cc -ieee_with_inexact -g -I../include -I../../src/include -c pnf.c -o pnf.o
cc -ieee_with_inexact -g -I../include -I../../src/include -c pnt.c -o pnt.o
cc: Error: pnt.c, line 83: In this statement, "1021" is not an lvalue, but occurs in a context that requires one.
if (df >
2009 Feb 07
3
Re-post data format question (apologies)
Hello all,
I have a *.csv file that looks like this (actual file is orders of magnitude
larger):
Site taxa no.ind
forest LMA 1
forest LCY 1
forest SCO 1
meadow LMA 2
meadow LCY 1
meadow PNT
2007 Mar 21
3
question on suppressing error messages with Rmath library
Dear list,
I have been using the Rmath library for quite a while: in the current instance, I am calling dnt (non-central t density function) repeatedly for several million. When the argument is small, I get the warning message:
full precision was not achieved in 'pnt'
which is nothing unexpected. (The density calls pnt, if you look at the function dnt.) However, to have this happen a
2006 Apr 01
0
Winbind and email server]
okay, im far from a pam expert, but i don't see any mention of winbind there?
It's my weekend at the moment so i can't get to my test box at work to
show you my pam module using winbind, but maybe you should check out this
page on my website, it's using ldap try and use this and replace any
mention of ldap with winbind
http://www.yourhowto.org/content/view/35/9/
or
i have a
2003 Jan 13
2
summarizing dataframe
Hi Listers,
Surely, I just have a mental block and there is a more elegant way of
creating a summary count (other than extracing it from ftable). I''d like to
create a new data.frame containing counts of spell by loc ie have three
columns showing spell,loc,count. Below the data.frame...
Any help appreciated
Thanks Herry
spell loc
101 Parts 1
102 Overall 2
105 Parts 1
106
2008 May 13
1
Catching warning message(stdout) from C
I'm using the 'pnt' C function from Rmath library in some C-code.
How can I catch the warning message: "full precision was not achieved in
'pnt'" in R. I call the function using the .C().
(options(warn=-1) didn't work)
Thanks in advance
--
Maarten van Iterson
Center for Human and Clinical Genetics
Leiden University Medical Center (LUMC)
Research Building,
2004 Apr 29
1
R-crash using read.shape (maptools)
Hi List,
I am trying to read a large shapefile (~37,000 polys) using read.shape [winxp, 1gig ram, dellbox). I receive the following error:
AppName: rgui.exe AppVer: 1.90.30412.0 ModName: maptools.dll
ModVer: 1.90.30412.0 Offset: 0000309d
The getinfo.shape returns info, and the shapefile is readable in arcmap.
Any ideas on how to overcome this?
Thanks Herry