Questions tagged [rgui]
63 questions
0
votes
0 answers
Error in R while trying to Plot a ScatterPlot
I'm trying to plot an scatter plot in R:
plot(cars$Hwy.MPG ~ cars$HP ,col=cars$Cyl , data=cars, pch=8)
and get an error:
Error in plot.xy(xy, type, ...) :
numerical color values must be >= 0, found -1
Cause I have values of '-1' in the column…

user2097810
- 735
- 6
- 17
- 25
0
votes
1 answer
Hook into Rgui console?
Is it possible to change the behaviour of R console such that, for instance
before each command execution a fortune() is printed, or
similar to browser(), the prompt is altered, and some new commands (c,n,Q) are introduced?
I am looking for an…

Karsten W.
- 17,826
- 11
- 69
- 103
-1
votes
3 answers
R programming Pie Chart with mtcars
I need help for creating a pie chart using mtcars$mpg and mtcars$carb. I want to do this; I want to create a pie chart showing the total mpg value for each carburetor. Let me explain more much; In the pie chart, each slice will show the value of the…

src32
- 1
- 1