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

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Tue Jan 4 12:21:42 CET 2005

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

    BDR> On Tue, 4 Jan 2005 mase at is.titech.ac.jp wrote:
    >> Full_Name: Shigeru Mase Version: 2.0.1 OS: Linux (Debian)
    >> Submission from: (NULL) (
    >> 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

More information about the R-devel mailing list