[Rd] typo in as.POSIXlt.Rd example

2006-09-01 Thread Gabor Grothendieck
In the R 2.4.0 as.POSIXlt.Rd example section: https://svn.r-project.org/R/trunk/src/library/base/man/as.POSIXlt.Rd "GMT" is mispelled as "GNT". That example does not appear in 2.3.1 __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/li

Re: [Rd] R svn log problem

2006-09-01 Thread Duncan Murdoch
On 9/1/2006 3:53 PM, Gabor Grothendieck wrote: > The svn log seems to be missing again. This also happened > 10 days ago. > > On 8/21/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: >> The R svn log usually available at: >> >> http://developer.r-project.org/R.svnlog.2006 >> >> seems to be missi

Re: [Rd] R svn log problem

2006-09-01 Thread Gabor Grothendieck
The svn log seems to be missing again. This also happened 10 days ago. On 8/21/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > The R svn log usually available at: > > http://developer.r-project.org/R.svnlog.2006 > > seems to be missing. > __ R-deve

Re: [Rd] Overriding InitTempDir

2006-09-01 Thread Jeffrey Horner
Prof Brian Ripley wrote: > It is conventional for people proposing changes to R to set out a > compelling case as to why they are needed. I have not seen any case here. > Can we please have one? Here's the case for RApache: An Apache server built with the prefork multi-processing module creates

Re: [Rd] R-Project logo in SVG format

2006-09-01 Thread Don MacQueen
I have a file named Rlogo-5.svg, created by downloading Rlogo-5.png, opening it with Adobe Illustrator, Saving as SVG. I didn't tinker with any of Illustrator's options with regard to how, exactly, to save it, since I pretty much don't know what they mean. Whether it is of any use to anyone, o

Re: [Rd] Interface for package supplied random number generator

