[Rd] use of ... in some functions does not work (PR#9591)

2007-03-30 Thread wolfram
Consider: x.lm - function( ... ) lm( ... ) x.xyplot - function( ... ) xyplot( ... ) x.dotplot - function( ... ) dotplot( ... ) lm( dist ~ speed, data=cars, weight=speed ) x.lm( dist ~ speed, data=cars, weight=speed ) xyplot( variety ~ yield |

[Rd] bug?

2007-03-30 Thread Hiroyuki Kawakatsu
rep(2,0) numeric(0) rep(2,0,2) [1] 2 2 rep(2,0,2,0) Floating exception (core dumped) #yes, i should not be doing this but i mistakenly did #par(oma=rep(2,0,2,0)) when i meant c(2,0,2,0) # #both on #2.4.1 Patched (2007-03-21 r40875); x86_64-unknown-freebsd6.2 #and #2.5.0 alpha (2007-03-30

[Rd] error in lattice formattedTicksAndLabels.Date (PR#9590)

2007-03-30 Thread jszinger
Full_Name: James Szinger Version: 2.4.1 OS: linux and MacOS X Submission from: (NULL) (128.165.24.206) I'm trying to plot some data from the past 12 months and the lattice package is not labeling the time axis correctly. It shows only two labels instead of the expected 12. The base graphics

[Rd] Replacing slot of S4 class in method of S4 class?

2007-03-30 Thread cstrato
Dear all, Assume that I have an S4 class MyClass with a slot myname, which is initialized to: myname= in method(initialize): myclass - new(MyClass, myname=) Assume that class MyClass has a method mymethod: mymethod.MyClass - function(object, myname=character(0), ...) { [EMAIL

Re: [Rd] bug?

2007-03-30 Thread Prof Brian Ripley
Yes, it is a bug, thanks. It needs a test for each 0 if length.out 0 is set. Added for 2.5.0. On Fri, 30 Mar 2007, Hiroyuki Kawakatsu wrote: rep(2,0) numeric(0) rep(2,0,2) [1] 2 2 rep(2,0,2,0) Floating exception (core dumped) #yes, i should not be doing this but i mistakenly did

Re: [Rd] error in lattice formattedTicksAndLabels.Date (PR#9590)

2007-03-30 Thread Marcus G. Daniels
Hi Jim, x - rnorm(12) t - seq( as.Date(2006-04-01),by=month, length=12) plot(x~t) # Has labels May, Jul, Sep, Nov, Jan, Mar xyplot(x~t)# Has labels Jan, Mar How about: plot(x~t,xaxt=n) axis(1,at=t,labels=format.Date(t)) __

Re: [Rd] Replacing slot of S4 class in method of S4 class?

2007-03-30 Thread Simon Urbanek
Please read the posting guide and use the appropriate mailing list (R- help) - your question has nothing to do with the development of R. Cheers, Simon PS: look closely at your code - your mymethod is a noop. On Mar 30, 2007, at 4:45 PM, cstrato wrote: Dear all, Assume that I have an S4

Re: [Rd] Replacing slot of S4 class in method of S4 class?

2007-03-30 Thread Ross Boylan
On Fri, Mar 30, 2007 at 10:45:38PM +0200, cstrato wrote: Dear all, Assume that I have an S4 class MyClass with a slot myname, which is initialized to: myname= in method(initialize): myclass - new(MyClass, myname=) Assume that class MyClass has a method mymethod: mymethod.MyClass -

Re: [Rd] Rmpi and OpenMPI ?

2007-03-30 Thread Ross Boylan
On Fri, Mar 30, 2007 at 03:01:19PM -0500, Dirk Eddelbuettel wrote: On 30 March 2007 at 12:48, Ei-ji Nakama wrote: | Prof. Nakano(ism Japan) and I wrestled in Rmpi on HP-MPI. | Do not know a method to distinguish MPI well? | It is an ad-hoc patch at that time as follows. There are some