Skip to content
Prev 311684 / 398503 Next

invalid colour name 'rgb(1.000,0,0)' error

Hello,

Why paste? rgb() is a function, you need its return value, not a 
character string.

r <- rgb(1.000,0,0)

And the rest plots a graph in red.

Hope this helps,

Rui Barradas
Em 23-11-2012 09:06, Manish Gupta escreveu: