Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread William Dunlap
> From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of wdun...@tibco.com > Sent: Friday, April 10, 2009 4:00 PM > To: r-de...@stat.math.ethz.ch > Cc: r-b...@r-project.org > Subject: Re: [Rd] type.convert (PR#13646) > > Using the (unsigned int)(unsigned char) i

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread wdunlap
Using the (unsigned int)(unsigned char) in isspace() resolved the problem in my Windows build. I put some Rprintf statements into isBlankString and for type.convert("\247") it printed *s=3D-89 (4294967207 if unsigned) 8=3Disspace(*s) 8=3Disspace((unsigned int)*s) 0=3Disspace((unsigne

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread p . dalgaard
William Dunlap wrote: > You may have to use > (unsigned int)(unsigned char)*s++ > instead of just > (unsigned int)*s++ > to avoid the sign extension. Thanks again, I probably won't be doing the change since I don't have a Windows build environment around, and I'm a bit superstitious about fi

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread Peter Dalgaard
William Dunlap wrote: I can reproduce the difference that Stefan saw, depending on whether or not I start Rgui with the flags --no-environ --no-Rconsole I think it boils down to the isBlankString() function. For the string "\247" it returns 1 when those flags are not present and 0 when they a

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread William Dunlap
I can reproduce the difference that Stefan saw, depending on whether or not I start Rgui with the flags --no-environ --no-Rconsole I think it boils down to the isBlankString() function. For the string "\247" it returns 1 when those flags are not present and 0 when they are. isBlankString does

[Rd] Wishlist: timeout detection (was Package (PR#13475))

2009-04-10 Thread Thomas Lumley
I don't know if detecting timeouts is feasible. There are two problems. The first is being able to tell that failing to find the file was a timeout problem. The second is distinguishing timeouts due to antivirus software from timeouts due to, eg, missing network connections, where giving up q

Re: [Rd] Package (PR#13475)

2009-04-10 Thread Uwe Ligges
S Ellison wrote: I had the same normalizePath error recently on a new laptop, with a fresh install of R 2.8.1 and an attempt to install lme4. First attempt: package 'Matrix' successfully unpacked and MD5 sums checked Error in normalizePath(path) : path[1]: The system cannot find the file spe

Re: [Rd] summary for negative binomial GLMs (PR#13640)

2009-04-10 Thread Ben Bolker
Bump? Does anyone else have an opinion on this one? cheers Ben Bolker Ben Bolker wrote: > > oakland.edu> writes: > >> >> Full_Name: Robert Kushler >> Version: 2.7.2 >> OS: Windows XP >> Submission from: (NULL) (69.246.102.98) >> >> I believe that the negative binomial family (f

Re: [Rd] Package (PR#13475)

2009-04-10 Thread S Ellison
I had the same normalizePath error recently on a new laptop, with a fresh install of R 2.8.1 and an attempt to install lme4. First attempt: package 'Matrix' successfully unpacked and MD5 sums checked Error in normalizePath(path) : path[1]: The system cannot find the file specified Second attem

Re: [Rd] type.convert (PR#13646)

2009-04-10 Thread Peter Dalgaard
Raberger, Stefan wrote: Hi Peter, each of the four PCs actually has the same locale setting: Sys.setlocale("LC_CTYPE") [1] "German_Austria.1252" (all the other settings returned by invoking Sys.getlocale() are identical as well). Just to be sure (because it's displayed incorrectly in my b