Re: [Rd] [R] "[.data.frame" and lapply

2009-03-26 Thread Romain Francois
[moving this from R-help to R-devel] Hi, Right, so when you call `[`, the dispatch is made internally : > d <- data.frame( x = 1:5, y = rnorm(5), z = rnorm(5) ) > trace( `[.data.frame` ) > d[ , 1:2] # ensuring the 1:2 is passed to j and the i is passed as missing Tracing `[.data.frame`(d, ,

[Rd] Building R-alpha with ATLAS libraries?

2009-03-26 Thread M. Edward (Ed) Borasky
I'm trying to build R-alpha using the ATLAS libraries as described in the R-admin manual, section A.3.1.1 (BLAS) and A.3.2 (LAPACK). I built ATLAS with LAPACK as described in the ATLAS documentation, and the ATLAS version is the latest, 3.9.10. The platform is openSUSE 11.1 x86_64 with GCC 4.3.2.

Re: [Rd] get_all_vars fails with matrices (PR#13624)

2009-03-26 Thread Simon Wood
It's not just lists that are odd... > X <- matrix(1:15,5,3) > z <- 26:30 > model.frame(~z+X) z X.1 X.2 X.3 1 26 1 6 11 2 27 2 7 12 3 28 3 8 13 4 29 4 9 14 5 30 5 10 15 > get_all_vars(~z+X) [1] zX ... which is again a problem when trying to pick up unprocessed v

[Rd] Error message for matrix(1)[[1,,]]

2009-03-26 Thread Stavros Macrakis
> matrix(1)[[1,]] Error in matrix(1)[[1, ]] : invalid subscript type 'symbol' This is of course an incorrect use of [[, but I think the error message could be more helpful. I will guess that it is interpreting the missing value indicator as a symbol, since I get the same error message for > matri

[Rd] typo in sprintf format string segfaults R

2009-03-26 Thread Sklyar, Oleg (London)
typo as simple as %S instead of %s segfaults R devel: *** R 2.9.0 (svn -r 47821) [/share/research/R-devel/20090203/lib64/R] *** > sprintf("%S%d", "aaa", 1) *** caught segfault *** address 0x8000, cause 'memory not mapped' Traceback: 1: sprintf("%S%d", "aaa", 1) Possible actions: 1: abort (wit

Re: [Rd] typo in sprintf format string segfaults R

2009-03-26 Thread Wacek Kusnierczyk
Sklyar, Oleg (London) wrote: > typo as simple as %S instead of %s segfaults R devel: > not exactly: sprintf('%S', 'aa') # error: unrecognised format at end of string without a segfault. but with another format specifier behind, it will cause a segfault. interestingly, here's again t

Re: [Rd] savePlot export "strange" eps (PR#13620)

2009-03-26 Thread Uwe Ligges
Christophe Genolini wrote: Sorry for that... I find a strange behavior in "savePlot" ; before report a bug, I read the posting guide and I try to simplify my exemple as much as possible. Doing this, I change my code and I remove the " type='eps' " option... Sorry ! Let's start this again.

[Rd] Console colors do not stick (PR#13625)

2009-03-26 Thread laverty
Full_Name: Sean Laverty Version: R version 2.8.1 (2008-12-22) OS: os x 10.5.6 Submission from: (NULL) (155.101.41.13) In the console colors window, colors do not stick when palettes are closed. All custom colors are replaced by blue. I've tried all palettes - crayons, sliders, wheel, spectrum.