Displaying 20 results from an estimated 4000 matches similar to: "mapping of colornames into hsv?"
2000 Mar 29
1
pre summary: mapping of colornames into hsv?
Hi Martin,
Great that you follow this. My original intention was to be able to
translate colornames to hsv because this would allow using colornames to cut
out a certain part of the colorwheel for colorcoding (HSV component H, see
my code below)
I think internally we might have colors represented as
Colornames, ColorIntegers, ColorHexcodes, ColorRGBs, ColorHSVs (ColorCMYs?)
however the R-user
2000 Feb 29
0
mapping of colornames into hsv: half way done
Ok,
now we have the mapping of color names to color codes (see below) and
conversion to rgb (something like Ben Bolker's function), but how to convert
rgb to hsv?
Thanks to Brian Ripley, Peter Dalgaard and Ben Bolker
Details below
Regards
Jens
etc/colors.big maps 455 names to rgb in S syntax
etc/rgb.txt maps 657 names to rgb in C syntax, but unlike colors() it has
mixed upper and
2000 Dec 15
1
Colour to RGB value?
There are a lot of ways to specify colours in R plot functions (number
from the palette, by name, etc.). I'd like to pass a colour from an R
function to an external function, and I'd like it to have the same
flexibility. To avoid having to interpret all possible colour
specifications myself, I need a function to convert a general colour
specification into a standard form (e.g. r,g,b
2000 Jun 27
2
R as a server in client server computing
I like to have a continuously running R process, which can receive a
dataframe from a client (over TCP/IP), does some processing, and sends some
data back. What is the prefered way to do this? Using the socket interface?
Using omega's CORBA stuff?
Does anyone has example code for doing so?
Thanks for any help
Regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
Analyse
MD FACTORY GmbH
Gr?nstr. 15
2000 Mar 08
2
possible BUG with as.data.frame() and/or [.data.frame
Here is a possible BUG with as.data.frame() and/or [.data.frame which broke
Michael Lapsleys RODBC-Code.
Can anyone confirm it is a bug or a 'feature' of the prototype?
tablename <- "abc"
a <- as.data.frame(cbind("abc", 1:3))
b <- as.data.frame(cbind(tablename, 1:3))
# ok
> a
V1 V2
1 abc 1
2 abc 2
3 abc 3
# missing column name
> b
tablename
1
2000 Feb 11
1
new chron problems in RW0990
Dear all,
In RW0901 I could
> dates("01/01/2000")
[1] 01/01/100
where only the printing was wrong, but the double numeric representation of
the chron object was calculated correctly
but now in RW0990
> dates("01/01/2000")
Error in fun(yy, ...) : must be 2-digit (numeric) year specification
and also the followig doesn't help
> dates("01/01/2000",
2000 Jan 26
1
data.frame[1,1]<- differs from data.frame[[1]][1]<- (PR#403)
I observed the following difference:
> ddd <- data.frame(a=1:3, b=1:3)
# assignment of 'X' silently ignored
> ddd[1,1] <- 'X'
> is.factor(ddd[[1]])
[1] FALSE
> ddd
a b
1 1 1
2 2 2
3 3 3
# assignment of 'X' not ignored
> ddd[[1]][1] <- 'X'
> is.factor(ddd[[1]])
[1] TRUE
> ddd
a b
1 X 1
2 2 2
3 3 3
Regards
> version
1999 Dec 20
1
Manual: writing R Extensions (PR#380)
-- Happy holidays! --
Dear R Development Core Team,
I want to thank you *very much* for the new "Writing R Extensions" manual
published with RW0.901 and hope this is the right place to report some
possible typos.
page 17, example given in the middle of the page, I think it should read
REAL(version) = 3.0;
^^^^^^^
page 23, second example, I think the parameter definition
1999 Dec 23
1
data.frame(I(matrix)) ? (PR#388)
I observe dificulties with using data.frame(I(matrix))
> mat <- matrix(letters, 2, 2)
> dimnames(mat) <- list(c(1:2), c("x","y"))
> mat
x y
1 "a" "c"
2 "b" "d"
> dd <- data.frame(I(mat))
> ddd
I.mat..x I.mat..y
1 a a
2 b b
3 c c
doesn't look too bad,
but,
has
2000 Feb 11
1
astonishing memory phenomenon
I have a question concerning memory.
I understood that R takes a fixed amount of memory at startup (which I can
influence with --vsize --nsize) and that gc() shows the memory still free of
the total memory reserved for R.
However, if I create a long vector of character data, gc() only seem to
reflect the space needed for a vector of pointers to char, the space used
for the character data itself
1999 Dec 21
3
BUG in format()? (PR#383)
In RW0.651 and RW0.901,
I discovered some unexpected behaviour when I used as.matrix.data.frame()
> matrix('"', 2, 2)
[,1] [,2]
[1,] "\"" "\""
[2,] "\"" "\""
> unclass(as.data.frame(matrix('"', 2, 2)))
$V1
[1] "\"" "\""
$V2
[1] "\"" "\""
1999 Nov 12
1
some related problems
I just tried to batch-start rgui.exe (not rterm.exe) in a way, that it
read.table()s data from a file with changing filename. As I understand no
command line parameters are available for that, so instead I tried to pass
the filename to an approbriate .RProfile, which works roughly, BUT
## this is my %R_USER%\.RProfile
im <- read.table("d:/temp/im/temp.csv", header=TRUE,
2000 May 23
2
Suggestion for comments in data files (i.e. read.table)
I realise that there is an existing system for documenting datasets
but what I would like is to be able to whack a few lines of commentary
at the top of a file which contains data -- not full documentation but
just an outline for myself to remind me of what I was doing or what
settings I was using, etc.
I was thinking that the read.table() function might be extended to
support an option allowing
2009 Aug 06
2
making scatter plot points fill semi-transparent
hi all,
i have a simple scatter plot, and i'd like to make it so the scatter
plot colors are slightly transparent. i see in a previous post that
someone mentioned the "alpha" parameter, but i am not sure how it can
be used with the 'plot' function [*].
for example, suppose i have:
plot(mydata$column1, mydata$column2, col="red", cex=1)
i now want to make it so
1999 Nov 10
1
read.table problems
Yesterday I asked for help about read.table with a CSV file. I
received the following help. As always many thanks for the prompt
responses. Now I load my csv file in a text editor ( pfe) and delete
all spaces.
My original mail is at the end.
From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
Do you have spaces before the commas in your file?
> Yes, number , space,
1999 Nov 10
1
read.table problems
Yesterday I asked for help about read.table with a CSV file. I
received the following help. As always many thanks for the prompt
responses. Now I load my csv file in a text editor ( pfe) and delete
all spaces.
My original mail is at the end.
From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
Do you have spaces before the commas in your file?
> Yes, number , space,
2006 Aug 01
2
rgb and col2rgb color conversion/modification/shading
I want to get a lighter shade of a color...I have a lot of colored objects and
want each one printed as a foreground against a slightly lighter background.
I thought I could try something like changing the alpha channel by first
converting it to rgb.
But prior to trying that, I'm stuck with how to get the color after converting
using col2rgb() to be interpreted again as a color, rather than
1999 Oct 04
1
SQL-Interface
Can anyone give advice how to interactively exchange data between R and
SQL-Databases like DB2, ORACLE, MS-SQL-Server ?
If the answer is: 'currently not', this would be information for me as well.
I will summarize to the list.
Best regards
--
Dr. Jens Oehlschl?gel-Akiyoshi
MD FACTORY GmbH
Bayerstrasse 21
80335 M?nchen
Tel.: 089 545 28-27
Fax.: 089 545 28-10
http://www.mdfactory.de
2003 Feb 24
1
hsv producing a color intensity not in [0,1] (PR#2576)
Full_Name: Jae Choi
Version: 1.6.1
OS: linux (x86)
Submission from: (NULL) (142.176.61.245)
Hello,
Any attempts to access the "hsv" function returns the following type of error:
Error in hsv(h = seq(start, ifelse(start > end, 1, 0) + end, length = n)%%1, :
color intensity 1.25, not in [0,1]
(the above was generated from the demo command:
> pie(rep(1, 24), col =
2004 Oct 17
1
FW: Plotcorr: colour the ellipses to emphasize the differences
-----Original Message-----
From: Duncan Murdoch [mailto:murdoch at stats.uwo.ca]
Sent: ned 2004-10-17 15:34
To: Gorjanc Gregor
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Plotcorr: colour the ellipses to emphasize the differences
On Sun, 17 Oct 2004 02:51:58 +0200, "Gorjanc Gregor"
<Gregor.Gorjanc at bfro.uni-lj.si> wrote:
[removed old stuff]
>>I would also like to