Displaying 20 results from an estimated 9000 matches similar to: "more on "[<-""
1997 Dec 10
1
R-alpha: "[.ts" in 0.60.1
I have a class "tframe" with more specific classes indicating how time is being
represented, such as
> class(tframe(data))
[1] "ts" "tframe"
but now "[.ts" produces warning messages
> tframe(data)[2]
Warning: Not returning a time series object
[1] 2006.25
Even my simplest tests produce hundreds of lines of warnings, so I've commented
out
1999 Dec 21
1
DSE revised for R 0.90.1
A slightly revised version of my DSE package for multi-variate time series
analysis is now available at <www.bank-banque-canada.ca/pgilbert>. This
version works with R 0.90.1 (and not with R 90.0 or earlier versions). It can
also be installed with
install.packages(c("syskern", "tframe", "dse"),
1999 Dec 21
1
DSE revised for R 0.90.1
A slightly revised version of my DSE package for multi-variate time series
analysis is now available at <www.bank-banque-canada.ca/pgilbert>. This
version works with R 0.90.1 (and not with R 90.0 or earlier versions). It can
also be installed with
install.packages(c("syskern", "tframe", "dse"),
1999 Jul 27
2
Memory profiling/benchmarking
Hi,
As a project for a computer performance analysis paper I am taking this semester,
I am going to look at the performance of the memory manager in R, with the aim of
determining how fast it is and which areas most need improvement. The idea is
that I will compare various versions of R, starting with 0.64.2, and then at a
few stages in the implementation of the new memory management scheme (of
1998 Apr 02
2
prcomp
I've noticed that the arguments and result list of prcomp in the mva package
(with 61.1) are not quite the same as in the Blue Book and in Splus. Is this
intentional or can I change it? If I change it who should I send the code to?
Paul Gilbert
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read
1998 May 15
1
couldn't find function "print.tframe"
I have an object with an attribute "tframe" for which there is a generic method
print.tframe and also a method print.tframe.default defined in a library.
However, when I use attributes(object) I get the message
$tframe
Error: couldn't find function "print.tframe"
It's as if <primitive: attributes> is not looking through the search list?
Any suggestions?
1997 Dec 11
1
R-alpha: inheritance ([.ts)
While commenting out the previously mentioned warning seems to work, I have been
reflecting on this problem and there seems to be an issue wrt inheritance that I
do not understand properly. Perhaps some gurus could comment.
As mentioned previously, I have a class "tframe" with more specific classes
indicating how time is being represented, such as
> class(tframe(data))
[1]
1999 Mar 10
2
.Alias and memory
In an effort to encapsulate my dependence on class in order to deal with
oldclass/class in Splus I defined the functions
tfclass <- class
"tfclass<-" <- function(x, value){ class(x) <- value ; x }
and also the function
classed <- function(x, cls) {class(x) <- cls; x}
This last allows me to end a function definition with
...
classed(somecalc,
2000 Jan 17
3
RNG initialization
It would be nice to be able to initialize the random-number generator
with a single long argument; I can see that in principle this could be
done by writing an access method, do_RNGinit (or whatever) for RNG_Init.
I had trouble with the technical details, possibly because of long/int
incompatibilities.
Any chance of this happening?
--
Ben Bolker
1999 Jan 28
2
time series analysis
Hello out there,
in their "R Complements" to Modern Applied Statistics W. Venables and
B. Ripley say that there is a lack of time series related functions in
R compared to S plus. Looking at CRAN I didn't find much, too. As I
have to learn something about +-basic ts analysis, e.g. spectral
analysis, I would like to know whether somebody has developed a
"unpublished" time
1997 Dec 11
0
R-alpha: "[.ts" warning "Not returning time series.."
On 11-Dec-97 maechler@stat.math.ethz.ch wrote:
>>>>>> "PaulG" == Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:
>
> PaulG> I have a class "tframe" with more specific classes indicating
> PaulG> how time is being represented, such as
>
> >> class(tframe(data))
> PaulG> [1] "ts"
2000 Oct 04
3
R 1.2 build
I've been trying to build a bundle with the R-devel snapshot from
yesterday. (Yes I know it is unstable and just tell me if I shouldn't be
trying to do this yet.)
It is failing with the message
tar : /dev/rmt/0 : Permission denied
It happens after "removing junk files" and just after the message
"building dse_2000.9-1.tar.gz"
It looks to be coming from the line in
1999 Apr 29
1
another ts problem
My previous ts problem is fixed in today's snapshot but ...
R : Copyright 1999, The R Development Core Team
Version 0.64.0 Patched (unreleased snapshot) (April 29, 1999)
...
> z <- ts(matrix(rnorm(300),100,3),start=c(1961,1), frequency=12)
> all(z==z)
Error: invalid time series parameters specified
>
Paul Gilbert
1998 Jan 21
2
alloc
I am trying to get our database interface (PADI) working with R. The code does
some memory allocation and for Splus there is an ifdef which controls whether
malloc or S_alloc is called. I did nm R.binary | grep alloc to see if this was
supported and I find there are some choices:
[2490] | 446036| 272|FUNC |GLOB |0 |7 |R_alloc
[806] | 693956| 312|FUNC |LOCL |0 |7
1998 Jun 17
3
bug in functions of form "mcpar<-"
This fairly harmless looking piece of code, which worked in
0.61 (and in S-PLUS) fails in 0.62.1.
R> "mcpar<-" <- function(x,mcpar) {attr(x,"mcpar") <- mcpar; x}
R> mcpar(x) <- c(1,100,1)
Error in mcpar<-(*tmp*, value = c(1, 100, 1)) : unused argument to function
The error message gives a hint about how to work around the problem -
just replace the
2001 Sep 28
2
problems with new checks in R-devel
Below are a few problems I have encountered with the new checks
being done in R-devel.
1/ I have two generics, test.equal and test.equal.tframe. The
first checks that two objects are equal while the second checks
if two objects have equal tframes (time frames). There is no
reason these should have similar arguments but the check seems to
think that test.equal.tframe is a method for test.equal so
1998 Jun 17
1
Warning in par(args)
I'm getting a lot of warning having to do with setting graphic parameters. I
don't recall actually setting any of these, so I would guess they are being set
by something I am calling. Has anyone already figured out where this is
happening?
Paul Gilbert
_____
All dse3 tests ... ok
All dse4 tests ...Warning: skipping test 4 (requires stepwise).
ok
dse2 graphics tests ...completed
dse3
1998 Apr 02
2
f2c
I have a problem with my dynamically loaded code in R not finding pow_ii, which
for some time I thought was because library f2c is not on my Sparcstation.
However, I have now been experiencing the same problem in Linux, with all the
proper libraries in place.
My incomplete understanding of elf and shared libraries does not help, but when
compiling a complete program I usually muddle through.
2000 Dec 18
1
1.2.0 segfault
I'm a novice with gdb but the following is the result of a segfault problem I've been
having with 1.2.0. If there is something else I should do to get more useful
information at this point, then someone please let me know.
Paul Gilbert
______
[5] /home/mfa5/gilp/zzot : R -d gdb
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
2007 May 30
2
S4 assignment \alias and \usage
What is the Rd file alias and usage syntax for an S4 assignment method?
I have been trying variations on
\alias{TSdoc<-,default-method}
\usage{
\S4method{TSdoc}{default}(x) <- value
but so far I have not got it right according to various codoc, etc, checks.
Paul Gilbert
====================================================================================
La version fran?aise