From maechler at stat.math.ethz.ch  Tue Jan  4 12:21:42 2005
From: maechler at stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Tue Jan  4 12:21:46 2005
Subject: [Rd] Object Memory-limits in base and its help document (PR#7468)
Message-ID: <20050104112142.F2345EABA@slim.kubism.ku.dk>

>>>>> "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


[Rd] Object Memory-limits in base and its help document (PR#7468)
maechler@stat.math.ethz.ch