Displaying 20 results from an estimated 300 matches similar to: "Problem with postscript graphics device driver"
2009 May 29
1
png() error in recent R-devel on Windows
Hi,
Tested with the latest r-devel snapshot build for Windows (2009-05-28 r48663):
> png("test.png")
Error in png("test.png") : invalid value of 'fillOddEven'
The png() function is defined like this:
> png
function (filename = "Rplot%03d.png", width = 480, height = 480,
units = "px", pointsize = 12, bg = "white", res = NA,
2006 Nov 10
0
typo in hist.Rd (PR#9355)
'Freedman' is misspelled (as 'Friedman') in
src/library/graphics/man/hist.Rd. As a result, the help page currently
implies that
breaks = "Fried"
is a valid argument to hist, but results in an error:
> hist(rnorm(100), breaks = "Fried")
Error in match.arg(tolower(breaks), c("sturges", "fd", "freedman-diaconis", :
2011 Nov 14
1
Problem with edit()
Since installing R 2.14.0 on my Mac (a Mac Pro running 10.6.8) an issue has arisen when using the vi editor in conjunction with the edit() command. More specifically, commented lines disappear from edited functions when using [functionname.R] <- edit().
That is, if you have created a function called “test.func” as such:
function ()
{
# This is a test
ex _ 4
duh <- seq(1, 10)
fuh
2008 Oct 02
0
FW: Why does glusterfs not automatically fix these kinds of problems?
Fwd'ing this since it seems my reply and your response didn't actually go
to the mailing list.
-----Original Message-----
From: Keith Freedman [mailto:freedman at FreeFormIT.com]
Sent: Thursday, October 02, 2008 2:02 PM
To: Will Rouesnel
Subject: RE: [Gluster-users] Why does glusterfs not automatically fix these
kinds of problems?
At 08:47 PM 10/1/2008, you wrote:
>Unison operates on
2008 Jul 20
2
fill in area between 2 lines with a color
Hi - I'd like to have the area between 2 lines on a x-y plot be filled with
grey, but I haven't had
any luck using polygon or rect. (In reality, I'd like to do this for twice
- once for a low group and once for a high group - and then I'd like to plot
a set of data points for a 'normal' group together with these 2 grey areas.)
Here's a simple example of the 2 lines:
2008 Feb 10
1
Using 'sapply' and 'by' in one function
Greetings,
I'm having a problem with something that I think is very simple - I'd
like to be able to use the 'sapply' and 'by' functions in 1 function
to be able (for example) to get regression coefficients from multiple
models by a grouping variable. I think that I'm missing something
that is probably obvious to experienced users.
Here's a simple (trivial)
2009 Mar 24
1
segfault when running heatmap()
Hi, I was wondering if someone in the mailing list has any insight into this
segfault error that I consistently find when running a script containing
heatmap() in R 2.8.1 and 2.8.0 on a Linux 64-bit machine.
Some points:
1. This occurs when running heatmap().
2. Interestingly, if I source() the script or copy and paste the script in
its entirety, this error occurs. However, if I run the
2005 Dec 16
0
Fwd: Fun with TrippLite
Hi Jonathan and Charles,
yes, the Tripp-Lite HID subdriver was under development. I started it
based on the debug output posted by somebody on this list a few weeks
ago, but then I either didn't get the information I needed, or got too
busy to act on it.
That driver is still incomplete, in the sense that there are many
unmapped device variables.
Jonathan, if you run this driver, could you
2006 May 06
1
Fwd: Fun with TrippLite
Hi Charles and Jonathan,
I am going through my over 300 unread NUT messages, and I just
discovered this one from mid-December. At the time, I was trying to
clean up the tripplite subdriver of newhidups, but never got the
information I needed. I have enabled this driver now, but it is marked
"experimental". The driver is still incomplete, in the sense that
there are many unmapped device
2010 Nov 29
3
data.frame and formula classes of aggregate
Hi - I apologize for the 2nd post, but I think my question from a few weeks
ago may have been overlooked on a Friday afternoon.
I might be missing something very obvious, but is it widely known that the
aggregate function handles missing values differently depending if a data
frame or a formula is the first argument ? For example,
(d<- data.frame(sex=rep(0:1,each=3),
2002 Mar 01
3
Setting working directory (PR#1338)
Full_Name: Jeffrey M. Freedman
Version: 1.4.1
OS: Mac OSX
Submission from: (NULL) (169.226.200.51)
I'm running R version 1.4.1 (NOT DARWIN VERSION) and it crashes every time I set
a working directory (either from the menu or using setwd) to a path that is
longer than a certain number of characters. This was not a problem in version
1.3.1.
Thank you.
2004 Nov 09
2
3.0.8 build failure OS X 10.3.6
I am trying to build 3.0.8 Release on OS X Server 10.3.6 as the latest
version of samba installed with the 10.3.6 update (3.0.5) has broken
our backup strategy which has a Windows server backing up SAMBA/SMB
volumes ( this issue is noted in Dantz Retrospect KB and the solution
is to upgrade to SAMBA 3.0.6+). We use the OS X server as a PDC.
After a ./configure; make
Using FLAGS = -O
2009 Mar 07
2
piecewise linear regression
Hi - I'd like to construct and plot the percents by year in a small data set
(d) that has values between 1988 and 2007. I'd like to have a breakpoint
(buy no discontinuity) at 1996. Is there a better way to do this than in
the code below?
> d
year percent se
1 1988 30.6 0.32
2 1989 31.5 0.31
3 1990 30.9 0.30
4 1991 30.6 0.28
5 1992 29.3 0.25
6 1994 30.3
2010 Feb 04
1
replace a for loop with lapply or relative
Dear helpers.
I often need to make dichotomous variables out of continuous ones (yes, I
realize the problems with throwing away much of the information), but I then
like to check the min and max of each category. I have the following simple
code to do this that cuts each variable (x1,x2,x3) at the 90th percentile,
and then prints the min and max of each category:
2005 Dec 15
1
Fun with TrippLite
Hey
I recently picked up a couple SMART1000LCD TrippLite UPS's. These are
similar to other usb ups's that have been mentioned on the list in the
past few months. I tried a few patches posted last month and got some
amount of success. That being said, I am thus far unable to get much love
from the actual upsd itself. Any pointers in terms of what I may need to
change or what help I can
2009 May 01
2
sequence number for 'long format'
Dear R-help list,
I've got a data set in long format - each subject can have several (varying
in number) measurements, with each record representing one measurement. I
want to assign a sequence number to each measurement, starting at 1 for a
person's first measurement. I can do this with the by function, but there
must be an easier way.
Here's my code - id is id number, age is
2010 Apr 27
5
get means of elements of 5 matrices in a list
I've got a list of 5 matrices that are each 5 x 6. I'd like to end up with a
5 x 6 matrix that contains the mean value of the 5 original matrices. I can
do this by brute force, but there must be a better way than making each
matrix into a vector and then remaking a matrix
thanks very much for any help
david freedman
ll=list(structure(c(9.7, 17.6, 20.8, 24.1, 33.8, 14.5, 25.7, 29.8,
2009 May 25
3
long format - find age when another variable is first 'high'
Dear R,
I've got a data frame with children examined multiple times and at various
ages. I'm trying to find the first age at which another variable
(LDL-Cholesterol) is >= 130 mg/dL; for some children, this may never happen.
I can do this with transformBy and ddply, but with 10,000 different
children, these functions take some time on my PCs - is there a faster way
to do this in R?
2010 May 06
4
sample size for survival curves
Dear R users, I am not asking questions specifically on R, but I know there are many statistical experts here in the R community, so here it goes my questions:
Freedman (1982) propose an approximation of sample size/power calculation based on log-rank test using the formula below (This is what nQuery does):
(Z(1-?/side)+Z(power))^2*(hazard.ratio+1)^2
N =
2004 Feb 15
4
father and son heights
Faraway's book titled "Practical Regression and Anova using R",
with full text available online at:
http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf
refers to a data set, stat500, which compares midterm and final
grades. It can be used to illustrate similar concepts.
A google search for faraway.zip will locate the actual data.
---
Date: Sun, 15 Feb 2004 10:37:08 -0800