[R] Rdindex truncating titles?

Duncan Murdoch murdoch.duncan at gmail.com
Mon Nov 8 01:24:02 CET 2010


On 07/11/2010 6:55 PM, Rolf Turner wrote:
>
>
> On 8/11/2010, at 12:39 PM, Duncan Murdoch wrote:
>
> 	<SNIP>
>
>> I think you need to give us the source to look at to see what's going on.
>>
>> Duncan Murdoch
>
> The same phenomenon can be observed for my Iso package which is available
> from CRAN.  The diff results for Iso are like so:
>
>> diff INDEX Lib/Iso/INDEX
>> 3,5c3,5
>> <                          order isotonic regression of a set of data.
>> <  ufit                    Calculate an -- or the optimal -- unimodal
>> <                          isotonic regression of a set of data.
>> ---
>>>                          order isotonic
>>> ufit                    Calculate an - or the optimal - unimodal
>>>                          isotonic regression of a set
>

In this case I think it is being truncated to fit.  The docs do say to 
limit the length of titles to 65 characters if possible; this is one 
place where it matters.  Your other examples looked shorter, but now I 
look again, maybe we weren't seeing all the lines?

I think the 65 character limit is coming from an HTML standard or 
recommendation.  The title shown in a browser can't be arbitrarily long. 
  Perhaps we could use a longer version of your title in the index; I 
forget exactly where the truncation takes place.

Duncan Murdoch



More information about the R-help mailing list