[R] R plot window in screen of computer

Rui Barradas ru|pb@rr@d@@ @end|ng |rom @@po@pt
Fri May 2 09:56:13 CEST 2025


Às 16:27 de 01/05/2025, Jorge Conrado Conforte escreveu:
> Hi,
> 
> I'm starting use R. I always use the IDL and Python, to visualize my plot
> data and I use these commands:
> 
> IDL
> 
> window,xsize=500,ysize=500
> 
> 
> Python
> 
> plt.figure(figsize=(12,9))
> 
> I would like to know if R has a similar command to plot my figure on the
> computer screen.
> 
> Thanks,
> 
> Conrado
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Hello,

Yes, R has similar commands (plural). Try


# documentation on graphics devices
help("Devices")
# what your build of R has available
capabilities()


# try two graphics devices
windows(12, 9)
plot(1:10)

X11(width = 12, height = 9)
plot(1:10)


Hope this helps,

Rui Barradas


-- 
Este e-mail foi analisado pelo software antivírus AVG para verificar a presença de vírus.
www.avg.com



More information about the R-help mailing list