[R] Plots for lmrob function

varin sacha varinsacha at yahoo.fr
Fri May 20 17:28:22 CEST 2016


Dear R-helpers,

I have fitted a robust regression using lmrob function from robustbase package. I try to get the different plots for diagnostics of residuals and others. I can't get them, a window opens but nothing appears on it (the window remains white, no graph appears) and I get this error messages.


Here is a small reproducible example


a=c(1231,1415,1256,3242,3121,1567)
b=c(12,34.3,43.5,23.5,12,54.3)
c=c(23,56,73,21,34,45)
d=c(43,11,15,65,76,34)
library("robustbase")
fit=lmrob(a~b+c+d)
plot(fit,plot=all)

Erreur dans plot.new() : attempt to plot on null device

I have an open device :
dev.cur()

null device 
1 

How can I solve my problem and finally get the different required plots ?


Best
S



More information about the R-help mailing list