[Rd] R installation problems on Windows XP (PR#4842)

2003-10-28 Thread Yongchao . Ge
Full_Name: Yongchao Ge Version: 1.8 OS: Windows XP profesional Submission from: (NULL) (146.203.2.152) The R installation is fine on Windows XP, but when I started to open the R program, then it pops out this message: "R for Windows GUI front-end has encountered a problem and needs to close. We

[Rd] Rdconv Rd->Ssgm doesn't convert aliases (PR#4838)

2003-10-28 Thread Tim . Keighley
Hi, When using Rdconv to convert R documentation to S-PLUS SGML documentation, the \name{} is converted to but the \alias{}es are not. Below is a (crude) patch to fix this problem: Compare: (<)D:\Apps\R\R-1.8.0\share\perl\R\Rdconv.pm.orig (88302 bytes) with: (>)D:\Apps\R\R-1.8.0\share\perl\R\

[Rd] Wishlist: user-specified color names for palette() (PR#4836)

2003-10-28 Thread htang
Full_Name: Hsiu-Khuern Tang Version: 1.8.0 OS: GNU/Linux (Debian unstable) Submission from: (NULL) (156.153.255.243) Hi, I use palette(rgb(red=..., green=..., blue=..., names=mycolors)) to define my own color palette. After doing this, the names `mycolors' are not stored in palette() anymore

Re: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread Ben Bolker
You may think this is ridiculous, but here's the situation I'm thinking about. Students are trying (e.g.) to evaluate a likelihood for a series of parameter values, and want to store the results in a vector, e.g.: pvec = seq(0,10,by=0.1) likvec = numeric(length(pvec)) They try something

Re: [Rd] configure, config.site and TCLTK_CPPFLAGS

2003-10-28 Thread Kurt Hornik
> Peter Kleiweg writes: > # aldus Kurt Hornik : >> > I am trying to configure R-1.8.0-patched (fresh rsync) for machines >> > with the tcltk files in unorthodox locations. I specified a >> > TCLTK_CPPFLAGS='/usr/freeware/include/' in the file config.site but it >> > seems that a '# no special

RE: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread Tony Plate
I suspect that it would break too much existing code to make all subscripting behave in a "strict" manner. However, I wonder if it would be possible to use namespaces and packages to make a particular package get strict versions of subscripting operators? It would have to be done in such a wa

Re: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread Prof Brian Ripley
You would need at least a fuzz for computed indices being slightly non-integer (although the calling code should do that). I can think of several cases where the implicit floor() is convenient. Can you tell me of examples where users would do this by accident (or out of non-RTFM)? On Tue, 28 Oc

Re: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread David Brahm
Tony Plate <[EMAIL PROTECTED]> wrote: > I'd like to propose adding "strict" versions of the subsetting operators "[", > "[[", and "$" to the R language. Interesting idea, Tony! I think you're addressing 3 somewhat distinct problems; here's how I deal with them currently: 1) Partial string matchi

Re: [Rd] proposal for "strict" versions of subsetting operators

2003-10-28 Thread Ben Bolker
On a related topic: is there any chance/any interest in a slight modification of the subsetting code that would generate a warning when the user tried to subset with a non-integer? The current behavior is that the non-integer is coerced to an integer, which means that e.g. x[3.8] is equival