Displaying 20 results from an estimated 3000 matches similar to: "Help me understand colours on linux"
2007 Oct 15
1
Error: X11 cannot allocate additional graphics colours.
Dear All
Another one I have touched on before with a much older OS and version.
My sessionInfo() is:
> sessionInfo()
R version 2.5.1 (2007-06-27)
i686-redhat-linux-gnu
locale:
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.U
TF-8;LC_MONETARY=en_GB.UTF-8;LC_MESSAGES=en_GB.UTF-8;LC_PAPER=en_GB.UTF-
2004 Sep 21
2
png problem
Dear R-users,
I have a small problem with the function png(), when used with the
argument colortype="pseudo.cube".
> png("toto.png", colortype="pseudo.cube")
> image(matrix(rnorm(10000), 100, 100))
> dev.off()
R is blocked at the last command (R does not
print any prompt after the last command). Nothing is
written in the file (Gimp indicates that the
2006 Feb 08
1
invalid graphics state using dev.print (fwd)
On Mon, 6 Feb 2006 18:12, Simon Urbanek wrote:
> On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote:
>
>> Tried on R-Sig-Mac with no responses, but I need some kind
>> of answer.
>> [...]
>> Does the following work on your system?
>
> Interesting, no, it doesn't either. For png and pdf I use
> Quartz + quartz.save (it produces much nicer results) so
> I
2006 May 09
1
2.3.0 problems
Hi,
Since the installation of R-2.3.0 I have the following problems:
1. Startup
.First() produces
------------------
Started in /home/woodstock/hoffmann/Projects/RtoZ/Windwurf/R with
'~/R/.Rprofile' edited on 2006-04-28, 11:08
During startup - Warning messages:
1: use of NULL environment is deprecated
2: use of NULL environment is deprecated
3: use of NULL environment is
2004 Jun 16
1
start-up problems
Hi,
After some reading and experimentation I found that I cannot solve this
problem:
1.
I am starting R and check:
> system("pwd")
/home/woodstock/hoffmacw/R/test
> system("echo $HOME")
/home/woodstock/hoffmacw
> system("echo $R_PROFILE")
/home/woodstock/hoffmacw/R
> system("ls $R_PROFILE/.Rprofile")
/home/woodstock/hoffmacw/R/.Rprofile
2000 Apr 07
1
x11 colortype problems ('gray' is broken?) (PR#512)
Hi,
I occasionally run out of color in my X11 terminal. At this
point, R will issue this error message:
Error: X11 cannot allocate additional graphics colors.
Consider using colortype="pseudo.cube" or "gray".
An immediate x11(colortype="pseudo.cube") doesn't work as the
colortype seems to be shared among the different x11 plotting windows.
So I have
1999 Apr 09
1
Compilation problems with R-0.64.0
Hi,
I have just tried to upgrade our AIX-machines to R-0.64.0 and encountered
some problems which, I think, are not AIX-specific.
1) The static variable class in "devX11.c" conflicts with a function
class() defined in math.h (using egcs-2.93.11). Therefore compilation
stops with an error message.
2) After renaming class to Visualclass in devX11.c everything looks fine
and an R binary
2001 Aug 23
0
(PR#1065) X11 protocol errors after all x11 devices are
I've fixed the original report and Tom's first. Someone had incorrrectly
arranged for most of the initialization to be done only once per session.
I did ask before 1.3.0 what the intention was .... For pseudocolor devices
at least this was biting since the palette was not re-initialized.
I don't see point two on my system, and Martin's point about interruption
was first shown
2000 Jul 18
5
X11 & dev2bitmap
Hi,
I am trying to put some graphics I have generated from R on a
webpage using dev2bitmap to create a bitmap, .BMP, file.
When I look at my notes from 2 or 3 months ago I was successfully able to
put the ACTIVE device plot result into a bitmap file using a command such
as:
dev2bitmap("InsectSpray.BMP")
Job done!
Now when I try the same command, I get the following:
>
2005 Jun 01
1
x11 and pseudo-color
for some reason the following message seems not to have reached the list
in the first try, at least I can't find it. my apologies if this is my
fault:
we are running R under Solaris with SunRay Terminals, which are set to 8
bit color to comply with some other software. In this configuration,
X11() opens with colortype=true, i.e., it is not recognized that
actually the display is only 8
2006 Sep 12
1
Use of xvfb : X11 cannot allocate additional graphics colors. Consider using colortype="pseudo.cube" or "gray"
Hi,
I use R in remote access on a Debian server.
I need X11() to create graphical things so I use xvfb-run (Virtual X server
environnement) R to allowing X11() capabilities to R.
An other technique is to connect in shh -X to execute my R script.
With the connection ssh -X, my R script is well executed. BUT when I use Xvfb,
some graphics are created but an error occured and stop the script.
2004 Jan 23
0
cmptl_analy.R
Dear Michael,
One key is adjustment of nls optimizer tolerance. I notice it has to be
higher than usual, but, I recovered your noisy "known" parameter values
with an error of K1 (-7%) and k1 (-6%):
#### Miller problem with Dalgaard modifications
## Linares 1/22/2004
## Solution 1
nls(noisy ~ lsoda(xstart, time, one.compartment.model, c(K1=K1,
k2=k2))[,2],
data=C1.lsoda,
1999 Dec 03
1
R-help Digest V1 #34
R-help Digest Friday, December 3 1999 Volume 01 : Number 034
In this issue:
[R] model.tables
Re: [R] Installing R on Slackware Linux
Re: [R] Installing R on Slackware Linux
[R] nlmin
Re: [R] nlmin
Re: [R] nlmin
Re: Summary: [R] Wanted: online Introduction to R
[R] Applying a function of several variables to data
Re: [R] R and XML -- a near perfect
2007 Jun 14
2
Difference between prcomp and cmdscale
I'm looking for someone to explain the difference between these
procedures. The function prcomp() does principal components anaylsis,
and the function cmdscale() does classical multi-dimensional scaling
(also called principal coordinates analysis).
My confusion stems from the fact that they give very similar results:
my.d <- matrix(rnorm(50), ncol=5)
rownames(my.d) <-
2002 Nov 05
1
graphics display problem
Hello all,
I come arcoss a problem that has to do with graphics display in my machine
(Redhat 7.35).
This is what I did. I asked R to do multiple linear regression by:
amodel<-lm(dat[,4]~dat[,1]+dat[,2]+dat[,3])
plot(amodel)
and I got only one figure (residuals vs. the fitted; instead of several
plots), and the following message:
Error in abline (h=0, lty=3,
2001 Dec 09
1
trouble with plotting
I'm trying to use the lattice package (and have run into the message before)
where I will get the following when trying to plot....
Error in clearpage() : Error: X11 cannot allocate additional graphics
colors.
Consider using X11 with colortype="pseudo.cube" or "gray".
What do I need to do to get rid of this so that I can use the graphics
libraries to their fullest
2010 May 14
2
Subscripting a matrix-like object
I have an S3 class called "tis" (Time Indexed Series) which may or may
not have multiple columns. I have a function "[<-.tis" that I've
reproduced below.
My question is this: inside of "[<-.tis", how can I distinguish between
calls of the form
x[i] <- someValue
and
x[i,] <- someValue ?
In either case, nargs() is 3, and looking at the values
2010 May 14
2
Subscripting a matrix-like object
I have an S3 class called "tis" (Time Indexed Series) which may or may
not have multiple columns. I have a function "[<-.tis" that I've
reproduced below.
My question is this: inside of "[<-.tis", how can I distinguish between
calls of the form
x[i] <- someValue
and
x[i,] <- someValue ?
In either case, nargs() is 3, and looking at the values
2007 May 23
2
Fonts do not display properly on Red Hat
Hi
I'm using R version 2.3.1 on Red Hat Enterprise Server 3.
When I run a simple:
plot(1:10,1:10)
The plot comes out great, but the fonts are displayed wrongly:
http://coxpress.sourceforge.net/test.jpg
I realise this is probably not an R problem per se, but before I go
messing about with my fonts, can someone tell me which fonts R (or X11)
is trying to display, where they might be
2006 Mar 26
2
Problem with names() in a plot after ordering a data.frame. Syntax or stupidity?
I am a complete newbie in R .
Using R 2.2.0 Windows XP
This started as a simple exercise to see if I could
produce a simple
Cleveland style dotchart with a line from the '2' axis
to the dot rather
than a continuous line as do "dotchart" and
"dotchart2". At least I could not
find that option.
I got a crude program to work but it includes
unnecessary steps.