Re: [Rd] header containing 8713 (PR#8713)

2006-03-30 Thread ripley
I believe this was intended to be a followup to PR#8713 but has opened a new report, so I am replying to re-file it in the correct place. You can read the source code to find out what happens (as anyone else looking into this would need to). I currently have Argument \code{inches} controls

Re: [Rd] [R] rownames, colnames, and date and time

2006-03-30 Thread Patrick Burns
I haven't been following all of this thread, but it reminds me of a bug that was in S-PLUS not too long ago where dimnames could sometimes be numeric. This caused some problems that were very hard to track down because there were no visual clues of what was really wrong. I've been pleased not to

[Rd] ansari.test one-tailed (PR#8730)

2006-03-30 Thread gael . millot
Full_Name: Gael Millot Version: 2.2.0. OS: XP Submission from: (NULL) (195.220.102.20) Hello. I sent an Email in r-help without answer for the moment. I am wondering if it could have a mistake in the code of the ansari.test function. For me, it seems that the function do not recover the p

Re: [Rd] function min does not return correct result if .Machine$integer.max (PR#8732)

2006-03-30 Thread ripley
The code has s = INT_MAX; for (i = 0; i n; i++) { if (x[i] != NA_INTEGER) { if (s x[i]) { s = x[i]; if(!updated) updated = 1; } } else if (!narm) { if(!updated) updated = 1; *value

Re: [Rd] [R] rownames, colnames, and date and time

2006-03-30 Thread Prof Brian Ripley
On Thu, 30 Mar 2006, Patrick Burns wrote: I haven't been following all of this thread, but it reminds me of a bug that was in S-PLUS not too long ago where dimnames could sometimes be numeric. This caused some problems that were very hard to track down because there were no visual clues of

Re: [Rd] R and sun gridengine

2006-03-30 Thread Michael Dondrup
Michael Dondrup wrote: Kim Carter wrote: Hi I am looking for assistance with setting up R under Sun grid engine 6 (6.0-update7). I would like to set up transparent interactive access to R using either a qlogin or qrsh solution. While it basically works using either method, I reach the same

[Rd] request to add ... to cat(ngettext in warnings function

2006-03-30 Thread Leif Kirschenbaum
Madams Sirs, I am working on porting some R code to one of our servers to run under web or crontab direction. With that in mind I have been working on directing informative, warning, and error messages to outputs as I require. I would like to suggest a change to the warnings function; that

Re: [Rd] compress defaults for save() and save.image()

2006-03-30 Thread Roger D. Peng
Prof Brian Ripley wrote: I have changed the default in save() to compress = !ascii. This seems quite safe, as almost always save() is called explicitly and people will appreciate that it might take a little time to save large objects (and depending on your system, compression could even

[Rd] custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

2006-03-30 Thread btyner
Full_Name: Ben Tyner Version: 2.2.0 OS: i686-pc-linux-gnu Submission from: (NULL) (128.210.141.240) My appologies if this has already been fixed, but I didn't see it in the tracking system yet so I thought I'd report it. Demonstration: xyplot(Petal.Length ~ Petal.Width | Species, iris,

Re: [Rd] custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

2006-03-30 Thread deepayan . sarkar
T24gMy8zMC8wNiwgYnR5bmVyQHN0YXQucHVyZHVlLmVkdSA8YnR5bmVyQHN0YXQucHVyZHVlLmVk dT4gd3JvdGU6Cj4gRnVsbF9OYW1lOiBCZW4gVHluZXIKPiBWZXJzaW9uOiAyLjIuMAo+IE9TOiBp Njg2LXBjLWxpbnV4LWdudQo+IFN1Ym1pc3Npb24gZnJvbTogKE5VTEwpICgxMjguMjEwLjE0MS4y

Re: [Rd] custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

2006-03-30 Thread Deepayan Sarkar
Trying again... On Thursday 30 March 2006 15:19, [EMAIL PROTECTED] wrote: Full_Name: Ben Tyner Version: 2.2.0 OS: i686-pc-linux-gnu Submission from: (NULL) (128.210.141.240) My appologies if this has already been fixed, but I didn't see it in the tracking system yet so I thought I'd

[Rd] Writing character vectors with embedded nulls to a connection

2006-03-30 Thread Jeffrey Horner
Is this possible? I've tried both writeChar() and writeBin() to no avail. My goal is to serialize(ascii=FALSE) an object to a connection but determine the size of the serialized object before hand: sobject - serialize(object,NULL,ascii=FALSE) len - nchar(sobject) # # run some code here to

Re: [Rd] custom strip in lattice ignoring plotmath expressions for all but style = 1 (PR#8733)

2006-03-30 Thread Benjamin Tyner
Sorry, so used to it being bundled that I didn't realize lattice was a contributed package. Ben Deepayan Sarkar wrote: 1. Bugs in packages should be reported to the maintainer, not R-bugs. 2. This already works as it should in R 2.3.0 alpha -Deepayan

Re: [Rd] custom strip in lattice ignoring plotmath expressions for all (PR#8734)

2006-03-30 Thread btyner
Sorry, so used to it being bundled that I didn't realize lattice was a contributed package. Ben Deepayan Sarkar wrote: 1. Bugs in packages should be reported to the maintainer, not R-bugs. 2. This already works as it should in R 2.3.0 alpha -Deepayan

Re: [Rd] [R] R garbage collection

2006-03-30 Thread Prof Brian Ripley
On Thu, 30 Mar 2006, Jeff Henrikson wrote: r-help, [Moved to R-devel.] The R manual lists two types of memory: transient and user-controlled. If I have transient blocks reachable from the globals only by traversal through user-controlled blocks, will they be correctly preserved? I don't

Re: [Rd] Writing character vectors with embedded nulls to a connection

2006-03-30 Thread Prof Brian Ripley
I think you should be using a raw type to hold such data in R. It is not intentional that readChar handles embedded nuls (and in fact it might not in an MBCS). As ?serialize says For 'serialize', 'NULL' unless 'connection=NULL', when the result is stored in the first element of a