Displaying 20 results from an estimated 1000 matches similar to: "Rd problems when converting DVI version"
2005 Jan 05
8
Replacing all NA values in a matrix
OK, dumb question, and it is probably in the docs somewhere, but after
12 months working with R and quite a while looking at the docs, I still
don't know (or have forgotten) how to replace all NA values in a matrix
at once with some other value. I can do it column by column using
is.na(), but I can't figure out how to do it for the whole matrix. My
apologies, I am ashamed ;-)
Michael
2004 Nov 16
3
Simple plot() question
Hi
First a simple question to do with plot(). How do I change the x-axis
labels on a plot?
For example, I am plotting each row of a matrix, and I want each row to
be a line on my graph. Simple really. Eg:
plot(sg[1,], type="l")
When I do this, the x-axis is labelled 1:38, as I have 38 columns in my
matrix. When I do:
plot(sg[1,order(sg[1,])], type="l")
Ideally I would
2004 Dec 10
4
cbind() and factors.
Hi
I'm seeing some "odd" behaviour with cbind(). My code is:
> cat <- read.table("cogs_category.txt", sep="\t", header=TRUE,
quote=NULL, colClasses="character")
> colnames(cat)
[1] "Code" "Description"
> is.factor(cat$Code)
[1] FALSE
> is.factor(cat$Description)
[1] FALSE
> is.factor(rainbow(nrow(cat)))
[1]
2003 Jul 07
1
Xvfb and R
Hi
I have recently installed and implemented Xvfb (X virtual frame buffer) so that I can create jpegs using R over CGI (SUSE Linux 8.1 and Apache 1.3).
I have noticed that in order to do this, a file (Rplots.ps) is created in my cgi-bin directory everytime a cgi script is run. This could cause problems though as I have a multi-user system where it is possible that two different users will run
2004 May 19
7
Help with hclust() and plot()
Hi
When I use plot(hclust(dist..)...)...) etc to create a dendrogram of a
hierarchial cluster analysis, I end up with a vertical tree. What do I
need to do to get a horizontal tree?
Also, my users are used to seeing trees who's leaves all "end" at the
same place (eg. Like in minitab). Is this possible in R?
Thanks
Mick
Michael Watson
Head of Informatics
Institute for Animal
2003 Jun 13
4
Using jpeg() function over cgi
Hi
I have seen a few posts to this list regarding problems accessing the x11() device over cgi - namely, when trying to create a graphic using the jpeg() function, everything is fine from the command line but it won't work over cgi, producing the error:
"Unable to open connection to X11 display"
Has anyone actually solved this particular problem satisfactorily?
Please reply
2008 Aug 05
1
Greek characters in plots
Hi
I am running an R script that creates 100s of graphs, and I need to use
the greek CAPITAL letter delta in the mtext() function.
I got as far as expression(delta) but this gives me the lowercase
version.
Can anyone help? I'm using R 2.7 on Windows XP
Mick
Head of Informatics
Institute for Animal Health
Compton
Berks
RG20 7NN
01635 578411
2005 May 05
0
Wilcoxon paired signed rank test and continuity correction
Hi
I am applying the wilcoxon paired signed rank test to many sub-groups of
a data frame using by() and wilcox.test, and sometimes the test uses
continuity correction and sometimes it doesn't. What I want to know is:
1) what is continuity correction? The docs say:
correct: a logical indicating whether to apply continuity correction
in the normal approximation for the p-value.
2008 Aug 07
1
Mtext doesn't display characters in italic when I use a greek symbol
Following on from my previous mail!
plot(1:10,1:10)
mtext("title", side=3, adj=0, font=3, cex=1.5)
This works as expected and puts the font in italics.
tag <- "A)"
suffix <- "genea::"
plot(1:10,1:10)
mtext(bquote(.(tag) ~ Delta * .(suffix)), side=3, adj=0, font=3,
cex=1.5)
Here, the font isn't in italics, it's normal.
I presume this is some
2005 Jan 05
0
AW: Replacing all NA values in a matrix
Replacing the NA?s with eg. 1 :
> a
1 2 3 4
1 20 50 10 80
2 NA 19 NA 49
3 NA 32 NA 61
4 45 101 44 190
a[try(is.na(a)) == TRUE] <- 1
> a
1 2 3 4
1 20 50 10 80
2 1 19 1 49
3 1 32 1 61
4 45 101 44 190
I this can help you,
Matthias
> -----Urspr?ngliche Nachricht-----
> Von: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at
2003 Jul 03
1
General X11 Problems
Hi
You may remember a while ago I was having problems with creating jpegs using R over CGI. I solved this on my LAPTOP (*grins*) by
- executing "xhost +localhost" from the command line
- putting "SetEnv DISPLAY=:0.0" in my httpd.conf (apache)
And all worked well. Now I'm trying to move the whole system onto my shiny new server - and encountering yet more problems
2018 Nov 04
13
[Bug 108651] New: Screen flickering when using compositor with OpenGL backend
https://bugs.freedesktop.org/show_bug.cgi?id=108651
Bug ID: 108651
Summary: Screen flickering when using compositor with OpenGL
backend
Product: Mesa
Version: unspecified
Hardware: All
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2010 Apr 29
2
Cloning very slow?
Yesterday I cloned one of my VMs and, somewhat implausibly, it took
virt-clone something like 8-9 hours to clone the 8Gb disk image...
Copying it from the command line took a mere 6.5 minutes.
I assume this is a bug, and it's not expected to take this long ;-)
This was using virt-clone from python-virtinst-0.500.2-1.fc12.noarch in
the virt-preview repository.
Tom
--
Tom Hughes (tom at
2013 Aug 22
4
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
On Wed, 2013-08-21 at 23:59 -0700, Dmitri Gribenko wrote:
> On Wed, Aug 21, 2013 at 11:04 PM, Steven Newbury <steve at snewbury.org.uk> wrote:
> > I've been trying
> > to get x32 ABI support working in Clang and compiler-rt, I based off the
> > previous clang patch, bringing it up to date with the changes in trunk,
> > and hacked together handling of x32
2010 Oct 13
2
total newbie issue with Cortado player using new java 1.6.0_22
is anybody else having problems with the new java 1.6.0.22 ?
i am tried both cortado-ovt-debug and cortado-ovtk-debug - neither seem to work
anymore once i installed the new java. once i go back to the old java 21
everything works fine.
my jar file downloads for console messages (below) came from:
http://downloads.xiph.org/releases/cortado/cortado-ovtk-debug-0.6.0.jar
i have included
2013 Aug 22
0
[LLVMdev] [NEW PATCH] X32 ABI support for Clang/compiler-rt (Clang patch)
On Thu, 2013-08-22 at 15:22 +0100, Steven Newbury wrote:
> This patch is still not creating elf32_x86_64 objects. No idea
> why. :( It does however, fix elf_x86_64 (-m64) code generation on x32
> hosts which is nice. :)
I know why. I had assumed Michael Liao (the original patch author) had
submitted all the _LLVM_ x32 support as separate patches, and it was
just the
2018 May 10
2
Video troubles after 7.5 upgrade using CR repo
Hi,
Our desktop clients are running CentOS 7 with the Xfce desktop from
EPEL. The CR repository is enabled. A few days ago I launched an update,
which brought in close to 1 GB of packages.
I had some weird problems on two clients. One is an old Dell Optiplex
330 with a legacy video card.
[root at cybermule:/] # lspci | grep -i vga
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc.
2019 Jan 21
7
[Bug 109407] New: GTX 1050 fails to initialise acceleration
https://bugs.freedesktop.org/show_bug.cgi?id=109407
Bug ID: 109407
Summary: GTX 1050 fails to initialise acceleration
Product: xorg
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
Assignee: nouveau at
2004 Jun 22
3
Regression Modeling query
Hi All
I received a raw data set with one record per tennis player (both male and
female) and then i cured it by aggregation i.e by 4 age groups, 2 gender
levels and 6 income levels. Gender and Income are categorical variables.
Please advise me how to use 'R' to model this data set (Actually, i want to
know the right regression technique and steps to do that, including removing
2013 Aug 22
0
[LLVMdev] [RFC PATCH] X32 ABI support for Clang/compiler-rt
On Thu, Aug 22, 2013 at 11:23 AM, Steven Newbury <steve at snewbury.org.uk>wrote:
> On Wed, 2013-08-21 at 23:59 -0700, Dmitri Gribenko wrote:
> > On Wed, Aug 21, 2013 at 11:04 PM, Steven Newbury <steve at snewbury.org.uk>
> wrote:
> > > I've been trying
> > > to get x32 ABI support working in Clang and compiler-rt, I based off
> the
> > >