[R] Debug package options

Keith S Weintraub kw1958 at gmail.com
Tue Mar 31 17:40:14 CEST 2015

Thanks for the help.

Since I am the only person using this machine and I couldn’t figure out where to put the option statement aside from:
    C:\Program Files\R\R-3.1.2\etc
In the file Rprofile.site

The option that I wanted was:
options(debug.font = "Consolas 12”)

Which allowed me to have the right size font and Tk window to be able to do debugging using the debug package.

In case you are interested I use Windows 7 on my Mac via Parallels.

Thanks again,

> On Mar 30, 2015, at 2:05 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
> On 30/03/2015 1:50 PM, Keith S Weintraub wrote:
>> Folks,
>> I would like change some of the options for the Tk window that pops up when using the debug package.
>> I know how to change the options: e.g. options(debug.font = "Courier 12 italic”).
>> Is there a way to “preset” these in my environment so when debug starts up I have all the options set up the way I want them?
>> Do I do this in a .First file? Does the .First file have to load the debug package every time I start up R?
>> No need to do my work for me. Just point me to the right doc.
> See the ?Startup help topic.  You probably want to use one of the
> profile files rather than .First, because .First needs to be in a
> workspace, and you shouldn't be loading a workspace every time.
> Duncan Murdoch

More information about the R-help mailing list