[Rd] Symbols, install, and eval.

2009-11-25 Thread Guillaume Yziquel
Hello. I've got two values which are calls (i.e. LANGSXPs). The first one, x, is generated through the parser of gram.c. The second one, z, is built manually, by retrieving the symbols of "str" and of "lm" via the install function. The structure of x and y are shown at the bottom of this ema

Re: [Rd] Question about image() behavior

2009-11-25 Thread Duncan Murdoch
On 25/11/2009 3:00 PM, Justin McGrath wrote: If the x vector has a gap, then image() fills in those spots using the z value of the nearest x value. I had expected it to just leave those spaces blank though. For example x=c(1:5,100:105) y=c(1:10) z=matrix(rnorm(100),10,10) image(x,y,z) I expecte

[Rd] Question about image() behavior

2009-11-25 Thread Justin McGrath
If the x vector has a gap, then image() fills in those spots using the z value of the nearest x value. I had expected it to just leave those spaces blank though. For example x=c(1:5,100:105) y=c(1:10) z=matrix(rnorm(100),10,10) image(x,y,z) I expected that to produce a figure with a wide vertical

[Rd] heatmap.2 gives wrong colorkey with unequally spaced breaks (PR#14085)

2009-11-25 Thread jorismeys
Full_Name: Joris FA Meys Version: 2.10.0 OS: Windows XP Submission from: (NULL) (157.193.194.73) I use the enhanced heatmap function in gplots : heatmap.2 For the presentation of the color key, the code is not 100% adequate. More specifically, in case you define unequally spaced breaks : 1) the

[Rd] Possible bug in "unsplit" (PR#14084)

2009-11-25 Thread ivar . herfindal
Dear R-bug-people I have encountered a problem with "unsplit", which I believe may be caused by a bug in the function. However, unexpericend with bug-reports I apologise if this is barely a user problem rather than a problem within R. The problem occurs if an object is split by several groupin

Re: [Rd] Bug in all.equal() or in the plm package

2009-11-25 Thread Achim Zeileis
Hi, sorry for replying so late to this. I somehow missed the original thread and was just pointed to it by Yves... I noticed that there is a (minor) bug either the command all.equal() or in the "plm" package. I demonstrate this using an example taken from the documentation of plm(): I'm no

Re: [Rd] group generics

2009-11-25 Thread Martin Morgan
Hi Ross -- Ross Boylan writes: > I have classes A and B, where B contains A. In the implementation of > the group generic for B I would like to use the corresponding group > generic for A. Is there a way to do that? > > I would also appreciate any comments if what I'm trying to do seems like

Re: [Rd] Error in parse(outFile)

2009-11-25 Thread Duncan Murdoch
Pamela McCaskie wrote: Hi all I have made some changes to a package (SimHap) I wrote a couple of years ago, and it has passed R CMD check under windows, but under linux (ubuntu jaunty) I am getting the following error: * installing *source* package 'SimHap' ... ** R Error in parse(outFile

Re: [Rd] Method dispatch for function

2009-11-25 Thread Martin Maechler
> "SM" == Stavros Macrakis > on Mon, 23 Nov 2009 11:24:24 -0500 writes: SM> (I had sent this to r-help and got no responses -- perhaps r-devel is SM> a better list for this question?) Definitely better, yes. SM> How can I determine what S3 method will be called for a par

[Rd] Error in parse(outFile)

2009-11-25 Thread Pamela McCaskie
Hi all I have made some changes to a package (SimHap) I wrote a couple of years ago, and it has passed R CMD check under windows, but under linux (ubuntu jaunty) I am getting the following error: * installing *source* package 'SimHap' ... ** R Error in parse(outFile) : 2:1: unexpected $end