Re: [Rd] sub returns garbage (PR#8687)

2006-03-16 Thread Peter Dalgaard
Peter Dalgaard <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] writes: > > > Full_Name: Todd Bailey > > Version: 2.1 > > Er, 2.2.1 > > > OS: Mac OS-X 10.4.3 > > Submission from: (NULL) (87.112.79.124) > > > > > > sub returns garbage in some strings when replacing something with nothing >

Re: [Rd] multiple packages using the same native code.

2006-03-16 Thread Seth Falcon
James Bullard <[EMAIL PROTECTED]> writes: > Seth, thanks for the advice. This solution seems like it might work, > but then all errors occur at runtime rather than at compile time. I'm sure you could still create some compile time errors ;-) Yes, doing things dynamically means you won't catch nea

Re: [Rd] Wishlist: 'append' argument for write.ftable()

2006-03-16 Thread Stephen D. Weigand
On Mar 16, 2006, at 9:48 PM, Stephen D. Weigand wrote: I would like to suggest that an 'append' argument be added to write.ftable(). This would allow, for example, the user to append ftable() output to a text report. I have attached an svn patch to ftable.R that makes the proposed change to w

[Rd] Wishlist: 'append' argument for write.ftable()

2006-03-16 Thread Stephen D. Weigand
I would like to suggest that an 'append' argument be added to write.ftable(). This would allow, for example, the user to append ftable() output to a text report. I have attached an svn patch to ftable.R that makes the proposed change to write.ftable(). [A very trivial change since 'append' is si

Re: [Rd] multiple packages using the same native code.

2006-03-16 Thread James Bullard
Seth, thanks for the advice. This solution seems like it might work, but then all errors occur at runtime rather than at compile time. This seems like I am exchanging one evil for another (run time segfaults versus code duplication) Lets say we have these three package A, B, and C defined more

Re: [Rd] sub returns garbage (PR#8687)

2006-03-16 Thread mschwartz
On Thu, 2006-03-16 at 22:28 +0100, [EMAIL PROTECTED] wrote: > Full_Name: Todd Bailey > Version: 2.1 > OS: Mac OS-X 10.4.3 > Submission from: (NULL) (87.112.79.124) > > > sub returns garbage in some strings when replacing something with nothing and > fixed=TRUE. For example: > > > a=c('hello','h

Re: [Rd] sub returns garbage (PR#8687)

2006-03-16 Thread Peter Dalgaard
[EMAIL PROTECTED] writes: > Full_Name: Todd Bailey > Version: 2.1 Er, 2.2.1 > OS: Mac OS-X 10.4.3 > Submission from: (NULL) (87.112.79.124) > > > sub returns garbage in some strings when replacing something with nothing and > fixed=TRUE. For example: > > > a=c('hello','hello'); sub('lo',

[Rd] sub returns garbage (PR#8687)

2006-03-16 Thread todd
Full_Name: Todd Bailey Version: 2.1 OS: Mac OS-X 10.4.3 Submission from: (NULL) (87.112.79.124) sub returns garbage in some strings when replacing something with nothing and fixed=TRUE. For example: > a=c('hello','hello'); sub('lo','',a,fixed=TRUE) [1] "hel" "hel\0\0" > a=c('hello','hello')

Re: [Rd] Installation of gmodels package (PR#8686)

2006-03-16 Thread Kjetil Brinchmann Halvorsen
[EMAIL PROTECTED] wrote: > Full_Name: Thomas R Famula > Version: 2.2.1 > OS: Linux - fedora core 4 > Submission from: (NULL) (169.237.28.28) > > > Sorry to bother - I hope this is a simple fix. > Here is the set of error messages I recieved in trying to install the > "gmodels" > package. I typed

[Rd] PR#8676

2006-03-16 Thread todd
Not actually documented to work? The documentation for merge says, "If the by.* vectors are of length 0, the result, r, is the “Cartesian product” of x and y". todd __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Installation of gmodels package (PR#8686)

2006-03-16 Thread trfamula
Full_Name: Thomas R Famula Version: 2.2.1 OS: Linux - fedora core 4 Submission from: (NULL) (169.237.28.28) Sorry to bother - I hope this is a simple fix. Here is the set of error messages I recieved in trying to install the "gmodels" package. I typed in "install.packages(c("gmodels"))" as the ro

Re: [Rd] R 2.2 for Suse 9.1

2006-03-16 Thread Detlef Steuer
Hi, On Thu, 16 Mar 2006 11:49:03 +0100 Sebastien Moretti <[EMAIL PROTECTED]> wrote: > Hello, > Do you plan to build a rpm package of R 2.2 for Suse 9.1 ? I don´t have a suse 9.1 box anymore. perhaps I can help, if you send the compiler messages. Detlef > > I tried to build it by myself but f

[Rd] R 2.2 for Suse 9.1

2006-03-16 Thread Sebastien Moretti
Hello, Do you plan to build a rpm package of R 2.2 for Suse 9.1 ? I tried to build it by myself but failed due to compilation problems. Thanks -- Sébastien Moretti http://www.igs.cnrs-mrs.fr/ CNRS - IGS UPR 2589 163 Avenue de Luminy, case 934 13288 Marseille cedex 9 (France) ___

[Rd] survBayes (PR#8685)

2006-03-16 Thread silvia . figini
Full_Name: SILVIA FIGINI Version: 2.2.0 OS: WINDOWS XP Submission from: (NULL) (193.204.46.204) I would like to use survBayes function, but I have a critical error: Error in rep.default(0, int.number - 3) : not valid number of pairs in rep()! (Errore in rep.default(0, int.number - 3) : numero

Re: [Rd] New simpleExit() condition (Was: Re: Can example() code stop the example without generating an error?)

2006-03-16 Thread Henrik Bengtsson
On 3/14/06, Gabor Grothendieck <[EMAIL PROTECTED]> wrote: > I would very much like to see such a feature too. > > On 3/14/06, Henrik Bengtsson <[EMAIL PROTECTED]> wrote: [snip] > > A nicer and more general solution is to have a subclass "simpleExit" > > of "simpleCondition" and make source() catc