[Rd] user supplied random number generators

2009-07-29 Thread Ross Boylan
?Random.user says (in svn trunk) Optionally, functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be supplied which are called with no arguments and should return pointers to the number of seeds and to an integer array of seeds. Calls to \code{GetRNGstate} and \code{PutRNGst

[Rd] Oops...a better (working, this time) patch for setRepositories

2009-07-29 Thread Richard Calaway
My previous suggested patch worked fine for the text-menu case, but broke the graphics case; the following one, that moves the definition of nc outside of the if...else clauses, works for both: Index: packages.R === --- packages.

[Rd] Problem in setRepositories() logic

2009-07-29 Thread Richard Calaway
Hi, all-- I was playing around with the Packages menu in the Windows RGui, and noticed that when I chose Select repositories and clicked Cancel, instead of being returned to the R prompt I was faced with a text version of the menu. I think the text menu should only appear if graphics=FALSE

Re: [Rd] xtable formatting: RED for negative numbers?

2009-07-29 Thread cameron.bracken
The links to those previous files were broken, here they are: Here is the patch: http://www.nabble.com/file/p24727010/print.xtable.R.diff print.xtable.R.diff Here is the output I got: http://www.nabble.com/file/p24727010/xtable-red.pdf xtable-red.pdf -- View this message in context: http://

Re: [Rd] xtable formatting: RED for negative numbers?

2009-07-29 Thread cameron.bracken
Ken-JP wrote: > > Is there a way to modify this code to generate RED numbers inside xtable > for > negative results in x.ts? > This post would probably have been better for R-help. Anyway, you can do it easily by modifying print.xtable.R in the xtable package. If it is easier, make a copy o

[Rd] BUG/FIX: View gives internal error with long argument (multiline deparse)

2009-07-29 Thread Stavros Macrakis
> View(as.data.frame(c("","yyy",1,1))) Error in dataviewer(x, title) : invalid argument The problem is that View linearizes its argument to generate a title using deparse(substitute(x)), which sometimes returns a vector of length > 1. A simple fix is to change this

Re: [Rd] Checking package on Windows (and seemingly irreproducible errors in CRAN checks)

2009-07-29 Thread Uwe Ligges
Mathieu Ribatet wrote: Dear Carlos, From your check results: cbc.data <- cbc.read.table( system.file("data", "cbc.test.data.txt", package = "colbycol"), sep = "\t" ) Warning in file(file, "r") : cannot open file '0001': No such file or directo

[Rd] xtable formatting: RED for negative numbers?

2009-07-29 Thread Ken-JP
I've been experimenting recently with the fantastic Sweave/xtable combination for generating latex. In the xtable vignette, I found this great example of printing a ts object by months. Is there a way to modify this code to generate RED numbers inside xtable for negative results in x.ts? Thanks

[Rd] R --vannilla for install/remove/shlib(Re: R 2.8->2.9 change that breaks some upgrade scenarios)

2009-07-29 Thread Hin-Tak Leung
This is the change I suggested earlier - it should just disable more of user/site customization during package installation/removal, and getting more of R 2.8-like behavior back. Attached and inlined below. Against svn r48897 (svn HEAD AFAIK). --

[Rd] RFC: methods() and showMethods() {was "debug"}

2009-07-29 Thread Martin Maechler
(a new thread, on purpose) > "RobG" == Robert Gentleman > on Mon, 27 Jul 2009 16:55:50 -0700 writes: RobG> Hi, I just committed a change to R-devel so that if RobG> debug is called on an S3 generic function, all methods RobG> will also automatically have debug turn

[Rd] Is this a bug of quantreg package

2009-07-29 Thread Fán Lóng
Dear R-devel, It seems the quantreg package on AIX5.3 is not working. I used "R CMD INSTALL quantreg_4.36.tar.gz" to install it with R 2.8.1. Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/home/R281/AIX53/lib/R/./library/quantreg/libs/quantreg.so': rtld: 0712