2006-09-01 Thread Prof Brian Ripley
On Fri, 1 Sep 2006, Prof Brian Ripley wrote: > This really is not a good time for us (and apparently you've know about > this for a year). Could you come back to it once 2.4.0 is released (due > Oct 23)? Oops, a backspace failed: Oct 3. > > [We are busy with getting R-devel ready for 2.4.0,

Re: [Rd] setMethod("Logic", ...)

2006-09-01 Thread Prof Brian Ripley
Accordng to the S4groupGeneric page, there is no such group. My guess as to why: Those operators are not S3 generic in R, and S4 dispatch is piggy-backed on S3 dispatch (not necessarily, but for convenience). On Fri, 1 Sep 2006, Robin Hankin wrote: > Hi > > > In V&R the "polynomial" class i

Re: [Rd] Interface for package supplied random number generator

2006-09-01 Thread Prof Brian Ripley
This really is not a good time for us (and apparently you've know about this for a year). Could you come back to it once 2.4.0 is released (due Oct 23)? [We are busy with getting R-devel ready for 2.4.0, and I think that other mechanisms for this have been mooted, again at a time which was not

Re: [Rd] Overriding InitTempDir

2006-09-01 Thread Prof Brian Ripley
It is conventional for people proposing changes to R to set out a compelling case as to why they are needed. I have not seen any case here. Can we please have one? Someone will have to think through the ramifications of such a change (and BTW using edit() in an R console is not at all unlikely)

Re: [Rd] [<-.POSIXlt changes order of attributes (PR#9197)

2006-09-01 Thread Prof Brian Ripley
Please point us to the documentation that says attributes are ordered. E.g. R-lang.texi says All objects except @code{NULL} can have one or more attributes attached to them. Attributes are stored as a list where all elements are named. (although in fact they are stored in a pairlist). I kno

Re: [Rd] Overriding InitTempDir

2006-09-01 Thread Jeffrey Horner
Jeffrey Horner wrote: > For embedded projects, one may want to eliminate the per-session temp > directory created by InitTempDir() and just use a system-specific temp > directory. Here's my solution: > > extern char *R_TempDir; > > void my_InitTempDir() > { > char *tmp; > > if (R_Tem

[Rd] read.ssd (foreign) 'wishes': enable long variable names, add output object to windows example

2006-09-01 Thread gcbooma
Hello, A couple of quick 'wishes' for read.ssd in the foreign package: 1) Enable long variable names by adding 'options validvarname=v6;' line directly before doing 'proc copy', e.g. (from my own alteration of read.ssd): #export the data st7 <- "options validvarname=v6;\n" st8 <- past

Re: [Rd] Thai locale not working on Mac OSX (PR#9175)

2006-09-01 Thread Ei-ji Nakama
th_TH does not exist at locale of OSX. I should be able to handle Thai character string in UTF-8 locale such as en_US.UTF-8. There is also a method of preparing th_TH local with localedef. 2006/8/27, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > Full_Name: Hutcha Sriplung > Version: R-2.3.1 > OS: Mac

Re: [Rd] R crashes in Mac OS 10.4 when Find is used (PR#9192)

2006-09-01 Thread Rob J Goedman
Matt, This is not an R bug or r-devel issue. The proper email list is R-SIG- Mac. Maybe the 1st step we can try is to install the latest version of the R.app, which you can find at http://r.research.att.com/ . Can you please download the nightly build of just the R.app GUI and see if the prob

[Rd] setMethod("Logic", ...)

2006-09-01 Thread Robin Hankin
Hi In V&R the "polynomial" class is explicitly specified to have no logical operators: setMethod("Logic", signature(e1="polynomial"), function(e1,e2){stop ("...")}) I too have a class of objects for which I want to specify that Logic operators do not work, but executing setClass("brob"

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Dirk Eddelbuettel
On 1 September 2006 at 06:25, Gabor Grothendieck wrote: | Note that there is some discussion in the help desk article | in R News 4/1 and a table of tested conversions at | the end of that article.If x is of class "Date" then for | converting from Date to POSIXct the table suggests | as.POSIXc

Re: [Rd] S4 changes - sp fails

2006-09-01 Thread John Chambers
General comments. A number of packages will likely be showing weird warnings on attach() about packages being out of date. Likely caused by a confusion when two packages define the same generic. The bug is being worked on, but there are some issues of package design that will need discussion

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Prof Brian Ripley
On Fri, 1 Sep 2006, Peter Dalgaard wrote: > Prof Brian Ripley <[EMAIL PROTECTED]> writes: > > > On Fri, 1 Sep 2006, Peter Dalgaard wrote: > > > > [...] > > > > > I'm not sure any of this is actual bugs (Brian will tell us soon > > > enough), but it does appear at least to be underdocumented. >

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Peter Dalgaard
Prof Brian Ripley <[EMAIL PROTECTED]> writes: > On Fri, 1 Sep 2006, Peter Dalgaard wrote: > > [...] > > > I'm not sure any of this is actual bugs (Brian will tell us soon > > enough), but it does appear at least to be underdocumented. > > (Your message crossed mine.) > > I think it is not a bu

[Rd] [<-.POSIXlt changes order of attributes (PR#9197)

2006-09-01 Thread gregor . gorjanc
This is a multi-part message in MIME format. --090203020600020104020707 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello! I was doing some tests with identical() and found out that [<-.POSIXlt method changes order of attributes. This example shows that: x

Re: [Rd] as.environment(NULL)

2006-09-01 Thread Prof Brian Ripley
Your code contains onion.R:"Re.default" <- get("Re",pos=NULL,mode="function") onion.R:"Im.default" <- get("Im",pos=NULL,mode="function") and has been giving deprecated warnings for a while (and ?get does not say NULL is allowable). The relevant NEWS item is o Use of NULL as an environmen

Re: [Rd] S4 changes - sp fails

2006-09-01 Thread Roger Bivand
On Fri, 1 Sep 2006, Roger Bivand wrote: > On Fri, 1 Sep 2006, Prof Brian Ripley wrote: > > > Since writing that, I have found that there is a similar problem with > > testing mvoutliers (which does load sp), and it depends on exactly what > > has been done in what order. (I'll forward to you t

[Rd] as.environment(NULL)

2006-09-01 Thread Robin Hankin
Hi In NEWS, it says R CMD check now tests that the package can be loaded, and that the package and namespace (if there is one) can each be loaded in startup code (before the standard packages are loaded). For package "onion", I think I have followed all of sections 1.6.

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Prof Brian Ripley
On Fri, 1 Sep 2006, Peter Dalgaard wrote: [...] > I'm not sure any of this is actual bugs (Brian will tell us soon > enough), but it does appear at least to be underdocumented. (Your message crossed mine.) I think it is not a bug and actually explicitly documented in ?as.POSIXlt. What may hel

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Gabor Grothendieck
Note that there is some discussion in the help desk article in R News 4/1 and a table of tested conversions at the end of that article.If x is of class "Date" then for converting from Date to POSIXct the table suggests as.POSIXct(format(x)) or as.POSIXct(format(x), tz = "GMT") according to whet

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Prof Brian Ripley
You misunderstand the role of timezones. as.POSIXct(Sys.Date()) is in UTC, as documented. as.POSIXlt(Sys.Date()) does not have a timezone (POSIXlt objects do not need one). as.POSIXct(as.POSIXlt(Sys.Date())) means as.POSIXct(as.POSIXlt(Sys.Date()), tz="") which is asking to interpret this i

Re: [Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Erich Neuwirth > Version: 2.3.1 > OS: Windows XP, Linux > Submission from: (NULL) (131.130.135.167) > > > Converting Sys.Date() to a POSIX compliant time type in different ways > produces inconsistent results: > > Sys.date() > [1] "2006-09-01" > > as.POSIX

Re: [Rd] round() increases or decreases (PR#9195)

2006-09-01 Thread berwin
G'day Gael, > "GM" == gael millot <[EMAIL PROTECTED]> writes: GM> I have a strange behavior with round() when it has to deal GM> with 5. [...] It also happens with signif() GM> Is it normal ? The "Details" section in the help page of round (?round or help(round)) suggests yes.

[Rd] Date conversion with as.POSIXct and as.POSIXlt (PR#9196)

2006-09-01 Thread erich . neuwirth
Full_Name: Erich Neuwirth Version: 2.3.1 OS: Windows XP, Linux Submission from: (NULL) (131.130.135.167) Converting Sys.Date() to a POSIX compliant time type in different ways produces inconsistent results: > Sys.date() [1] "2006-09-01" > as.POSIXct(Sys.Date()) [1] "2006-09-01 02:00:00 CEST" > a

[Rd] round() increases or decreases (PR#9195)

2006-09-01 Thread gael . millot
Full_Name: Gael Millot Version: 2.3.1. OS: XP Submission from: (NULL) (195.220.102.23) Hello. I have a strange behavior with round() when it has to deal with 5. It sometimes rounds up, sometimes rounds down. Example : coma effect : > round(0.5,0) [1] 0 > round(0.25,1) [1] 0.2 > round(0.225,2) [

Re: [Rd] S4 changes - sp fails

2006-09-01 Thread Roger Bivand
On Fri, 1 Sep 2006, Prof Brian Ripley wrote: > Since writing that, I have found that there is a similar problem with > testing mvoutliers (which does load sp), and it depends on exactly what > has been done in what order. (I'll forward to you the exact description.) Thanks. I reran the intera

Re: [Rd] S4 changes - sp fails

2006-09-01 Thread Prof Brian Ripley
Since writing that, I have found that there is a similar problem with testing mvoutliers (which does load sp), and it depends on exactly what has been done in what order. (I'll forward to you the exact description.) I now suspect there is a protection problem in the new S4 dispatch code. Using

Re: [Rd] S4 changes - sp fails

2006-09-01 Thread Roger Bivand
On Fri, 1 Sep 2006, Prof Brian Ripley wrote: > Roger, > > I had managed to run R CMD check on sp successfully on r39021 and r39043 > (current) in my nightly checks. (There are a couple of tests where the > show/print method is not being invoked, but that is not new.) > > All I can suggest is