RE: [Rd] ?"=" (Windows) (PR#7504)

2005-01-12 Thread McGehee, Robert
Well, you got me investigating this. Unexpectedly, it actually seems to be an ESS bug as the correct documentation pops up using the RGui and the command-line interface, but not when I run it through Emacs / ESS-5.2.3. (I use Emacs on Windows but not on Linux). Unless someone has a different experi

RE: [Rd] Inaccuracy in seq() function (PR#7503)

2005-01-12 Thread Ted Harding
On 12-Jan-05 [EMAIL PROTECTED] wrote: > [...] > When generating the sequence using seq() function with > non-integer numbers result is somewhat unpredictable. > Example: >> v1<-seq(1.60,1.90,.05) >> v2<-c(1.60,1.65,1.70,1.75,1.80,1.85,1.90) >> v1-v2 > [1] 0.00e+00 2.220446e-16 2.220446e-16 0.00

Re: [Rd] ?"=" (Windows) (PR#7504)

2005-01-12 Thread Charles C. Berry
works for me. same version (i386-ps-mingw32 2.0.1) as yours on Windows 98. On Wed, 12 Jan 2005 [EMAIL PROTECTED] wrote: ?"=", ?"==", ?"!=", ?">=", and ?"<=" sends me to the documentation for ?help on Windows, while returning the correct documentation on Linux. Robert version _ platform i386

Re: [Rd] Inaccuracy in seq() function (PR#7503)

2005-01-12 Thread Prof Brian Ripley
And the bug is? You don't expect 1.60 + 0.05 == 1.65 do you? None of those numbers can be represented exactly in a binary computer, so there are bound to be small errors as you have noted. See the warning in help("=="), and the section on BUGS in the FAQ. On Wed, 12 Jan 2005 [EMAIL PROTECTED] w

[Rd] ?"=" (Windows) (PR#7504)

2005-01-12 Thread Robert . McGehee
?"=", ?"==", ?"!=", ?">=", and ?"<=" sends me to the documentation for ?help on Windows, while returning the correct documentation on Linux. Robert > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status

[Rd] Inaccuracy in seq() function (PR#7503)

2005-01-12 Thread vstolin
Full_Name: Vlad Stolin Version: R 2.0.0 OS: Windows 2000 Submission from: (NULL) (204.128.232.211) When generating the sequence using seq() function with non-integer numbers result is somewhat unpredictable. Example: > v1<-seq(1.60,1.90,.05) > v2<-c(1.60,1.65,1.70,1.75,1.80,1.85,1.90) > v1-v2 [1]

Re: [Rd] mydataframe$colname: using substring of colname may also match some column (PR#7496)

2005-01-12 Thread Tony Plate
At Wednesday 03:50 AM 1/12/2005, [EMAIL PROTECTED] wrote: Full_Name: Marc Mamin Version: 1.8, 2.0.0 OS: Windows & Linux Submission from: (NULL) (217.17.202.254) [snipped issues previously responded to] Here another example that underline how problematic this issue can be: aa1<-1 aa2<-2 df<-as.data.

Re: [Rd] DSC 2005

2005-01-12 Thread Marc Schwartz
On Wed, 2005-01-12 at 07:23 -0800, Thomas Lumley wrote: > On Wed, 12 Jan 2005, Marc Schwartz wrote to r-help: > > I have not seen anything posted yet for DSC 2005, unless I missed it > > someplace. > > DSC 2005 will be held in Seattle, at the University of Washington, August > 13-15. > > This da

[Rd] DSC 2005

2005-01-12 Thread Thomas Lumley
On Wed, 12 Jan 2005, Marc Schwartz wrote to r-help: I have not seen anything posted yet for DSC 2005, unless I missed it someplace. DSC 2005 will be held in Seattle, at the University of Washington, August 13-15. This date is immediately after the Joint Statistical Meetings, and was chosen for t

[Rd] typo in help prcomp

2005-01-12 Thread Stephen Eglen
in R 2.0.1, the help page for `prcomp' says: 'prcomp' returns an list AN ahould be A. Stephen __ R-devel@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] mydataframe$colname: using substring of colname may also match some column (PR#7496)

2005-01-12 Thread Prof Brian Ripley
That is the documented behaviour, not a bug! BTW, df is the F density function. If you want an exact match, use df[match("aa", names(df))] On Wed, 12 Jan 2005 [EMAIL PROTECTED] wrote: Full_Name: Marc Mamin Version: 1.8, 2.0.0 OS: Windows & Linux Submission from: (NULL) (217.17.202.254) Using only

Re: [Rd] mydataframe$colname: using substring of colname may also (PR#7497)

2005-01-12 Thread ripley
That is the documented behaviour, not a bug! BTW, df is the F density function. If you want an exact match, use df[match("aa", names(df))] On Wed, 12 Jan 2005 [EMAIL PROTECTED] wrote: > Full_Name: Marc Mamin > Version: 1.8, 2.0.0 > OS: Windows & Linux > Submission from: (NULL) (217.17.202.254)

[Rd] mydataframe$colname: using substring of colname may also match some column (PR#7496)

2005-01-12 Thread marc
Full_Name: Marc Mamin Version: 1.8, 2.0.0 OS: Windows & Linux Submission from: (NULL) (217.17.202.254) Using only the beginning of a column name will match it: >aaa<-1 >df<-as.data.frame(aaa) >names(df) [1] "aaa" >df$a [1] 1 ! (I expect df$a to be undefind) >df$x >NULL Compare with