From jeff.horner at vanderbilt.edu  Mon Apr 16 18:23:16 2007
From: jeff.horner at vanderbilt.edu (Jeffrey Horner)
Date: Mon, 16 Apr 2007 11:23:16 -0500
Subject: [Rd] Documentation bug for sys.parent
Message-ID: <4623A2F4.6030705@vanderbilt.edu>

In R-trunk version 41191, the 'Value' section of sys.parent.Rd explains 
that sys.parent() returns an environment, which is wrong. The 'Details' 
sections explains that it returns the number of the parent frame, etc. 
Here's a fix:

Index: src/library/base/man/sys.parent.Rd
===================================================================
--- src/library/base/man/sys.parent.Rd  (revision 41191)
+++ src/library/base/man/sys.parent.Rd  (working copy)
@@ -81,8 +81,8 @@
  }
  \value{
    \code{sys.call} returns a call, \code{sys.function} a function
-  definition, and \code{sys.frame}, \code{sys.parent} and
-  \code{parent.frame} return an environment.
+  definition, and \code{sys.frame} and \code{parent.frame} return an
+  environment.

    For the other functions, see the Details section.
  }

Best,

Jeff
-- 
http://biostat.mc.vanderbilt.edu/JeffreyHorner



[Rd] Documentation bug for sys.parent
Jeffrey Horner