Disable plot display in R

后端 未结 2 1043
小鲜肉
小鲜肉 2021-01-23 03:47

I am trying to turn off the display of plot in R.

I read Disable GUI, graphics devices in R but the only solution given is to write the plot to a file.

What if I

2条回答
  •  不知归路
    2021-01-23 04:15

    You can wrap the call in

    pdf(file = NULL)
    

    and

    dev.off()
    

    This sends all the output to a null file which effectively hides it.

提交回复
热议问题