Re: [Rd] R CMD INSTALL and file permission settings

2013-07-09 Thread Dirk Eddelbuettel
Hi Dan, On 9 July 2013 at 19:52, Dan Tenenbaum wrote: | Picking up a somewhat old thread...what is the final status of this? In r-patched and r-devel, check the NEWS file. | It doesn't look like an option was added to control the permissions of | installed package files. | It also seems that th

Re: [Rd] R CMD INSTALL and file permission settings

2013-07-09 Thread Dan Tenenbaum
On Sat, Jun 15, 2013 at 4:38 PM, Simon Urbanek wrote: > > On Jun 15, 2013, at 2:42 PM, Martin Maechler wrote: > >>> Dirk Eddelbuettel >>>on Sat, 15 Jun 2013 10:45:04 -0500 writes: >> >>> On 15 June 2013 at 07:00, Dirk Eddelbuettel wrote: >>> | >>> | On 15 June 2013 at 07:47, Simon Urb

[Rd] probable bugs in stats::loglin calculation of pearson chisq

2013-07-09 Thread Michael Friendly
In running the following example of a loglinear model for the Titanic data, I was surprised to see NaN reported for the Pearson chisq > loglin(Titanic, margin=list(1:3, 4)) 2 iterations: deviation 2.273737e-13 $lrt [1] 671.9622 $pearson [1] NaN $df [1] 15 $margin $margin[[1]] [1] "Class" "Sex"

Re: [Rd] Is difftime a "class"

2013-07-09 Thread Kevin R. Coombes
difftime is an S3 class, not an S4 class. To convert it, include the line setOldClass("difftime") and the setMethod call should work. On 7/9/2013 6:03 AM, Dan Murphy wrote: I am trying to write S4 methods with "difftime" in the signature but am being "informed" (? not a warning or error) that

[Rd] Is difftime a "class"

2013-07-09 Thread Dan Murphy
I am trying to write S4 methods with "difftime" in the signature but am being "informed" (? not a warning or error) that "difftime" is not a class. Nevertheless, dispatch takes place. Should I simply ignore that "information"? Here is a toy example: > setClass("foo", contains = "Date") > setMethod