[Rd] conditionally import a namespace?

2008-10-29 Thread Felix Andrews
Dear R-devel, I have a problem defining the dependencies for a package. My package (latticist, not yet released) "Suggests" RGtk2, but specifically does not require it. If RGtk2 is available, the user can call a function that builds a GUI with RGtk2. However, I do not want to attach the RGtk2 nam

[Rd] using yscrollcommand in tkcanvas crashes R (PR#13231)

2008-10-29 Thread sundar . dorai-raj
Full_Name: Sundar Dorai-Raj Version: 2.8.0 OS: Windows Submission from: (NULL) (76.220.41.126) The following code crashes R: library(tcltk) tt <- tktoplevel() tc <- tkcanvas(tt, yscrollcommand = function(...) tkset(ts, ...)) > sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale

[Rd] row.names(data.frame(matrixWithDimnames)) depends on first rowname being "" or not. (PR#13230)

2008-10-29 Thread wdunlap
Full_Name: Bill Dunlap Version: R version 2.9.0 Under development (unstable) (2008-10-29 r46795) OS: Linux Submission from: (NULL) (76.28.245.14) When data.frame() is given a matrix with rownames, then the type of the output row names depends on whether the first element of the input row names i

Re: [Rd] R books: self-serving question

2008-10-29 Thread G. Jay Kerns
Dear Ben, Peter, et al: On Wed, Oct 29, 2008 at 6:56 PM, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > Ben Bolker wrote: >> >> thought someone here might know: >> >> how would I go about nominating my book >> (Ecological Models and Data in R, Princeton >> University Press 2008) for inclusion >> in

Re: [Rd] R books: self-serving question

2008-10-29 Thread Peter Dalgaard
Ben Bolker wrote: thought someone here might know: how would I go about nominating my book (Ecological Models and Data in R, Princeton University Press 2008) for inclusion in the R books page ... ? I can supply bibliographic data, blurb etc. ... cheers Ben Bolker I think you just

[Rd] R books: self-serving question

2008-10-29 Thread Ben Bolker
thought someone here might know: how would I go about nominating my book (Ecological Models and Data in R, Princeton University Press 2008) for inclusion in the R books page ... ? I can supply bibliographic data, blurb etc. ... cheers Ben Bolker signature.asc Description: OpenPGP

[Rd] cochran.test {outliers} (PR#13227)

2008-10-29 Thread katrina . chu
Full_Name: Katrina Chu Version: R 2.7.2 GUI 1.25 (5217) OS: Mac OS X Version 10.4.11 (Tiger) Submission from: (NULL) (131.202.107.54) I've been using Cochran's Test to check for outlying variance. I noticed that the degrees of freedom that are calculated and output are incorrect. The author has

Re: [Rd] problems installing rJava with R-2.8.0

2008-10-29 Thread Simon Urbanek
On Oct 29, 2008, at 11:51 , Christian Kohler wrote: Dear R-developers, I am having trouble installing rJava on R 2.8.0 / debian etch. What goes wrong? Please send me the config.log. Also make sure you have configured R with Java support (sudo R CMD javareconf). Cheers, S install.p

[Rd] namespace import warning

2008-10-29 Thread Paul Gilbert
When I require() some of my packages I am getting the warning Warning message: In namespaceImportFrom(self, asNamespace(ns)) : replacing previous import: show I think this is coming from a chain of dependencies that result in the NAMESPACE from something (e.g. methods) being imported twice, bu

[Rd] problems installing rJava with R-2.8.0

2008-10-29 Thread Christian Kohler
Dear R-developers, I am having trouble installing rJava on R 2.8.0 / debian etch. What goes wrong? I am happy for every advice. Best, Christian > install.packages("rJava") Warning in install.packages("rJava") : argument 'lib' is missing: using '/nfs/compdiag/package/R/lib/bioconductor/rele

[Rd] percent concordant function

2008-10-29 Thread christophe dutang
Hi, I would like to compute ''SAS'' output statistic for logistic regression, namely the percent concordant, percent discordant, Sommer's D, Gamma, Tau-a...Actually, I'm very interested in percent concordant. Since the function 'cor' with method kendall compute the kendall's tau, I'm wondering ho