Re: [R] Troubles plotting lrm output in Design Library

From: Frank E Harrell Jr <f.harrell_at_vanderbilt.edu>
Date: Fri, 30 May 2008 17:16:41 -0500

Prof Brian Ripley wrote:

> On Fri, 30 May 2008, Patrizio Frederic wrote:
> 

>>> Thanks for the solution. But I wish someone would tell us why the
>>> solution
>>> makes sense. If you have changed your R environment in any way from the
>>> defaults please let us know.
>>>
>>> Frank
>>>
>>> --
>>> Frank E Harrell Jr Professor and Chair School of Medicine
>>> Department of Biostatistics Vanderbilt University
>>>
>>
>> dear Harrell and R users,
>> It took me several hours to figure out. I apologize it was my mistake.
>> Few month ago a modified copy of .Options was created in Rprofile (I
>> don't remember why). The copy masked the alias .Options created by
>> options().
>> Now everything is fixed. Now I know how .Options and options are
>> related one each other. Sorry for wasting your time.
>> Thank you for your help.
> 
> This is an infelicity in Design and Hmisc (and a few other packages), in 
> that they do look at the first visible .Options.  R itself only looks at 
> the copy in the symbol table (which also appears in the base namespace).
> 

I hadn't thought of that. Thanks Brian. I think of .Options$foo as being faster. Is there a preferred approach other than options('foo')?

Thanks
Frank

-- 
Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________
R-help_at_r-project.org mailing list
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.
Received on Mon 02 Jun 2008 - 06:06:04 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 02 Jun 2008 - 06:30:42 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive