[R] Troubles plotting lrm output in Design Library

Frank E Harrell Jr f.harrell at vanderbilt.edu
Sat May 31 00:16:41 CEST 2008


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



More information about the R-help mailing list