The documentation for ts says "Only one of ‘frequency’ or ‘deltat’ should
be provided" but why doesn't it enforce this with
stopifnot(missing(frequency) || missing(deltat))
Wouldn't that work? Also the documentation does not say what valid
time series parameters are. To find that out one mu
On 22 October 2010 18:55, John Chambers wrote:
>> As a suggestion, it would be nice if the accessors() method could be
>> used to create just "getters" or just "setters" for particular fields,
>> although I realise this can be worked around by removing the unwanted
>> methods afterwards.
>
> In o
On 22.10.2010 16:18 (UTC+2), Rainer Hurling wrote:
On 22.10.2010 14:57 (UTC+1), Michael Lawrence wrote:
On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling mailto:rhur...@gwdg.de>> wrote:
[moved from R-help]
On 21.10.2010 18:09 (UTC+1), Prof Brian Ripley wrote:
If you do R CMD INSTALL --no-test
John Chambers writes:
> You need to update your version of R (r-devel or 2.12 patched) to rev
> 53385 or later, and read NEWS, particularly the line:
>
> - Assignment of an environment to functions or as an attribute to other
> objects now works for subclasses of "environment".
>
I am follow
One correction:
On 10/22/10 10:55 AM, John Chambers wrote:
.
As a suggestion, it would be nice if the accessors() method could be
used to create just "getters" or just "setters" for particular fields,
although I realise this can be worked around by removing the unwanted
methods afterwards.
You need to update your version of R (r-devel or 2.12 patched) to rev
53385 or later, and read NEWS, particularly the line:
- Assignment of an environment to functions or as an attribute to other
objects now works for subclasses of "environment".
On 10/22/10 10:20 AM, Vitally S. wrote:
> Yet
Last question first:
>
> More generally, I was wondering how firm the commitment is to
> providing this kind of programming mechanism. I know it's likely to
> change in some ways in future releases, but can I use it in packages,
> trusting that only a few tweaks will be needed for compatibility w
Yet another inconsistency. environment<- does not work with S4:
> setClass("myenv", contains = "environment")
[1] "myenv"
> env <- new("myenv")
> tf <- function(x){x}
> environment(tf) <- env
Error in environment(tf) <- env :
replacement object is not an environment
Vitally.
John Chambers
FYI, in case you are not aware of it,
both
http://cran.r-project.org/bin/windows/base/rpatched.html
http://cran.r-project.org/bin/windows/base/rdevel.html
link to old builds ("2010-10-14 r53300").
/Henrik
__
R-devel@r-project.org mailing list
https:/
Dear all,
First, many thanks to John Chambers, and anyone else who was involved,
for the new support for "reference classes" in R 2.12.0. It's nice to
see this kind of functionality appear in a relatively R-like form, and
with the blessing of the core team. In some contexts it is undoubtedly
appea
On 22.10.2010 14:57 (UTC+1), Michael Lawrence wrote:
On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling mailto:rhur...@gwdg.de>> wrote:
[moved from R-help]
On 21.10.2010 18:09 (UTC+1), Prof Brian Ripley wrote:
If you do R CMD INSTALL --no-test-load this will skip the part
On Fri, 2010-10-22 at 05:30 -0400, Nick Sabbe wrote:
> Hello all.
>
> I'm developing a package for R holding a Gibbs sampler, which tends to have
> better performance when written in C than in R.
> During each iteration in the Gibbs sampler, I need the inverse of a
> symmetric matrix.
> For this,
On Thu, Oct 21, 2010 at 9:42 AM, Rainer Hurling wrote:
> [moved from R-help]
>
> On 21.10.2010 18:09 (UTC+1), Prof Brian Ripley wrote:
>
>> If you do R CMD INSTALL --no-test-load this will skip the part that is
>> hanging and you can try loading in stages (e.g. dyn.load on the RGtk2.so).
>>
>
> W
On Fri, Oct 22, 2010 at 4:30 AM, Nick Sabbe wrote:
> Hello all.
> I'm developing a package for R holding a Gibbs sampler, which tends to have
> better performance when written in C than in R.
> During each iteration in the Gibbs sampler, I need the inverse of a
> symmetric matrix.
You may want t
Hello all.
I'm developing a package for R holding a Gibbs sampler, which tends to have
better performance when written in C than in R.
During each iteration in the Gibbs sampler, I need the inverse of a
symmetric matrix.
For this, I wish to use lapack, as is concisely suggested in "Writing R
exten
15 matches
Mail list logo