Re: [Rd] POSIXlt getting sec element at 60 when converting from POSIXct

2008-10-14 Thread Prof Brian Ripley
As you say, not reproducible. Any chance that you could put a save() file containing t1 somewhere we can get it? On Tue, 14 Oct 2008, Sklyar, Oleg (London) wrote: In some cases rounding problems lead to creation of logically incorrect times in POSIXlt when converting from POSIXct. ## everyth

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Prof Brian Ripley
Thanks Bill, but this is 'build'. It is intended that INSTALL will be an R script in R 2.9.0 (actually, we intended it for 2.8.0 but ran out of time). Our recommendation is to install from a tarball, except perhaps during package development. So read-only package dirs are not an issue. On

Re: [Rd] dos-style line endings in .Rbuildignore result i n files not being excluded

2008-10-14 Thread Nathan Coulter
> ---Original Message--- > From: Prof Brian Ripley <[EMAIL PROTECTED]> > Subject: Re: [Rd] dos-style line endings in .Rbuildignore result in files > not being excluded > Sent: 2008-10-14 12:59 > > On Tue, 14 Oct 2008, Nathan Coulter wrote: > > > Prof Brian Ripley wrote: > > > >

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread William Dunlap
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Tony Plate > Sent: Tuesday, October 14, 2008 8:40 AM > To: [EMAIL PROTECTED] > Cc: Sebastian P. Luque; Prof Brian Ripley > Subject: Re: [Rd] dos-style line endings in .Rbuildignore > result in files

[Rd] POSIXlt getting sec element at 60 when converting from POSIXct

2008-10-14 Thread Sklyar, Oleg (London)
In some cases rounding problems lead to creation of logically incorrect times in POSIXlt when converting from POSIXct. ## everything works fine for the following values: x = c(1223972160.0, 1223982660.0, 1223994660.) ## adding 0s for the epoch x = x + as.POSIXct("1970-01-01 00:00") - a

Re: [Rd] relative path to source files in vignette [a solution somehow]

2008-10-14 Thread Peter Ruckdeschel
Gabor Grothendieck schrieb: > On Fri, Oct 10, 2008 at 7:06 PM, Peter Ruckdeschel > <[EMAIL PROTECTED]> wrote: > [snip] >> This could indeed be an option, but as noted in my reply to Robert, my >> guess is that in the library where you install your packages to and which is >> found with system.fi

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Tony Plate
Prof Brian Ripley wrote: On Tue, 14 Oct 2008, Sebastian P. Luque wrote: On Mon, 13 Oct 2008 23:10:41 -0600, Tony Plate <[EMAIL PROTECTED]> wrote: I was trying, on a Linux system, to get a .Rbuildignore file to work. After far too long, I found the problem was the line endings in the .Rbuildi

