See ?Startup for various ways of automatically executing custom code at R start up.
See ?setHook and ?.onLoad for how to run custom code when packages (like grDevices) are loaded. (But Jeff may be able to help you avoid even this if you respond to his queries). Cheers, Bert On Thu, Aug 25, 2022 at 11:11 AM Christofer Bogaso <bogaso.christo...@gmail.com> wrote: > > Hi, > > I am wondering if there is any way to fix the size (i.e. height and > width) of R's graphic device permanently. Every time I open R, and > create my first plot, the default size of the graphic device is fairly > small, and I need to adjust it manually to make it of comfortable > size. > > Any help is really appreciated. > > Thanks for your time. > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.