Re: [Rd] Object Memory-limits in base and its help document (PR#7468)

From: <maechler_at_stat.math.ethz.ch>
Date: Tue 04 Jan 2005 - 22:21:42 EST


>>>>> "BDR" == Prof Brian Ripley <ripley@stats.ox.ac.uk> >>>>> on Tue, 4 Jan 2005 10:51:40 +0000 (GMT) writes:

    BDR> On Tue, 4 Jan 2005 mase@is.titech.ac.jp wrote:
>> Full_Name: Shigeru Mase Version: 2.0.1 OS: Linux (Debian)
>> Submission from: (NULL) (222.149.162.192)
>>
>>
>> help.search("Mem") shows there is an object
>> "Memory-limits" in the base package.

    BDR> No. It shows there is a *help* document     BDR> "Memory-limits":

    BDR> Help files with alias or concept or title matching     BDR> 'Mem' using regular expression matching:

    BDR> Memory-limits(base) Memory Limits in R

    BDR> Try help("Memory-limits"), and see ?help.

>> But commads "Memory-limits", or "Memory-limits()", causes
>> an error message: Error: Object "Memory" not found. In
>> addition, help(Memory-limits) displays the document for
>> Arithmetic.

    BDR> As is should, for that is an arithmetical operation.

well, but it doesn't do that in R 2.0.1 (proper or patched) both on Debian or Redhat [in a terminal:]

  > help(Memory-limits)
  No documentation for 'Memory - limits' in specified packages and libraries:   you could try 'help.search("Memory - limits")'

whereas in ESS, it actually does what Shigero Mase expected, since ESS has it's own {not entirely correct either!} magic handling of help().

Martin Maechler



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Jan 04 21:40:14 2005

This archive was generated by hypermail 2.1.8 : Tue 04 Jan 2005 - 23:18:47 EST