Re: [Rd] Using \u2030 in plot axis label - stack smashing

2006-09-19 Thread Gavin Simpson
On Tue, 2006-09-19 at 08:26 +0100, Prof Brian Ripley wrote: I didn't have access to my FC5 boxes yesterday (electrical testing). This does need the FC5-specific compilation options set (-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4), so it is not surprising

Re: [Rd] Using \u2030 in plot axis label - stack smashing

2006-09-19 Thread Peter Dalgaard
Prof Brian Ripley [EMAIL PROTECTED] writes: Thanks Prof. Ripley and Ei-Ji. I should have mentioned that all the versions I reported for were self-compiled, and I did so with the same set of flags as the FC5 rpm. Will add that to the list in my head of things to report. (I think this is

Re: [Rd] Help for methods

2006-09-19 Thread Hin-Tak Leung
You are supposed to do: ?summary.lm ?summary.data.frame for S3 methods. The former works, the latter doesn't - which is probably considered a bug, but then the usage of some of the generics are probably considered obvious and fundamental enough that summary.data.frame doesn't really behave in

Re: [Rd] Help for methods

2006-09-19 Thread hadley wickham
You are supposed to do: ?summary.lm ?summary.data.frame for S3 methods. The former works, the latter doesn't - which is probably considered a bug, but then the usage of some of the generics are probably considered obvious and fundamental enough that summary.data.frame doesn't really

Re: [Rd] Help for methods

2006-09-19 Thread Prof Brian Ripley
On Tue, 19 Sep 2006, hadley wickham wrote: You are supposed to do: ?summary.lm ?summary.data.frame for S3 methods. The former works, the latter doesn't - which is ?summary.data.frame does work on my systems. probably considered a bug, but then the usage of some of the generics are

Re: [Rd] Help for methods

2006-09-19 Thread Duncan Murdoch
On 9/19/2006 8:52 AM, hadley wickham wrote: You are supposed to do: ?summary.lm ?summary.data.frame for S3 methods. The former works, the latter doesn't - which is probably considered a bug, but then the usage of some of the generics are probably considered obvious and fundamental enough

Re: [Rd] Help for methods

2006-09-19 Thread Gregor Gorjanc
Hin-Tak Leung hin-tak.leung at cimr.cam.ac.uk writes: You are supposed to do: ?summary.lm ?summary.data.frame for S3 methods. The former works, the latter doesn't - which is probably considered a bug, but then the usage of some of the I do not follow this. When I type

Re: [Rd] Using \u2030 in plot axis label - stack smashing

2006-09-19 Thread Prof Brian Ripley
On Tue, 19 Sep 2006, Peter Dalgaard wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: Thanks Prof. Ripley and Ei-Ji. I should have mentioned that all the versions I reported for were self-compiled, and I did so with the same set of flags as the FC5 rpm. Will add that to the list in my head

Re: [Rd] Help for methods

2006-09-19 Thread hadley wickham
Well, I know that, and you know that, but how is anyone supposed to figure it out? It means that you need to have a working knowledge of the S3 and S4 class systems before you can use the help to reliably get the documentation you need. For S3 you do to understand that there are

Re: [Rd] Help for methods

2006-09-19 Thread Prof Brian Ripley
On Tue, 19 Sep 2006, hadley wickham wrote: Well, I know that, and you know that, but how is anyone supposed to figure it out? It means that you need to have a working knowledge of the S3 and S4 class systems before you can use the help to reliably get the documentation you need. For

Re: [Rd] Help for methods

2006-09-19 Thread hadley wickham
But you also have to be able to identify if it is a S3 function or an S4 method (or an ordinary function). Why not just type ?summary, which as I said, does tell you up front? If R can save the novice user a couple of steps in their search for help, why not do it? Getting documentation on

Re: [Rd] Using \u2030 in plot axis label - stack smashing

2006-09-19 Thread Gavin Simpson
On Tue, 2006-09-19 at 14:23 +0200, Peter Dalgaard wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: Thanks Prof. Ripley and Ei-Ji. I should have mentioned that all the versions I reported for were self-compiled, and I did so with the same set of flags as the FC5 rpm. Will add that to

Re: [Rd] Help for methods

2006-09-19 Thread hadley wickham
I do not follow this. When I type ?summary.data.frame I get a summary help page where I can also find info about S3 method for class 'data.frame'. If I am not wrong it is \alias{summary.data.frame} that takes care of this. Oops, summary.data.frame was a bad example, except perhaps to

Re: [Rd] Help for methods

2006-09-19 Thread Duncan Murdoch
On 9/19/2006 9:16 AM, hadley wickham wrote: In the alpha of 2.4.0, both suggestions above work, as do ?summary and ?summary(data.frame()). ?summary(lm()) gives the same man page, rather than the summary.lm page (but the page does have a link to that page). That's great. The fact that

Re: [Rd] Using \u2030 in plot axis label - stack smashing

2006-09-19 Thread Prof Brian Ripley
On Tue, 19 Sep 2006, Prof Brian Ripley wrote: On Tue, 19 Sep 2006, Peter Dalgaard wrote: Prof Brian Ripley [EMAIL PROTECTED] writes: Thanks Prof. Ripley and Ei-Ji. I should have mentioned that all the versions I reported for were self-compiled, and I did so with the same set of flags as

[Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Kjetil Halvorsen
This is from R-2.4.0alpha on windows XP, downloaded from CRAN yesterday. I did update.packages(destdir= ..., ask=FALSE,checkBuilt=TRUE) which took quite a long time (as.expected). When the internet cafe had to close, I had to stop the downloading, but the menu item misc --- stop current

Re: [Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Prof Brian Ripley
On Tue, 19 Sep 2006, Kjetil Halvorsen wrote: This is from R-2.4.0alpha on windows XP, downloaded from CRAN yesterday. I did update.packages(destdir= ..., ask=FALSE,checkBuilt=TRUE) which took quite a long time (as.expected). When the internet cafe had to close, I had to stop the

Re: [Rd] Rgui.exe plot device Save as crash (PR#9237)

2006-09-19 Thread Duncan Murdoch
On 9/19/2006 2:15 PM, Michael Toews wrote: I was guessing that this bug would be difficult to trace, I just wanted to document its presence. It is not critical, and can be easily be avoided by: - Saving in Jpeg format; or - Not saving to the Desktop (unless navigated from C:\Documents and

Re: [Rd] Help for methods

2006-09-19 Thread John Chambers
It's not likely that S3 methods will ever go away, at least in the sense that all the code using them would be rewritten. What we can work towards is to make more of the automated tools work for S3 methods as well as S4. This will usually involve package owners generating some information,

Re: [Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Kjetil Halvorsen
Thanks. I am quite sure I don't want pending on exit actions to be done! I will try to remember about the esc trick. Kjetil halvorsen On 9/19/06, Prof Brian Ripley [EMAIL PROTECTED] wrote: On Tue, 19 Sep 2006, Kjetil Halvorsen wrote: This is from R-2.4.0alpha on windows XP, downloaded from

Re: [Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Henrik Bengtsson
On 9/19/06, Prof Brian Ripley [EMAIL PROTECTED] wrote: On Tue, 19 Sep 2006, Kjetil Halvorsen wrote: This is from R-2.4.0alpha on windows XP, downloaded from CRAN yesterday. I did update.packages(destdir= ..., ask=FALSE,checkBuilt=TRUE) which took quite a long time (as.expected). When

Re: [Rd] An update method for lists?

2006-09-19 Thread Deepayan Sarkar
On 9/19/06, Gabor Grothendieck [EMAIL PROTECTED] wrote: Perhaps it should have another name, be made generic and extended to functions in which case it would work on the formal arguments. e.g. read.table.comma - modify(read.table, list(sep = ,)) would return a function that is the same

[Rd] Sweave processes \Sexpr in commented LaTeX source (2.3.1patched and 2.4.0)

2006-09-19 Thread Marc Schwartz
Hi all, On FC5, using: Version 2.3.1 Patched (2006-08-06 r38829) and today's R version 2.4.0 alpha (2006-09-19 r39397) with the following .Rnw file: \documentclass[10pt]{article} \begin{document} This line should print '2': \Sexpr{1 + 1} %% This line should NOT print '2': \Sexpr{1 +

Re: [Rd] wishlist --- menu entry [Rgui] misc --- stop current computation

2006-09-19 Thread Prof Brian Ripley
On Tue, 19 Sep 2006, Henrik Bengtsson wrote: On 9/19/06, Prof Brian Ripley [EMAIL PROTECTED] wrote: On Tue, 19 Sep 2006, Kjetil Halvorsen wrote: This is from R-2.4.0alpha on windows XP, downloaded from CRAN yesterday. I did update.packages(destdir= ..., ask=FALSE,checkBuilt=TRUE)