R script using X11 window only opens for a second
问题 I'm running an R script via my Linux Mint 16 command line. It contains a boxplot that I want to display in a window. So I'm using x11() function for creating that window. Here is my code: testdata <- data.frame(sample(1:1000,size=100,replace=T), row.names=NULL) colnames(testdata)<-c("data") x11() boxplot(testdata, main="Boxplot der Testdaten", horizontal=TRUE) When I run this function in Rstudio, it will open a window and show the boxplot created. But whenever I run it from the command line