Re: [Rd] Dealing with printf() &c. in third-party library code

2012-03-15 Thread Martin Morgan
On 03/15/2012 02:24 PM, Jon Clayden wrote: Martin, Thanks for your reply. I wonder if you'd be willing to post your "my_fprintf" function, since I'm struggling to get around needing to use the "stdout" and "stderr" symbols completely. This function has the right effect... void rniftyreg_fprintf

Re: [Rd] merge bug fix in R 2.15.0

2012-03-15 Thread Matthew Dowle
Anyone? > Is it intended that the first suffix can no longer be blank? Seems to be > caused by a bug fix to merge in R 2.15.0. > > $Rdevel --vanilla > DF1 = data.frame(a=1:3,b=4:6) > DF2 = data.frame(a=1:3,b=7:9) > merge(DF1,DF2,by="a",suffixes=c("",".1")) > Error in merge.data.frame(DF1, DF2, by

Re: [Rd] Dealing with printf() &c. in third-party library code

2012-03-15 Thread Jon Clayden
Martin, Thanks for your reply. I wonder if you'd be willing to post your "my_fprintf" function, since I'm struggling to get around needing to use the "stdout" and "stderr" symbols completely. This function has the right effect... void rniftyreg_fprintf (FILE *stream, const char *format, ...) {

Re: [Rd] methods::trace fails when signature specified

2012-03-15 Thread John Chambers
Thanks. Should be fixed in r-devel and 2.15 alpha from revision 58756. (Nothing to do with trace() particularly. Low-level code to create "signature" objects was not returning an S4 object.) On 3/14/12 9:48 PM, Martin Morgan wrote: With > R.version.string [1] "R version 2.15.0 alpha (201

Re: [Rd] windows() device: plot does not refresh with new drawing after opening and closing a new device

2012-03-15 Thread Duncan Murdoch
On 15/03/2012 2:29 AM, Michael Sumner wrote: Hello, I see this problem in 2.14.1, a recent dev, and 2.15.0 alpha, but not in an older build. Start the R windows console and run this code: plot(1:10);windows();dev.off();points(10:1) The second set of points does not show up until the window is

Re: [Rd] [ESS] completion in [] (R internal completion fails)

2012-03-15 Thread Deepayan Sarkar
On Wed, Mar 14, 2012 at 3:27 PM, Vitalie Spinu wrote: > > Hello, > > I am forwarding this from ESS mailing list, as it's a failure of > internal R completion system: > > This fails: > > utils:::.assignLinebuffer('iris[iris$Spec') > utils:::.assignEnd(15) > utils:::.guessTokenFromLine() > utils:::.

Re: [Rd] windows() device: plot does not refresh with new drawing after opening and closing a new device

2012-03-15 Thread Duncan Murdoch
On 12-03-15 2:29 AM, Michael Sumner wrote: Hello, I see this problem in 2.14.1, a recent dev, and 2.15.0 alpha, but not in an older build. Start the R windows console and run this code: plot(1:10);windows();dev.off();points(10:1) The second set of points does not show up until the window is m