Displaying 20 results from an estimated 2000 matches similar to: "(no subject)"
2003 Sep 13
1
(no subject)
Dear all,
for an interactive web application i need to produce a lot of graphics (up
to 50) on demand.
In the moment i'm using the png format.
The png()
...using png(file="Rplot%03d.png", ...); 'plots' ; dev.off()...
produces very good graphics. The problem is it takes too long to produce the
png files.
The bitmap()
...using bitmap(file="Rplot%03d.png",
2003 Sep 16
7
Retrieve ... argument values
Dear R users,
I want to retrieve "..." argument values within a function. Here is a small
exmaple:
myfunc <- function(x, ...)
{
if (hasArg(ylim)) a <- ylim
plot(x, ...)
}
x <- rnorm(100)
myfunc(x, ylim=c(-0.5, 0.5))
Error in myfunc(x, ylim = c(-0.5, 0.5)) : Object "ylim" not found
>
I need to retrieve values of "ylim" (if it is defined
2005 Apr 20
2
Package under R 2.1.0: package.rds
Hi everybody,
I have trouble installing my own package under R 2.1.0 (it is fine under R
2.0.1). My OS is Windows NT.
I installed my package 'mag' by using menu "Packages/Install package from
local zip files....". It's fine (html package description was updated). But
when I typed in library(mag) it gave me error:
Error in library(mag) : there is no package called
2003 Aug 06
1
Standard error of standard deviation: bootstrap or theoretical results?
Dear R users,
This is more a statistical question rather than an R question. I'd
appreciate it if you can give me some suggestions.
I have a sample of a time series (sample size 500, fat tail in density). I
am trying to calculate the Standard error of standard deviation of a
sub-block-sample (sample size 250). I take 100 this kind of
sub-block-sample, randomly. For these 100 subsamples, I
2005 Apr 21
1
Installing packages from source code
Hi everybody,
I have trouble in installing packages from source code by following Section
5.1 in manual R-admin.pdf . I am using R 2.1.0 and Win NT.
Following the Windows toolset section in the manual, I download the tool
set package from: http://www.murdoch-sutherland.com/Rtools/tools.zip
and unzip under C:\tools
I also downloaded Perl (Windows Port) and installed it.
2003 Jan 15
1
Least Absolute Deviation
Dear all,
I try to fit least absolute deviation (LAD) regression with R. I couldn't
find any command to carry out LAD. What I am doing now is using nlm() and
setting the function argument to minimize the sum of the absolute
deviation. But for some data it keeps giving out the error message: Error
in nlm(absdev, b.start) : non-finite value supplied by nlm. (there is no na
in my dataset.)
I
2004 Oct 18
2
答复: How to draw x-axis time label.
Thank you for helping me!
I try the "pretty" funtion to select the x-axis position value.Then I use the "format" funtion.
xax.pos <- pretty(as.numeric(x$x.name))
format(xax.pos,'%d %b %y')
> xax.pos
[1] 1091600000 1091800000 1092000000 1092200000 1092400000 1092600000 1092800000
[8] 1093000000
There are something wrong. I found the xax.pos has been changed to
2002 Nov 25
1
library help files
Dear all,
I am writing my small working library. I have done most of the work and it
seems working well in R. The library name appears in the package list when
I type help.start().
Now my problem is about the help files. I have done help file in Rd format
and translated it to HTML format (I have a subdirectory (named html) with
html file in it and a subdirectory (named help) with .Rd files in
2004 Aug 24
1
error when unsubscribe (PR#7198)
Full_Name: Huan Huang
Version: 1.9.1
OS: Win NT
Submission from: (NULL) (155.140.122.227)
Traceback:
Traceback (most recent call last):
File "/scratch/local/app/mailman-sfs/2.1.5/scripts/driver", line 87, in
run_main
main()
File "/scratch/local/app/mailman-sfs/2.1.5/Mailman/Cgi/options.py", line 91,
in main
language = cgidata.getvalue('language')
File
2004 Nov 30
1
bitmap (blank image) plot rendering without X11
Hi,
I am trying to generate plots on our unix (no X) server to be included
in our web-pages -> specifically pngs.
Without X, png() obviously doesn't work, so I have been trying to define
the graphics print device bitmap as described in the help:
> bitmap(file="plot.png", type = "png256", height = 6, width=6,res=72)
> pie(c(12,5))
>
2004 Oct 19
0
答复: 答复: 答复: How to draw x-axis time label.
Thank you !
I run your code. It have a graph with time(date) on x-axis. Thank you very much!
Well, Would you like to do me a favor again?
Most of times, the x-axis time data is lasted about 3 months. They are too much. I must select some of them marking in x-axis,and they are must reasonable and human-readable. Now I have tried the "pretty " function, But as soon as I run it, the
2006 Jun 06
3
Suspicious behaviour of sort on POSIXct vectors in R-2.3.0 and R-2.3.1
Hi ,
When I sort a vector of POSIXct values in R-2.3.0 and R-2.3.1, I get a
vector of numeric values and this gets some of my code to crash (class
object creation). Is that a R bug?
In the mean time. I'll try to override the sort function for the POSIXct
objects.
Thanks,
Patrick Gu?vel
Head of quantitative research for electronic trading
This message and any attachments (the
2006 Jun 06
3
Suspicious behaviour of sort on POSIXct vectors in R-2.3.0 and R-2.3.1
Hi ,
When I sort a vector of POSIXct values in R-2.3.0 and R-2.3.1, I get a
vector of numeric values and this gets some of my code to crash (class
object creation). Is that a R bug?
In the mean time. I'll try to override the sort function for the POSIXct
objects.
Thanks,
Patrick Gu?vel
Head of quantitative research for electronic trading
This message and any attachments (the
2018 Jun 22
2
Q: how can I request to add an upstream patch to resolve a core dump issue?
UPDATE: It turned out QEMU still dumped core with that patch applied.
That said, I'm still interested to know how to report issues with QEMU from centos-virt repo.
Thanks,
Ray
> -----Original Message-----
> From: Xiong, Huan
> Sent: 2018?6?22? 11:12
> To: 'centos-virt at centos.org' <centos-virt at centos.org>
> Subject: Q: how can I request to add an upstream
2010 Oct 22
1
Display list redraw incomplete when exporting plots
I was just wondering if anyone knows what could be the problem with my
exporting of plots.
Below is the error messages I get when trying to export my plots (all error
messages at the same time).
I do get a file produced which works but I don't know why these messages
appear. Doesn't matter if it is a pdf or a png or any other format I export
to.
Also, when exporting to png I get
2017 May 30
2
[Gluster-Maintainers] [Gluster-devel] Backport for "Add back socket for polling of events immediately..."
----- Original Message -----
> From: "Zhang Huan" <zhanghuan at open-fs.com>
> To: "Raghavendra G" <raghavendra at gluster.com>
> Cc: "GlusterFS Maintainers" <maintainers at gluster.org>, "Gluster Devel" <gluster-devel at gluster.org>, "Kaushal Madappa"
> <kmadappa at redhat.com>
> Sent: Tuesday, May 30,
2005 Aug 15
1
png and resolution (PR#8066)
Full_Name: Knut krueger
Version: 2.1.1
OS: xp Home
Submission from: (NULL) (149.225.134.34)
In the png function the value res seems to be inactive:
bmp(filename = "c:/r/Rplot%03d.bmp", width = 1920, height = 1920, pointsize =
48, bg = "white", res = 2400)
result:
witdh/heigth = 1920 <> 20.32 mm
ppi=2400
Results as expected
png(filename =
2009 Aug 11
1
Generating R plots via Ruby CGI
Greetings,
I'm trying to debug a simple two-line plot routine in R called test.R:
cor(swiss)
plot(swiss$Catholic, swiss$Examination)
These commands work fine when typed into R. They also work fine when
I invoke this routine by the following line into my terminal:
R --slave < /Library/WebServer/Documents/gsa/test.R
My ultimate goal is to send data to this R routine via a web
2005 Jul 23
1
"%03d" in the pdf command
The pdf man page contains the following text:
pdf(file = ifelse(onefile, "Rplots.pdf", "Rplot%03d.pdf"),
width = 6, height = 6, onefile = TRUE, family = "Helvetica",
title = "R Graphics Output", fonts = NULL, version = "1.1",
paper, encoding, bg, fg, pointsize)
I am creating multi-page graphics in which each
2008 May 26
2
R 2.7.0: pdf() > pdf.options versus formals
Hi,
I have a tiny question about the graphics change in R 2.7.0.
If I write a script ? la:
options(device="pdf")
formals(pdf)[c("file","onefile","width","height")] <- list("~/Rplot
%03d.pdf", FALSE, 8, 8)
plot(3)
plot(4)
both plots will be written into ONE pdf file. (not two as expected)
This worked fine under 2.6.x
In R 2.7.0 I