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
R Console window size
5 messages · Simon Urbanek, Amarjit Chandhial
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
On 3/05/2022, at 7:01 PM, Amarjit Chandhial via R-SIG-Mac <r-sig-mac at r-project.org> wrote: 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-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
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 ------ Original Message ------ From: "Simon Urbanek" <simon.urbanek at R-project.org> To: a.chandhial at btinternet.com Cc: r-sig-mac at r-project.org Sent: Tuesday, 3 May, 2022 At 22:03 Subject: Re: [R-SIG-Mac] R Console window size 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 On 3/05/2022, at 7:01 PM, Amarjit Chandhial via R-SIG-Mac
<r-sig-mac at r-project.org> wrote:
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 _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac <https://stat.ethz.ch/mailman/listinfo/r-sig-mac>
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
On 4/05/2022, at 5:52 PM, Amarjit Chandhial <a.chandhial at btinternet.com> wrote: 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 ------ Original Message ------ From: "Simon Urbanek" <simon.urbanek at R-project.org> To: a.chandhial at btinternet.com Cc: r-sig-mac at r-project.org Sent: Tuesday, 3 May, 2022 At 22:03 Subject: Re: [R-SIG-Mac] R Console window size 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 On 3/05/2022, at 7:01 PM, Amarjit Chandhial via R-SIG-Mac <r-sig-mac at r-project.org> wrote: 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-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
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. Cheers, Amarjit ------ Original Message ------ From: "Simon Urbanek" <simon.urbanek at R-project.org> To: a.chandhial at btinternet.com Cc: r-sig-mac at r-project.org Sent: Wednesday, 4 May, 2022 At 23:45 Subject: Re: [R-SIG-Mac] R Console window size 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 On 4/05/2022, at 5:52 PM, Amarjit Chandhial <a.chandhial at btinternet.com> wrote: 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 ------ Original Message ------ From: "Simon Urbanek" <simon.urbanek at R-project.org> To: a.chandhial at btinternet.com Cc: r-sig-mac at r-project.org Sent: Tuesday, 3 May, 2022 At 22:03 Subject: Re: [R-SIG-Mac] R Console window size 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 On 3/05/2022, at 7:01 PM, Amarjit Chandhial via R-SIG-Mac
<r-sig-mac at r-project.org> wrote:
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 _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac <https://stat.ethz.ch/mailman/listinfo/r-sig-mac>