[Rd] CRAN task views work only once per session (PR#9330)

2006-11-02 Thread k . ponting
Cran task views seems to be a "once-per-session" process -- the first attempt to access views in a (RGui for Windows) session works, but subsequent attempts fail. There is a noticeably long pause before the failing call returns. Example session with two calls to "available.views" follows, but sim

[Rd] Formal methods are not loaded from NAMESPACE in reloaded workspace image

2006-11-02 Thread Pfaff, Bernhard Dr.
Dear R-Devel subscriber, I was hinted to the following problem with package 'urca': If one starts R and executes for instance: > library(urca) > example(ur.df) ## output as expected, but omitted here > class(lc.df) [1] "ur.df" attr(,"package") [1] "urca" > class(summary(lc.df)) [1] "sumurca" att

Re: [Rd] CRAN task views work only once per session (PR#9330)

2006-11-02 Thread Achim Zeileis
One comment - taken from the FAQ - in advance: Bug reports on contributed packages should be sent first to the package maintainer, and only submitted to the R-bugs repository by package maintainers, mentioning the package in the subject line. In this case, posting to R-devel (but not R-bugs)

Re: [Rd] CRAN task views work only once per session (PR#9330)

2006-11-02 Thread Prof Brian Ripley
On Thu, 2 Nov 2006, Achim Zeileis wrote: > One comment - taken from the FAQ - in advance: > Bug reports on contributed packages should be sent first to the package > maintainer, and only submitted to the R-bugs repository by package > maintainers, mentioning the package in the subject line. > >

Re: [Rd] CRAN task views work only once per session (PR#9330)

2006-11-02 Thread Gabor Grothendieck
They run without problem and are identical on my XP machine too: > library(ctv) > x <- available.views(repos = "http://CRAN.uk.R-project.org";) > y <- available.views(repos = "http://CRAN.uk.R-project.org";) > identical(x,y) [1] TRUE > R.version.string # XP [1] "R version 2.4.0 Patched (2006-10-2

Re: [Rd] Cross-compilation

2006-11-02 Thread Hin-Tak Leung
You might be better off using the same g++ as distributed and found on Prof Ripley's web site, rather than the newer 4.x: $ /home/hin-tak/mingw-cross/bin/i586-mingw32-c++ --version i586-mingw32-c++ (GCC) 3.4.5 (mingw special) ... Name-mangling and C++ ABI had changed between gcc 3.x and 4.x, so

[Rd] buglet in plot.lm (PR#9333)

2006-11-02 Thread ehlers
In version 2.2.0, plot.lm() was enhanced with two new plots (thanks, Martin and John). There's a small fix needed for 'which=6' when 'id.n=0'. > plot(lm(rnorm(10) ~ 1), which = 6, id.n = 0) Error in plot.lm(lm(rnorm(10) ~ 1), which = 6, id.n = 0) : could not find function "text.id" Fix

[Rd] Connections patch

2006-11-02 Thread Jeffrey Horner
I've implemented an R Connections API for packages writers and those embedding R into other systems. The patch is here: http://biostat.mc.vanderbilt.edu/twiki/pub/Main/RApacheProject/Conn-patch-R-devel-r39773.patch and I've started an R wiki for discussion here: http://wiki.r-project.org/rwiki/

Re: [Rd] fields appearing in cran descriptions pages

2006-11-02 Thread Kurt Hornik
> Gabor Grothendieck writes: > What determines which fields appear in CRAN descriptions pages. > For example, for doBy there is no Date: but there is a vignette listed: >http://cran.r-project.org/src/contrib/Descriptions/doBy.html > whereas for gsubfn there is a Date: but there is no vig

Re: [Rd] Syntax Error in Rcmd check on Windows

2006-11-02 Thread Duncan Murdoch
On 10/31/2006 2:07 PM, Duncan Murdoch wrote: > On 10/31/2006 1:50 PM, Michael Hoehle wrote: >>> Thanks for pointing me to the source. I can reproduce the problem, and >>> I'm fairly sure it's an R bug, not a problem in your source. I need to >>> trace through at a low level to confirm this and to

Re: [Rd] Syntax Error in Rcmd check on Windows

2006-11-02 Thread Simon Urbanek
On Nov 2, 2006, at 4:39 PM, Duncan Murdoch wrote: > On 10/31/2006 2:07 PM, Duncan Murdoch wrote: >> On 10/31/2006 1:50 PM, Michael Hoehle wrote: Thanks for pointing me to the source. I can reproduce the problem, and I'm fairly sure it's an R bug, not a problem in your source. I

Re: [Rd] Syntax Error in Rcmd check on Windows

2006-11-02 Thread Duncan Murdoch
On 11/2/2006 4:59 PM, Simon Urbanek wrote: > On Nov 2, 2006, at 4:39 PM, Duncan Murdoch wrote: > >> On 10/31/2006 2:07 PM, Duncan Murdoch wrote: >>> On 10/31/2006 1:50 PM, Michael Hoehle wrote: > Thanks for pointing me to the source. I can reproduce the > problem, and > I'm fairly s

[Rd] Geschaeftliches Angebot.

2006-11-02 Thread Arthur Breton (Esq.)
ARTHUR BRETON,CHRIS NISSEN & ASSOCIATES SOLICITORS & ADVOCATES GABORONE. BOTSWANA. Lieber Herr, Mein Name ist ARTHUR BRETON, bin ein 50 jähriger Anwalt aus Gaborone, Botswana. Einer meiner 15 Jährigen Klienten ,ein Deutscher Namens Gunter Haymann, welcher über 18 Jahre für eine Diamanten Be

[Rd] Display problem with named complex vectors

2006-11-02 Thread Herve Pages
Hi, > z <- (-1:3)+2i > names(z) <- LETTERS[1:5] > z A B C D E -1+2i 0+2i 1+2i 2+2i 3+2i Nice :-) > names(z)[2] <- "long name" > z A long name C D E -1+2i 0+2i 1+2i 2+2i 3+2i Not nice :-( This happens with R-2.4.0 and current R-devel.

Re: [Rd] allocVector bug ?

2006-11-02 Thread Luke Tierney
On Wed, 1 Nov 2006, Vladimir Dergachev wrote: > > Hi all, > > I was looking at the following piece of code in src/main/memory.c, function > allocVector : > >if (size <= NodeClassSize[1]) { > node_class = 1; > alloc_size = NodeClassSize[1]; >} >else { > node_class = L

[Rd] man page for as.matrix for data frames outdated?

2006-11-02 Thread Herve Pages
Hi again, The man page for 'as.matrix' says: 'as.matrix' is a generic function. The method for data frames will convert any non-numeric/complex column into a character vector using 'format' and so return a character matrix, except that all-logical data frames will be coerced