[Rd] help.start() displays index.html in emacs (PR#13293)

2008-11-16 Thread rose
Full_Name: Juergen Rose Version: 2.8.0 (2008-10-20) OS: Linux 2.6.27.4 x86_64 Intel Submission from: (NULL) (87.185.220.122) If I start as ordinary user rose R and help.start(), the help is displayed in emacs. If I do as the user root, file:///tmp/Rtmpyzlc7Y/.R/doc/html/index.html is shown as ex

Re: [Rd] (PR#13287) Line breaks in mathematical formulae in Rd files

2008-11-16 Thread Yihui Xie
Thanks, Prof Ripley, I do have noticed the manual; what I mean is the "displaymath" environment might not be appropriate for R documentation when there are multiple lines of formulae; I'm sorry this seems to be a suggestion rather than a bug... According to your response, the only solution is write

[Rd] chisq.test with simulate.p.value=TRUE (PR#13292)

2008-11-16 Thread constant
Full_Name: Reginaldo Constantino Version: 2.8.0 OS: Ubuntu Hardy (32 bit, kernel 2.6.24) Submission from: (NULL) (189.61.88.2) For many tables, chisq.test with simulate.p.value=TRUE gives a p value that is obviously incorrect and inversely proportional to the number of replicates: > data(HairEye

Re: [Rd] Diagnosing Crashes on garbage collection

2008-11-16 Thread Prof Brian Ripley
On Sun, 16 Nov 2008, Thomas Lumley wrote: On Sun, 16 Nov 2008, Andrew Redd wrote: I'm having problems with an access violation error on some compiled code that I'm writing and I was hoping that some one had insights as to what might be causing the access violation and possibly how to remedy it

Re: [Rd] Fwd: Fwd: SWIG with R and C++ STL

2008-11-16 Thread Dirk Eddelbuettel
I don't know about your examples from section 5.4.9 of the swig manual, but the very basic SWIG example I have played with still works: [EMAIL PROTECTED]:~/src/progs/swig/R> cat example.c /* File : example.c */ double My_variable = 3.0; /* Compute factorial of n */ int fact(int n) {

[Rd] Fwd: Fwd: SWIG with R and C++ STL

2008-11-16 Thread charlie
On Thu, Nov 6, 2008 at 11:29 AM, Whit Armstrong <[EMAIL PROTECTED]>wrote: > did you wrap your function prototype in extern "C" ? > > -Whit > > > Hi Whit, Thanks for replying my question. I already gave up my own code and now I am trying with the examples from SWIG Doc 1.3. I can not even reproduc

Re: [Rd] Fw: alpha transparency crashes R

2008-11-16 Thread Paul Murrell
Hi Deepayan Sarkar wrote: > I'm forwarding a bug report from Jeff Gove that didn't make it to the list. > -Deepayan > > --- Original Message > Subject: alpha transparency crashes R > Date: Fri, 07 Nov 2008 14:32:27 -0500 > From: jeff gove <[EMAIL PROTECTED]> > T

Re: [Rd] Diagnosing Crashes on garbage collection

2008-11-16 Thread Thomas Lumley
On Sun, 16 Nov 2008, Andrew Redd wrote: I'm having problems with an access violation error on some compiled code that I'm writing and I was hoping that some one had insights as to what might be causing the access violation and possibly how to remedy it. If you are using (or can use) Linux, the

[Rd] Diagnosing Crashes on garbage collection

2008-11-16 Thread Andrew Redd
I'm having problems with an access violation error on some compiled code that I'm writing and I was hoping that some one had insights as to what might be causing the access violation and possibly how to remedy it. Here's the situation. The compiled code performs an EM algorithm on the data for gi

[Rd] 'by' with one-dimensional array

2008-11-16 Thread Patrick Burns
I've played a bit with the problem that Jeff Laake reported on R-help: # create data: jl <- data.frame(x=rep(1, 3), y=tapply(1:9, rep(c('A','B','C'), each=3), sum)) jl2 <- jl jl2$y <- as.numeric(jl2$y) # do the test: > tapply(jl$y, jl$x, length) 1 3 > tapply(jl2$y, jl2$x, length) 1 3 > by(jl

Re: [Rd] Computing minimal detectable differences for general ANOVA models

2008-11-16 Thread Duncan Temple Lang
Ali Baharev wrote: Dear Developers, I would like to contribute to the R Project. I implemented a C function the can be used to calculate minimal detectable differences for general ANOVA models (sample size calculations, power analysis). A demo program and the source code is available from my

Re: [Rd] Computing minimal detectable differences for general ANOVA models

2008-11-16 Thread Prof Brian Ripley
On Sun, 16 Nov 2008, Ali Baharev wrote: Dear Developers, I would like to contribute to the R Project. I implemented a C function the can be used to calculate minimal detectable differences for general ANOVA models (sample size calculations, power analysis). A demo program and the source code

Re: [Rd] problem with postscript/pdf plots, locales and embedded R

2008-11-16 Thread laurent
That might also be reporting something that can be felt like a brittle aspect of R when embedded. I am very tempted to ask why enforcing LC_NUMERIC to "C" for the whole process while this only concerns numerical values written into "data" files. I am understanding that at least postscript/pdf file

[Rd] Computing minimal detectable differences for general ANOVA models

2008-11-16 Thread Ali Baharev
Dear Developers, I would like to contribute to the R Project. I implemented a C function the can be used to calculate minimal detectable differences for general ANOVA models (sample size calculations, power analysis). A demo program and the source code is available from my website: http://relia

Re: [Rd] problem with postscript/pdf plots, locales and embedded R

2008-11-16 Thread Prof Brian Ripley
You start from a false premise, and it seems that you are reporting a serious bug in Rpy to the wrong list: Note that R expects to be run with the locale category `LC_NUMERIC' set to its default value of C, and so should not be embedded into an application which changes that. ('Writing R

[Rd] Fw: alpha transparency crashes R

2008-11-16 Thread Deepayan Sarkar
I'm forwarding a bug report from Jeff Gove that didn't make it to the list. -Deepayan --- Original Message Subject:alpha transparency crashes R Date: Fri, 07 Nov 2008 14:32:27 -0500 From: jeff gove <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] I ran into a problem with R