saving . . . saved r pogram data frame has been deleted. r pogram data frame has been hidden .
r pogram data frame
Title
Question
plot(captaincy $names,captaincy $played)
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf


how to do plot in view mode

R Introduction-to-Data-Frames-in-R 06-07 min 50-60 sec 27-04-20, 12:35 p.m. nileshkavankar13@gmail.com

Answers:

Generally, RStudio has four windows: Source, Console, Environment, and Plots. If the Plots window has been minimized, the plot would not be generated. Please ensure that you have Plots windows enabled.  
27-04-20, 12:38 p.m. sudhakarst
all 4 window are open and wide.
still these errors appear
Error in plot.window(...) : need finite 'xlim' values
In addition: Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) : NAs introduced by coercion
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max; returning -Inf
01-05-20, 4:39 p.m. askdypit@gmail.com

Login to add comment


Another possible cause of this message is attempting to use character values as X or Y data.In this case , captain names falls into the character values criteria. So use
plot(factor(captaincy$names),captaincy$played)
08-10-20, 9:59 p.m. DVB


Even I faced similar problem but using plot(factor(captaincy$names),captaincy$played)plotted the data
07-12-20, 3:37 p.m. Joohi


Log-in to answer to this question.