Re: [Rd] Problem with tcltk package: tclfile.dir missing?

2006-09-25 Thread Peter Dalgaard
Seth Falcon [EMAIL PROTECTED] writes: Hi, In R version 2.4.0 beta (2006-09-24 r39502) I'm seeing the following behavior with the tcltk package: library(tcltk) Loading Tcl/Tk interface ... done tkfile.dir() Error: 'tkfile.dir' is defunct. Use 'tclfile.dir' instead. See

Re: [Rd] sprintf behavior (PR#9250)

2006-09-25 Thread ripley
On Mon, 25 Sep 2006, [EMAIL PROTECTED] wrote: Full_Name: Michael Bauer Version: 2.3.1 OS: Mac OS X 10.4.7 Submission from: (NULL) (131.130.124.155) sessionInfo() Version 2.3.1 (2006-06-01) powerpc-apple-darwin8.6.0 attached base packages: [1] methods stats graphics grDevices

Re: [Rd] sprintf behavior (PR#9250)

2006-09-25 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: Full_Name: Michael Bauer Version: 2.3.1 OS: Mac OS X 10.4.7 Submission from: (NULL) (131.130.124.155) sessionInfo() Version 2.3.1 (2006-06-01) powerpc-apple-darwin8.6.0 attached base packages: [1] methods stats graphics grDevices utils [6]

Re: [Rd] sprintf behavior (PR#9250)

2006-09-25 Thread Peter Dalgaard
Peter Dalgaard [EMAIL PROTECTED] writes: This is *not* a bug (it is also not a FAQ, although I'm beginning to think it should be). Just to be clear: I'm aware of FAQ 7.8, but it is about file names. Issue is whether we need a generic backslashes in text strings entry. -- O__ Peter

[Rd] Fwd: Selfstarting models for soil hydrology using R

2006-09-25 Thread CHRISTIAN OMUTO
Dear, I have developed and tested some models in soil hydrology with NLME library in R. I want to ask if it could be possible to submit this to the NLME library (with sample data) as a toolbox or something so that anyone downloading new components of new versions of R may simply call (say

Re: [Rd] alpha, portable use

2006-09-25 Thread Paul Gilbert
I am still confused about this (and it is still happening with R-beta). Writing R Extensions suggests I need a Makefile or Makevars in my package, but that has not been the case previously. Is there now a requirement that all packages need Makefiles or Makevars if there is fortran to be

Re: [Rd] apply: new behaviour for factors in R-2.4.0

2006-09-25 Thread Prof Brian Ripley
Christoph, This is more complicated than your analysis. 1) apply takes a matrix as an argument, not a data frame, and so first coerced 'dat' to a character matrix. 2) unlist is working quite correctly. The issue is array(), which contains as.vector(data). Thus although the result could be a

Re: [Rd] alpha, portable use

2006-09-25 Thread Paul Gilbert
Doug I do indeed have a Makevars file after all. Thanks for spelling out the interpretation of the warning message. Paul Douglas Bates wrote: On 9/25/06, Paul Gilbert [EMAIL PROTECTED] wrote: I am still confused about this (and it is still happening with R-beta). Writing R Extensions

[Rd] buglet in ?asin

2006-09-25 Thread Kjetil Halvorsen
This is fron R-2.5.0-to-be, windows XP The following excerpt from ?asin cannot be right: For asin() and acos(), there are two cuts, both along the real axis: *(-Inf, 1]* and *[1, Inf)*. Functions asin() and acos() are continuous from above on the interval *(-Inf, -1]* and continuous from below

[Rd] na.encode in format for Date and POSIXt classes

2006-09-25 Thread Gregor Gorjanc
Hello! na.encode does not have any effect on format of NA values of Date and POSIXct (POSIXlt?) atomic classes in a data.frame. Here is the example (the same in R 2.3.1 and 2.5.0 (2006-09-19 r39409)): testData - data.frame(num=c(NA, 2.6), int=c(1, NA),

[Rd] Wish: change behaviour of header in read.fwf (PR#9252)

2006-09-25 Thread gregor . gorjanc
Hello! In my opinion read.fwf()'s behaviour of header is not really useful. Say I have the following data: col1 col2 col3 123 123 123 a b 123412 1234 65.4 4.5 Now if I want to read this data into R I can not use read.table due to missing fields.

[Rd] S4 accessors

2006-09-25 Thread Ross Boylan
I have a small S4 class for which I've written a page grouping many of the accessors and replacement functions together. I would be interested in people comments on the approach I've taken. The code has a couple of decisions for which I could imagine alternatives. First, even simple get/set

Re: [Rd] S4 accessors (corrected)

2006-09-25 Thread Ross Boylan
On Tue, 2006-09-26 at 00:20 +, Ross Boylan wrote: I have a small S4 class for which I've written a page grouping many of the accessors and replacement functions together. I would be interested in people comments on the approach I've taken. The code has a couple of decisions for which I

[Rd] R CMD check and x11?

2006-09-25 Thread Dominick Samperi
One of my demos runs x11() so that I can resize the window and avoid the too large for margins message from plot. This seems to have a problematic side effect. When I run R CMD check on the package that demo is displayed, because it appears as an example in one of the man pages, and after this

[Rd] R script editor fails to read script longer then 1000 chars (non-English language settings) (PR#9254)

2006-09-25 Thread shtirlitz
Full_Name: Otto Shtirlitz Version: 2.3.1 OS: Win XP SP2 Submission from: (NULL) (71.102.102.246) I believe it's the same situation as described in bug 9248. R script editor cannot open file exceeding 1000 characters even if created in the same editor. File is all ANSI with symbols 128 and with

Re: [Rd] S4 accessors

2006-09-25 Thread Seth Falcon
Ross Boylan [EMAIL PROTECTED] writes: The code has a couple of decisions for which I could imagine alternatives. First, even simple get/set operations on class elements are wrapped in functions. I suppose I could just use [EMAIL PROTECTED] to do some of these operations, though that is

Re: [Rd] R CMD check and x11?

2006-09-25 Thread Henrik Bengtsson
You can close the x11() device using dev.off() in your example. You may also want to look at interactive() so you can test in your example is the code is run interactively or not; the latter is the case for R CMD check. /H On 9/25/06, Dominick Samperi [EMAIL PROTECTED] wrote: One of my demos