similar to: performance of apply

Displaying 20 results from an estimated 2000 matches similar to: "performance of apply"

1997 Oct 17
2
R-alpha: bug in svd
I use R Version 0.60 Alpha (September 18, 1997) on a Linux Pentium (Debian 1.3) and on a Sparc-Sun-Solaris 2.5.=20 R> svd(matrix(1:16,4,4)) =09yields on both machines Error: error 4 in dsvdc R> svd(matrix(1:20,4,5)) =09gives a result on the Linux computer $d [1] 0 0 0 NA $u [,1] [,2] [,3] [,4] [1,] 1 0 0 0 [2,] 0 1 0 0 [3,] 0 0 1 0 [4,] 0
1999 Apr 07
2
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
1998 Jan 20
1
prlab
Andreas Weingessel <Andreas.Weingessel@ci.tuwien.ac.at> writes: > When I tried to port the statlib-Pkg rpart to R, I came across the > c-Function prlab which seems to be part of S+, but not of R. > > Does anyone know what prlab does and how difficult it would be to > emulate it in R? Can you show us the context? If I had to guess I would say it was a routine to print
1998 Jan 14
1
R-beta: pairs-plot
I have the following problem. I have some multidimensional data points "x" and a curve "fit" fitted to these points. How can I combine R> pairs(x) and R> pairs(fit,panel=lines) in one plot, so that I can see how good the curve fits the data? A command like R> pairs(x, panel=function(x,y) {points(x,y); lines(lowess(x,y))}) does not work, since I fit the curve in all
2007 Dec 10
2
unstable kernel after update to CentOS 4.5
On Saturday I finally upgraded a machine from CentOS 4.3 (I think) to 4.5 via yum. Seemed to went fine. However, during the following night /home got mounted read-only because of an EXT3-fs error. The next night happened the same. Also, today, I saw the first-ever kernel crash on this machine. The machine is about three years old or so, went into production two years ago with CentOS 4.1 or so and
1999 Jul 28
1
skewness, kurtosis
Dear R-Users and Developpers, Currently R does not include functions to compute the skewness and kurtosis. I programmed it myself in the following way, but probably *real* programmers/statisticians can do that better: mykurtosis <- function(x) { m4 <- mean((x-mean(x))^4) kurt <- m4/(sd(x)^4)-3 kurt } myskewness <- function(x) { m3 <- mean((x-mean(x))^3) skew <-
1998 Jan 07
1
R/S Difference - split
In S it is possible to "split" a matrix into its rows, using split(matrix, 1:number_of_rows). This is not possible in R. Example: R: R> split(matrix(rnorm(1:20),4, 5), 1:4) Error in split(x, as.factor(f)) : argument lengths differ S: > split(matrix(rnorm(1:20),4, 5), 1:4) $"1": [1] -0.1804794 0.5269439 0.6248224 -0.3243427 -1.2987407 $"2": [1] 0.9384254
1998 Aug 28
2
No subject
Sirs, may be that a fault exists in the file "postscript" under "r documentation" which contains "Notes on R:A Programming..." at http://www.ci.tuwien.ac.at/R/contents.htm| I did not succeed in reading and printing it. Can You help me? Many thanks in advance. F.Petronio petronio at univ.trieste.it
1999 Oct 07
1
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
1998 Aug 20
2
R-beta: Hmisc and R
Hello, I want to try the Design and Hmisc library from FE Harrell but, i have trouble with the copyright for the library Hmisc : in the home of the author : http://fharrell.biostat.virginia.edu/s/unix/ in the file Hmisc.README ###COPYRIGHT NOTICE ###You may not port code in the Hmisc library to R. Aie, Why ???? ###You may distribute these functions freely as long as you do so without
1999 May 21
0
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
1998 Aug 23
0
R-beta: design && hmisc && CRAN
On Fri, 14 Nov 1997, Jim Lindsey <jlindsey at luc.ac.be> sent an email to r-devel describing his first shot at porting Design and Hmisc to R. A few days later, his port snapshot of Design was uploaded to CRAN's src/contrib/devel area, and has since been available from there. A few weeks ago, Andreas Weingessel <A.Weingessel at ci.tuwien.ac.at> had a look into porting Hmisc to R
1999 Nov 07
1
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
1999 Dec 07
1
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
2000 Jan 21
0
Bug list summary (automatic post)
================================================= This is an automated summary of the status of the R-bugs repository. Note that this may be neither complete nor perfectly correct at any given instance: Not all bugs are reported, and some reported bugs may have been fixed, but the repository not yet updated. Some bug fixes are difficult to verify because they pertain to specific hardware or
2007 May 29
1
rgl.postscript
Hi, I am having an issue when creating a postscript file from RGL window. It seems to cut off some of the axis labels. Here is the code I am using. I created a 3D plot using RGL_0.71 with R 2.5 on Windows XP. z1<-c(5,4,1,4.5,2,3,2,1,1) z2<-c(6,8,7,7.5,5,3.5,4,1,1) z3<-c(3,2,4,7,3,4.5,6,2,3) x1<-seq(1,9) x2<-seq(1,9) x3<-seq(10,18) y1<-seq(8,0) y2<--1*y1
1999 Mar 11
1
: for factors (PR#139)
The following example from the help page does not work: > f1_ gl(2,3); f1 > f2_ gl(3,2); f2 > f1:f2 # a factor, the ``cross'' f1 x f2 yields Warning in f1:f2 : Numerical expression has 6 elements: only the first used [1] 1 whereas R-0.61.2 yields > f1:f2 # a factor, the ``cross'' f1 x f2 [1] 1:1 1:1 1:2 2:2 2:3 2:3 Note that the new behavior is consistent with
1999 Dec 28
1
axis for small ranges (PR#390)
If you plot a vector of numbers which are all very similar (i.e. within the range of some eps), the y-axis is not drawn correctly. Either it is completely missing and there is an additional horizontal line (1st example below) or it is longer than the plotting region (2nd example). x <- c(0.12345678912345678,0.12345678912345679,0.12345678912345676) plot(x) y <- c(0.9999563255363383973418,
1999 Nov 25
1
segfault in garbage collection (PR#344)
The following statements yield a seg.fault: R --vanilla --nsize 500K x <- rep(letters,10000) f <- function(x) {z<-paste("\"",x,"\"",sep=""); z} y <- f(x) Segmentation fault If a turn gcinfo on, I get Garbage collection [nr. 1]... 387529 cons cells free (75%) 3807 Kbytes of heap free (62%) Garbage collection [nr. 2]... 273868 cons cells free
2000 Feb 08
1
fix() changes character to factor (PR#415)
If x is a data.frame containing a column of mode character, this column is changed to a factor after applying fix(x). Example: R> x_data.frame(a=1:3,b=letters[1:3],c=c("hansi","pepi","karli")) R> x$c_as.character(x$c) R> is.character(x$c) [1] TRUE R> is.factor(x$c) [1] FALSE R> fix(x) ## I change "karli" to "sepp" R> x$c [1]