Re: [Rd] solve cdf for noncentrality (PR#11527)

2008-10-14 Thread jerry . lewis
R implementations of Student's t, chi-squared, F, and beta distributions all support noncentrality parameters. There is often a need (for example in sample size problems) to invert the cdf to obtain the noncentrality parameter given the quantile, instead of to obtain the quantile given the non

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Sebastian P. Luque
On Tue, 14 Oct 2008 08:46:36 -0400, Nathan Coulter <[EMAIL PROTECTED]> wrote: > Prof Brian Ripley wrote: >> But to the point: how often do people get DOS-style files on a >> Unix-alike? You have to work pretty hard to do this, and there comes >> a point at which complicating R to workaround wrongl

Re: [Rd] solve cdf for noncentrality (PR#11527)

2008-10-14 Thread ligges
Jerry Lewis wrote: > R implementations of Student's t, chi-squared, F, and beta distributions > all support noncentrality parameters. There is often a need (for example > in sample size problems) to invert the cdf to obtain the noncentrality > parameter given the quantile, instead of to obtai

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Prof Brian Ripley
On Tue, 14 Oct 2008, Nathan Coulter wrote: Prof Brian Ripley wrote: But to the point: how often do people get DOS-style files on a Unix-alike? You have to work pretty hard to do this, and there comes a point at which complicating R to workaround wrongly encoded files is not worth the trouble.

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Nathan Coulter
Prof Brian Ripley wrote: > But to the point: how often do people get DOS-style files on a > Unix-alike? You have to work pretty hard to do this, and there comes a > point at which complicating R to workaround wrongly encoded files is not > worth the trouble. Let's see if anyone else reports havi

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Dirk Eddelbuettel
On 14 October 2008 at 07:27, Dirk Eddelbuettel wrote: | | On 14 October 2008 at 12:38, Prof Brian Ripley wrote: | | The error is on installed.packages(): you have a faulty package installed. | | Confirmed. That explains why my update.r from littler worked as it looked | only at /usr/local/lib/R/

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Prof Brian Ripley
On Tue, 14 Oct 2008, Dirk Eddelbuettel wrote: On 14 October 2008 at 12:38, Prof Brian Ripley wrote: | The error is on installed.packages(): you have a faulty package installed. Confirmed. That explains why my update.r from littler worked as it looked only at /usr/local/lib/R/. Being more expl

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Dirk Eddelbuettel
On 14 October 2008 at 12:38, Prof Brian Ripley wrote: | The error is on installed.packages(): you have a faulty package installed. Confirmed. That explains why my update.r from littler worked as it looked only at /usr/local/lib/R/. Being more explicit about lib.loc I get: > update.packages(repo

Re: [Rd] dos-style line endings in .Rbuildignore result in files not being excluded

2008-10-14 Thread Prof Brian Ripley
On Tue, 14 Oct 2008, Sebastian P. Luque wrote: On Mon, 13 Oct 2008 23:10:41 -0600, Tony Plate <[EMAIL PROTECTED]> wrote: I was trying, on a Linux system, to get a .Rbuildignore file to work. After far too long, I found the problem was the line endings in the .Rbuildignore file -- I had origin

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Prof Brian Ripley
The error is on installed.packages(): you have a faulty package installed. On Tue, 14 Oct 2008, Dirk Eddelbuettel wrote: On 14 October 2008 at 10:09, Prof Brian Ripley wrote: | On Tue, 14 Oct 2008, Peter Dalgaard wrote: | | > [EMAIL PROTECTED] wrote: | >> On 14 October 2008 at 09:39, Simon Blo

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Dirk Eddelbuettel
On 14 October 2008 at 10:09, Prof Brian Ripley wrote: | On Tue, 14 Oct 2008, Peter Dalgaard wrote: | | > [EMAIL PROTECTED] wrote: | >> On 14 October 2008 at 09:39, Simon Blomberg wrote: | >> | Hi, is anyone else getting this error? Could this be a bug?: | >> | | > update.packages(ask=FALSE) | >>

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Prof Brian Ripley
On Tue, 14 Oct 2008, Peter Dalgaard wrote: [EMAIL PROTECTED] wrote: On 14 October 2008 at 09:39, Simon Blomberg wrote: | Hi, is anyone else getting this error? Could this be a bug?: | | > update.packages(ask=FALSE) | Error in read.dcf(pkgpath, fields = fields) : | Line starting 'unix; ...' i

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13162)

2008-10-14 Thread mar36
Dirk Eddelbuettel wrote: > On 14 October 2008 at 09:39, Simon Blomberg wrote: > | Hi, is anyone else getting this error? Could this be a bug?: > | > | > update.packages(ask=FALSE) > | Error in read.dcf(pkgpath, fields = fields) : > | Line starting 'unix; ...' is malformed! > | > | > sessionI

Re: [Rd] [R-sig-Debian] problem with update.packages (PR#13161)

2008-10-14 Thread Peter Dalgaard
[EMAIL PROTECTED] wrote: On 14 October 2008 at 09:39, Simon Blomberg wrote: | Hi, is anyone else getting this error? Could this be a bug?: | | > update.packages(ask=FALSE) | Error in read.dcf(pkgpath, fields = fields) : | Line starting 'unix; ...' is malformed! | | > sessionInfo() | R versio