[R-SIG-Mac] R Console window size

0 views
Skip to first unread message

Amarjit Chandhial via R-SIG-Mac

unread,
May 3, 2022, 3:03:28 AM5/3/22
to r-si...@r-project.org


Hi,


A general question:

Regarding the size of R Console screen. to adjust the size I can Toolbar
-> Window -> Zoom or Minimize, buta I can also adjust manually. Is there
a way to restore the default size?


thanks,
Amarjit



[[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
R-SI...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Simon Urbanek

unread,
May 3, 2022, 5:03:47 PM5/3/22
to a.cha...@btinternet.com, r-si...@r-project.org
Amarjit,

no, there is no shortcut to restore the font size to its default. It is probably a good idea to add such a shortcut (typically <Cmd><0>). The default size (11pt) is only used if your preferences don't say otherwise, so you can remove or change the preferences. To reset the default console font you can close R and run

defaults delete org.R-project.R "R Console default font"

in Terminal. Analogously, for the editor font you can use

defaults delete org.R-project.R "R Script Editor default font"

Cheers,
Simon

Amarjit Chandhial via R-SIG-Mac

unread,
May 4, 2022, 1:52:49 AM5/4/22
to Simon Urbanek, r-si...@r-project.org




Hi Simon,


Not the font size to its default, but the R Console.

To adjust the size, I can:
Toolbar -> Window -> Zoom, and R Console will maximise to the left.
To restore:
Toolbar -> Window -> Zoom, and R Console will adjust back to the right.

However, if I adjust the size of the R Console via the corners, how do I
restore R Console to the default size?


Cheers,
Amarjit
<https://stat.ethz.ch/mailman/listinfo/r-sig-mac>

Simon Urbanek

unread,
May 4, 2022, 6:45:43 PM5/4/22
to a.cha...@btinternet.com, r-si...@r-project.org
Amarjit,

ah, ok, if I parse your request correctly then

defaults delete org.R-project.R "NSWindow Frame R Console Output.txt"

should reset the default position and size of the console window for the next start.

FWIW you can simply delete/rename ~/Library/Preferences/org.R-project.R.plist if you want to reset all defaults.

Cheers,
Simon

Amarjit Chandhial via R-SIG-Mac

unread,
May 5, 2022, 2:55:51 AM5/5/22
to Simon Urbanek, r-si...@r-project.org





Hi Simon,


Unfortunately, neither of those work.


If I adjust R Console, then Toolbar -> R -> Quit R

Open terminal and type

defaults delete org.R-project.R "NSWindow Frame R Console Output.txt"

then click on R icon, R Console opens but at the adjusted size, not the
default size.


Alternatively, if type

delete/rename ~/Library/Preferences/org.R-project.R.plist

in the terminal, I get

No such file or directory.



Please advise.
<https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
Reply all
Reply to author
Forward
0 new messages