Martin, that was it. Thanks. Dave
From:
Martin Morgan
To:
David L Lorenz
Cc:
r-devel@r-project.org
Date:
09/28/2012 02:39 PM
Subject:
Re: [Rd] S4method
On 09/28/2012 11:57 AM, David L Lorenz wrote:
> I get an error when I try to use \S4method in a usage section in an Rd
> file
On 09/28/2012 11:57 AM, David L Lorenz wrote:
I get an error when I try to use \S4method in a usage section in an Rd
file for a function. I tried to duplicate exactly how stats4 documents its
method functions, but I must be missing something. Here is the top part of
the Rd file:
\name{xyPlot-met
I get an error when I try to use \S4method in a usage section in an Rd
file for a function. I tried to duplicate exactly how stats4 documents its
method functions, but I must be missing something. Here is the top part of
the Rd file:
\name{xyPlot-methods}
\docType{methods}
\alias{xyPlot-methods
Dear Kurt,
I tried your proposal. It also led to
Bad \usage lines found in documentation object 'Subsetting-methods':
\S4method{[}{SeqDataFrames}(x, i, j, k, drop = FALSE)
\S4method{[}{SeqDataFrames}(x, i, j, k) <- value
My sessionInfo:
R version 2.7.0 Patched (2008-05-20 r45741)
i686-pc-lin
> Matthias Kohl writes:
> Dear developers,
> We want to use "\S4method" to document new S4-methods for "[" and "[<-".
> We use this for other functions/methods and it works without any
> problem, but in case of "[" and "[<-" we didn't manage to bring this to
> work.
> The problem occurs in
t; From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robin Hankin
> Sent: 21 May 2008 09:41
> To: Matthias Kohl
> Cc: r-devel@r-project.org; Dr. Peter Ruckdeschel
> Subject: Re: [Rd] \S4method in combination with "[" and "[<-"
>
> Hello Matthias
>
Hello Robin,
thanks for your solution!
Other solutions I know:
1. In the Matrix package - version 0.999375-9. See Subassign-methods.Rd
and Xtrct-methods.Rd.
2. The other possibility, which we use in some situations and which for
instance is used in package Biobase (e.g., S4-class eSet), is to
Hello Matthias
I too struggled with this for a long long time.
I'm not sure if this answers your question, but
Brobdingnag_1.1-2.tar.gz is clean under R-2.7.0,
and this package includes S4 methods for extract/replace.
Extract.Rd in the package doesn't use \S4method; also, I
couldn't figure out
Dear developers,
We want to use "\S4method" to document new S4-methods for "[" and "[<-".
We use this for other functions/methods and it works without any
problem, but in case of "[" and "[<-" we didn't manage to bring this to
work.
The problem occurs in the development version of our packag