[Rd] graphic for the R profiler

2007-06-29 Thread Romain Francois
((resent without the generated links, thanks Dirk)) Hello all, I just wanted to share a small perl script that generates a dot file from the result of the R profiler. The dot file can than be used to create a graphical display of the profiling. You can save this file in the bin directory of your

[Rd] graphic for the R profiler

2007-06-29 Thread Romain Francois
Hello all, I just wanted to share a small perl script that generates a dot file from the result of the R profiler. The dot file can than be used to create a graphical display of the profiling. You can save this file in the bin directory of your R installation and then create a graph, for exam

Re: [Rd] saving objects with embedded environments

2007-06-29 Thread Roger Peng
I believe this is intentional. See ?serialize. When lm() is called in a function, the environment is saved in case the resulting fitted model object needs to be updated, for example, with update(). if you don't want the linear model object, you might try just saving the relevant objects to a sep

[Rd] sweep sanity checking?

2007-06-29 Thread Ben Bolker
A friend of mine just got bitten by the fact that sweep() will happily sweep out a STATS vector of an arbitrary length -- even one whose length is not a divisor of any of the margins -- without complaining. I know the answer to this could be "well just don't do that", but it's easy to make a mi

[Rd] Bug in varIdent (nlme package) (PR#9765)

2007-06-29 Thread agalecki
This is a multi-part message in MIME format. --000706080709050507050106 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, 1. The following code (below) and output illustrate that argument fixed= in varIdent function is ignored during

[Rd] R CMD build with mingw and msys (PR#9766)

2007-06-29 Thread sneumann
Full_Name: Steffen Version: 2-5-0 OS: Windows Submission from: (NULL) (192.124.243.162) Hi, the R CMD build script is using if($WINDOWS) { ## workaround for paths in Cygwin tar $filepath =~ s+^([A-Za-z]):+/cygdrive/\1+; } which does not work if the build environment is

Re: [Rd] inaccuracy in qbinom with partial argument matching

2007-06-29 Thread Peter Ruckdeschel
Petr Savicky wrote: > Brian Ripley wrote: >> I wrote: >> > ## partial argument matching: >> > qbinom(p0 , s = 3,p= 0.25) ## 1 ??? >> > qbinom(p0-0.05, s = 3,p= 0.25) ## 1 ??? >> > qbinom(p0-0.06, s = 3,p= 0.25) ## 0 o.K. >> > >> > Unfortunately I have no I idea how to

Re: [Rd] inaccuracy in qbinom with partial argument matching

2007-06-29 Thread Petr Savicky
> > ## partial argument matching: > > qbinom(p0 , s = 3,p= 0.25) ## 1 ??? > > qbinom(p0-0.05, s = 3,p= 0.25) ## 1 ??? > > qbinom(p0-0.06, s = 3,p= 0.25) ## 0 o.K. > > > > Unfortunately I have no I idea how to fix this. > > You use a call that specifies your intention