Re: [Rd] assign("FALSE", TRUE)

2008-11-19 Thread Martin Maechler
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> > on Tue, 18 Nov 2008 15:07:04 +0100 writes: PD> Martin Maechler wrote: >>> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> on >>> Tue, 18 Nov 2008 00:00:40 +0100 writes: PD> Martin Maechler wrote: >> >> But

Re: [Rd] (PR#13234) Problems with Sweave and pdf.options(encoding="ISOLatin7")

2008-11-19 Thread Prof Brian Ripley
I can't actually check what happens since the message has been garbled en route to me. Can you please send what you intended using \u escapes so it is portable. (What I have is what appears to be UTF-8 re-encoded in UTF-8, things like c3 84 3f.) And can you also confirm that the example

Re: [Rd] assign("FALSE", TRUE)

2008-11-19 Thread Wacek Kusnierczyk
Martin Maechler wrote: > but notably not mainly by the above. I'd consider the backtick > operator as -- very nice -- syntactic sugar for > assign() and get(). > > And, for "normal" identifiers, > > foo <- 1 > `foo` <- 1 > assign("foo", 1) > "foo" <- 1 # same effect as above >

Re: [Rd] chisq.test with simulate.p.value=TRUE (PR#13292)

2008-11-19 Thread Ben Bolker
unb.br> writes: > For many tables, chisq.test with simulate.p.value=TRUE gives a p value that is > obviously incorrect and inversely proportional to the number of replicates: > > > data(HairEyeColor) > > x <- margin.table(HairEyeColor, c(1, 2)) > > chisq.test(x,simulate.p.value=TRUE,B=2000) >

[Rd] Wishlist - better object.size() function

2008-11-19 Thread Benjamin Hofner
Some time ago I came across the function object.size() to estimate the size of an R object. I don't know if the behavior of the function is intended to be quite "user unfriendly" as it is right now or if just nobody was thinking/caring about it. I have two suggestions to improve it: - Why is i

Re: [Rd] (PR#13234) Problems with Sweave and pdf.options(encoding="ISOLatin7")

2008-11-19 Thread Vaidotas Zemlys
2008/11/19 Prof Brian Ripley <[EMAIL PROTECTED]>: > I can't actually check what happens since the message has been garbled en > route to me. Can you please send what you intended using \u escapes so > it is portable. (What I have is what appears to be UTF-8 re-encoded in > UTF-8, things like

Re: [Rd] R license: GPL v2 or v3?

2008-11-19 Thread Gabor Grothendieck
There is an analysis of the R license here: http://www.ohloh.net/projects/rproject/analyses/latest On Tue, Nov 18, 2008 at 5:24 PM, Gabriel Gellner <[EMAIL PROTECTED]> wrote: > For a project I am porting some of R's source code, and I want to > get the license for my project correct, but the top

Re: [Rd] (PR#13234) Problems with Sweave and pdf.options(encoding="ISOLatin7")

2008-11-19 Thread Prof Brian Ripley
On Wed, 19 Nov 2008, Vaidotas Zemlys wrote: 2008/11/19 Prof Brian Ripley <[EMAIL PROTECTED]>: I can't actually check what happens since the message has been garbled en route to me. Can you please send what you intended using \u escapes so it is portable. (What I have is what appears to be

[Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Daniel Kornhauser
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using R 2.8 with lattice

Re: [Rd] Wishlist - better object.size() function

2008-11-19 Thread Gregor Gorjanc
Benjamin Hofner imbe.med.uni-erlangen.de> writes: ... > - Why is the function returning the size in bytes? This is (in most > cases) overly accurate and for humans hard to read. I would suggest to > have it printed in mb per default and additionally add a switch to > choose the appropriate unit

[Rd] configure.vars arg needed for install.packages

2008-11-19 Thread Jeffrey J. Hallman
Currently, install.packages takes a 'configure.args' argument that adds a --configure-args to the eventual call to R CMD INSTALL. It does not, however, have a 'configure.vars' argument to similarly add the --configure-vars option to R CMD INSTALL, which seems to be an oversight. -- Jeff ___

Re: [Rd] (PR#13234) Problems with Sweave and pdf.options(encoding="ISOLatin7")

2008-11-19 Thread Prof Brian Ripley
Just to close the loop on this, the following works in en_GB.utf8 on 2.8.0: <>= pdf.options(enc="ISOLatin7") ps.options(enc="ISOLatin7") plot(rnorm(100),main="\u0105\u010D\u0117\u0119\u012F\u0161\u016B\u0173\u017E") @ I think the point is that you can use different encodings for different figure

[Rd] doc buglet / attr method

2008-11-19 Thread Paul Roebuck
Under Value section for attr: For the extractor, the value of the attribute matched, or \code{NULL} if no exact match is found and no or more ^^ than one partial match is found. R version 2.7.2 (2008-08-25) -- and --

[Rd] Buggy trellis.focus() with xyplot in JavaGD ?

2008-11-19 Thread Daniel Kornhauser
Hi: (Tried to find a bug report about this issue, but was unable to find it, let me know if this is a known issue) I have been working on an interface to highlight xyplot panels on mouse overs in JavaGD but I have stumbled with what seems to be a bug in trellis.focus. I am using JGR R 2.8 with lat

[Rd] Strategy for downloading packages

2008-11-19 Thread Duncan Murdoch
I have a client who wants to install R and a custom package on a machine with no internet connection, so he wants to put everything needed on a CDROM and install from there. I've told him how to work out what is needed, but it seems that too much manual work is needed: he needs to install the

Re: [Rd] Strategy for downloading packages

2008-11-19 Thread Simon Urbanek
On Nov 19, 2008, at 15:52 , Duncan Murdoch wrote: I have a client who wants to install R and a custom package on a machine with no internet connection, so he wants to put everything needed on a CDROM and install from there. I've told him how to work out what is needed, but it seems that to

Re: [Rd] Strategy for downloading packages

2008-11-19 Thread Prof Brian Ripley
On Wed, 19 Nov 2008, Duncan Murdoch wrote: I have a client who wants to install R and a custom package on a machine with no internet connection, so he wants to put everything needed on a CDROM and install from there. I've told him how to work out what is needed, but it seems that too much ma

Re: [Rd] Strategy for downloading packages

2008-11-19 Thread Duncan Murdoch
On 11/19/2008 4:07 PM, Simon Urbanek wrote: On Nov 19, 2008, at 15:52 , Duncan Murdoch wrote: I have a client who wants to install R and a custom package on a machine with no internet connection, so he wants to put everything needed on a CDROM and install from there. I've told him how to w

Re: [Rd] Strategy for downloading packages

2008-11-19 Thread Duncan Murdoch
On 11/19/2008 4:16 PM, Prof Brian Ripley wrote: On Wed, 19 Nov 2008, Duncan Murdoch wrote: I have a client who wants to install R and a custom package on a machine with no internet connection, so he wants to put everything needed on a CDROM and install from there. I've told him how to work o

Re: [Rd] grid error: protection stack overflow

2008-11-19 Thread Paul Murrell
Hi Felix Andrews wrote: > I have isolated an error that can be reproduced by the following code. > The same thing happens in 2.8.0pat and 2.9.0dev. It looks like the > try() code is ending up in the display list, or something? The problem was that the *unsuccessful* downViewport() was ending up

[Rd] paste() retains quotes (PR#13304)

2008-11-19 Thread gilescrane
Full_Name: Giles L Crane Version: 2.8.0 2008-10-20 OS: Windows XP Submission from: (NULL) (71.168.215.186) paste(rep(" ",10),sep="") [1] " " " " " " " " " " " " " " " " " " " " As I read the documentation for paste(), this should have produced " " that is, all spaces pasted together.

Re: [Rd] (PR#13234) Problems with Sweave and pdf.options(encoding="ISOLatin7")

2008-11-19 Thread Vaidotas Zemlys
2008/11/19 Prof Brian Ripley <[EMAIL PROTECTED]>: > On Wed, 19 Nov 2008, Vaidotas Zemlys wrote: > >> OK, the modified R code is: >> >> >> plot(rnorm(100),main="\u0105\u010D\u0117\u0119\u012F\u0161\u016B\u0173\u017E") >> >> It does not work correctly with Sweave, as I wrote in my email, I >> recheck

[Rd] qr.coef and complex numbers - still busted for non-square case? (PR#13305)

2008-11-19 Thread whorfin
Full_Name: Rick Sayre Version: 2.8.0 OS: windows, linux, os x Submission from: (NULL) (138.72.153.166) PR#8476 and PR#8478 http://bugs.r-project.org/cgi-bin/R/Models-fixed?id=8478 http://bugs.r-project.org/cgi-bin/R/Models-fixed?id=8476 discuss fixing qr.coef to handle complex matrices correctly

Re: [Rd] paste() retains quotes (PR#13304)

2008-11-19 Thread Prof Brian Ripley
On Wed, 19 Nov 2008, [EMAIL PROTECTED] wrote: Full_Name: Giles L Crane Version: 2.8.0 2008-10-20 OS: Windows XP Submission from: (NULL) (71.168.215.186) paste(rep(" ",10),sep="") [1] " " " " " " " " " " " " " " " " " " " " As I read the documentation for paste(), this should have produced "

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Deepayan Sarkar
On Wed, Nov 19, 2008 at 8:55 AM, Daniel Kornhauser <[EMAIL PROTECTED]> wrote: > Hi: > > (Tried to find a bug report about this issue, but was unable to find it, let > me know if this is a known issue) > I have been working on an interface to highlight xyplot panels on mouse > overs in JavaGD but I

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Felix Andrews
2008/11/20 Deepayan Sarkar <[EMAIL PROTECTED]>: > On Wed, Nov 19, 2008 at 8:55 AM, Daniel Kornhauser > <[EMAIL PROTECTED]> wrote: >> Hi: >> >> (Tried to find a bug report about this issue, but was unable to find it, let >> me know if this is a known issue) >> I have been working on an interface to

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Daniel Kornhauser
Thanks a lot for taking this on guys ! Some more background in case you are interested: I have almost a working version of focus for selecting a panel with mouse over in a stanalone Java application using an REngine I only have two issues: - trellis.unfocus() is terribly slow in a plot of 10 x 1

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Felix Andrews
2008/11/20 Daniel Kornhauser <[EMAIL PROTECTED]>: > Thanks a lot for taking this on guys ! > > Some more background in case you are interested: > > I have almost a working version of focus for selecting a panel with mouse > over in a stanalone Java application using an REngine I only have two > iss

Re: [Rd] Buggy trellis.focus() with xyplot ?

2008-11-19 Thread Deepayan Sarkar
On 11/19/08, Daniel Kornhauser <[EMAIL PROTECTED]> wrote: > Thanks a lot for taking this on guys ! > > Some more background in case you are interested: > > I have almost a working version of focus for selecting a panel with mouse > over in a stanalone Java application using an REngine I only have