Re: [Rd] nobs() and logLik()

2012-01-19 Thread Berwin A Turlach
G'day Brian, On Fri, 20 Jan 2012 06:20:30 + Prof Brian Ripley wrote: > I do wonder why people use zero weights rather than 'subset', and I > don't particularly like the discontinuity as a weight goes to zero. I completely agree, and for developers it is a bit of a pain to make sure that al

Re: [Rd] nobs() and logLik()

2012-01-19 Thread Prof Brian Ripley
I do wonder why people use zero weights rather than 'subset', and I don't particularly like the discontinuity as a weight goes to zero. But this came up for glm() and it would be better to be consistent, so thanks for pointing out the nls() cases. We'll alter them. On 20/01/2012 05:30, Berwi

[Rd] nobs() and logLik()

2012-01-19 Thread Berwin A Turlach
Dear all, I am studying a bit the various support functions that exist for extracting information from fitted model objects. >From the help files it is not completely clear to me whether the number returned by nobs() should be the same as the "nobs" attribute of the object returned by logLik().

Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

2012-01-19 Thread Simon Urbanek
On Jan 19, 2012, at 7:27 PM, Jeroen Ooms wrote: >> >> I installed "libiconv" from http://www.gnu.org/software/libiconv/, and >> now I can easily replace all non- ASCII characters in my UTF-8 encoded R >> files with: iconv -f UTF-8 -t ASCII --unicode-subst="\u%04X" >> my-utf-8-encoded-file.R > >

Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

2012-01-19 Thread Simon Urbanek
On Jan 19, 2012, at 6:39 PM, Thomas Zumbrunn wrote: > On Thursday 19 January 2012, peter dalgaard wrote: >> On Jan 18, 2012, at 23:54 , Thomas Zumbrunn wrote: >>> plain("Zürich") ## works >>> plain("Z\u00BCrich") ## fails >>> escaped("Zürich") ## fails >>> escaped("Z\u00BCrich") ## works

Re: [Rd] Updated Windows toolchain

2012-01-19 Thread Dan Tenenbaum
2012/1/19 Uwe Ligges : > For the records: This rsync infelicity has been solved in the meantime. I can confirm that it works; just downloaded r58140. Thanks! Dan > > Uwe Ligges > > > On 19.01.2012 02:03, Dan Tenenbaum wrote: >> >> Hi Uwe, >> >> 2012/1/18 Uwe Ligges: >>> >>> >>> >>> On 18.01.2012

Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

2012-01-19 Thread Jeroen Ooms
> > I installed "libiconv" from http://www.gnu.org/software/libiconv/, and > now I can easily replace all non- ASCII characters in my UTF-8 encoded R > files with: iconv -f UTF-8 -t ASCII --unicode-subst="\u%04X" > my-utf-8-encoded-file.R Maybe it would be possible to create an R package that exp

Re: [Rd] use of UTF-8 \uxxxx escape sequences in function arguments

2012-01-19 Thread Thomas Zumbrunn
On Thursday 19 January 2012, peter dalgaard wrote: > On Jan 18, 2012, at 23:54 , Thomas Zumbrunn wrote: > > plain("Zürich") ## works > > plain("Z\u00BCrich") ## fails > > escaped("Zürich") ## fails > > escaped("Z\u00BCrich") ## works > > Using the correct UTF-8 code helps quite a bit:

[Rd] RApache installation problems

2012-01-19 Thread Gísli Leifsson
Hi all I was trying to isntall RApache last week but ran into strnge problems that no one else seems to be experiencing. At least I couldn't find anything after extensive googling. First off, the machine I'm installing on looks like this: Dell Optiplex 745 32 bit 2GB RAM Fedora 15 httpd -v Ser

[Rd] Capturing interrupts during the execution of system/system2

2012-01-19 Thread Gaidatzis, Dimosthenis
Dear R Team I have a question about the system/system2 command in R on linux. My goal is to run a system command (which can take a long time) and to detect if it was successful or not. If i understood correctly the return value of system should give me exactly this information. However if i try

Re: [Rd] Updated Windows toolchain

2012-01-19 Thread Uwe Ligges
For the records: This rsync infelicity has been solved in the meantime. Uwe Ligges On 19.01.2012 02:03, Dan Tenenbaum wrote: Hi Uwe, 2012/1/18 Uwe Ligges: On 18.01.2012 01:09, Dan Tenenbaum wrote: Hello, On Mon, Jan 9, 2012 at 12:28 AM, Prof Brian Ripley wrote: CRAN Windows binary