> In the case the metadata are stored in a list, that interface enforces the
> building of a list.
> (I said to ignore implementation for now, but paradoxically this made me
> consider possible implementations).
Creating the list on the fly if it's not stored internally as a list should be
chea
be fewer.
* `dim<-`, but this may raise the same problem of coercing dimmeta of
different classes.
Disabling "dim<-" is, I think, choosing sanity for now.
...and I agree with the rest of your comments.
Same for me (about your comments).
This thread seems to be leading to som
case can already be modelled by a data.frame.
L.
Enrique
-Original Message- From: Laurent Gautier
[mailto:lgaut...@gmail.com] Sent: jueves, 09 de julio de 2009 14:15
Cc: Heinz Tuechler; Bengoechea Bartolomé Enrique (SIES 73); Tony
Plate; Henrik Bengtsson; r-devel@r-project.org Subject:
ique (SIES 73); Tony Plate; Henrik
Bengtsson; r-devel@r-project.org
Subject: Re: [Rd] Suggestion: Dimension-sensitive attributes
Starting by working on an interface for such object(s) is probably the first
step toward a unified solution, and this before about if and how R attributes
are used.
It w
ise.
* `dim<-`, but this may raise the same problem of coercing dimmeta of
different classes.
...and I agree with the rest of your comments.
Best,
Enrique
-Original Message-
From: Laurent Gautier [mailto:lgaut...@gmail.com]
Sent: jueves, 09 de julio de 2009 14:15
Cc: Heinz Tuechle
Starting by working on an interface for such object(s) is probably the
first step toward a unified solution, and this before about if and how R
attributes are used.
It would also help to ensure a smooth transition from the existing
classes implementing a similar solution (first the interface i
iginal Message-
From: Heinz Tuechler [mailto:tuech...@gmx.at]
Sent: jueves, 09 de julio de 2009 10:56
To: Bengoechea Bartolomé Enrique (SIES 73); Tony Plate; r-devel@r-project.org
Cc: Henrik Bengtsson
Subject: Re: [Rd] Suggestion: Dimension-sensitive attributes
At 10:01 09.07.2009, SIES 73 wrote:
>
everal classes (xts,
timeSeries, AnnotatedDataFrame, etc.) As you point, this could offer a unified
design for a common need.
Enrique
-Original Message-
From: Heinz Tuechler [mailto:tuech...@gmx.at]
Sent: jueves, 09 de julio de 2009 10:56
To: Bengoechea Bartolomé Enrique (SIES 73); Tony
with 3 elements, something like:
> attr(x, "attr.subset.with") <- list(object=..., dims=..., cells=...)
Would something like this make sense for R-core
--either for standard arrays or as a new class--
or would it be better implemented in a package?
Enrique
-Original Me
) <- list(object=..., dims=..., cells=...)
Would something like this make sense for R-core --either for standard arrays or
as a new class-- or would it be better implemented in a package?
Enrique
-Original Message-
From: Tony Plate [mailto:tpl...@acm.org]
Sent: miércoles, 08 de julio d
There have been times when I've thought this could be useful too.
One way to go about it could be to introduce a special attribute that
controls how attributes are dealt with in subsetting, e.g.,
"attr.dimname.like". The contents of this would be character data; on
subsetting, any attribute t
Hi,
I agree with Henrik that his suggestion to have "dimension vector attributes"
working like dimnames (see below) would be an extremely useful infrastructure
adittion to R.
If this is not considered for R-core, I am happy to try to implement this in a
package, as a new class. And possibly do
12 matches
Mail list logo