require(plotrix)
?emptyspace # Find the largest empty space on a plot
Это пример со страницы справки:
x<-rnorm(100)
y<-rnorm(100)
plot(x,y,main="Find the empty space",xlab="X",ylab="Y")
es<-plotrix::emptyspace(x,y)
# use a transparent background so that any overplotted points are shown
plotrix::boxed.labels(es,labels="Here is the\nempty space",bg="transparent")