[Rd] VennDiagram Bugs

2011-03-08 Thread Dario Strbenac
Hello, Even though the documentation says that it is possible to have a scaled Euler diagram for three categories, this fails to happen. All of the circles are the same size. My commands are : library(VennDiagram) A <- 1:10 B <- 9:18 C <- 15:500 venn.diagram(list(NameOne=A, NameTwo=B, NameThre

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
That did the trick. Thank you soo much Simon! Wayne -Original Message- From: Simon Urbanek [mailto:simon.urba...@r-project.org] Sent: Tuesday, March 08, 2011 5:28 PM To: Zhang, Wayne: IT (NYK) Cc: rip...@stats.ox.ac.uk; r-devel@r-project.org Subject: Re: [Rd] How to disable R's cra

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Simon Urbanek
On Mar 8, 2011, at 10:01 AM, wrote: > Thanks for your quick comment Mr. Ripley. I'm a newbie in R so excuse me for > not knowing the obvious. Could you elaborate on what code I should look at, > and what documentation I should go to? > > This is my C++ code on calling embedded R (on redha

[Rd] Fatal error: unable to open the base package (R, C++, Windows 7)

2011-03-08 Thread Olga Starunova
Hello! I am trying to connect R with C++ via RInside package (OS: Windows 7, developing enviroment: CodeBlocks). When my project runs I have the "Fatal error: unable to open the base package". I guess that this problem occurs during unsuccessful attempt to open file "base" in ...\R-2.12.2

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
Hi Dirk, My code on calling embedded R from C++ is attached in the other mail. As you see, I'm not using RInside. My app already works (except when it seg faults) so I prefer not to change it. Thanks, Wayne -Original Message- From: Dirk Eddelbuettel [mailto:e...@debian.org] Sent:

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
Thanks for your quick comment Mr. Ripley. I'm a newbie in R so excuse me for not knowing the obvious. Could you elaborate on what code I should look at, and what documentation I should go to? This is my C++ code on calling embedded R (on redhat enterprise linux 4): char *localArgs[] = { "

Re: [Rd] Problem building R-2.13 r54683 on Windows

2011-03-08 Thread Dan Tenenbaum
On Mon, Mar 7, 2011 at 11:00 AM, Dan Tenenbaum wrote: > Hi, Unfortunately it looks like this problem has somehow been reintroduced. > Looks like this has now been fixed. Many thanks! Dan > I am now trying to build R-devel 54683 from source, again following > the manual. I get the same error as

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Barry Rowlingson
On Tue, Mar 8, 2011 at 2:24 PM, wrote: > Dear R devel, > > I have a C++ app that calls into embedded R to perform some analytic > calculations.  When my app encounters a segmentation fault, R always prints > the following crash prompt and asks me to enter an action: > > > *** caught segfault **

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Dirk Eddelbuettel
On 8 March 2011 at 09:24, wayne.zh...@barclayscapital.com wrote: | Dear R devel, | | I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: | |

Re: [Rd] How to disable R's crash prompt

2011-03-08 Thread Prof Brian Ripley
On Tue, 8 Mar 2011, wayne.zh...@barclayscapital.com wrote: Dear R devel, I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: *** caught se

[Rd] How to disable R's crash prompt

2011-03-08 Thread Wayne.Zhang
Dear R devel, I have a C++ app that calls into embedded R to perform some analytic calculations. When my app encounters a segmentation fault, R always prints the following crash prompt and asks me to enter an action: *** caught segfault *** address 0x8, cause 'memory not mapped' Possible act

[Rd] function local to a fit

2011-03-08 Thread Terry Therneau
I've added a time-transform ability to coxph: here is an example fit <- coxph(Surv(time, status) ~ age + tt(age) + sex, data=lung, tt=function(x, t, ...) x*log(t) ) The only role for tt() in the formula is to be noticed as a specials by terms(). I currently have tt defined as a functio

Re: [Rd] print(...,digits=2) behavior

2011-03-08 Thread Terry Therneau
>> This affects _many_ *.Rout.save checks in packages. I assume this is in the R-devel branch. I've got an addition to survival nearly ready to go (faster concordance calculation). At what point should I should I switch over to the newer version, fix up my .out files etc, to best mesh with th