Re: [Rd] capture.output on S4 slot

2014-08-19 Thread Thomas Lumley
is that they print their environment when it isn't something special like R_GlobalEnv. Since capture.output captures the printed output, that's what it sees. The function isn't split up; the printed output is. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland

Re: [Rd] Why did R 3.0's resolveNativeRoutine remove full-search ability?

2014-04-23 Thread Thomas Lumley
authors. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] internal copying in R (soon to be released R-3.1.0

2014-03-18 Thread Thomas Lumley
too late to back out of the expression. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] readChar and blocking connections

2013-08-14 Thread Thomas Lumley
until the requested data are available? -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Registering method for t.test

2013-03-14 Thread Thomas Lumley
t_test.speclib? Thank you in advance Lukas [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Thomas Lumley Professor of Biostatistics University of Auckland

[Rd] S3 generics in packages: default method

2013-02-28 Thread Thomas Lumley
-evaluation behaviour. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] stopping finalizers

2013-02-15 Thread Thomas Lumley
, the database (MonetDB) is faster. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] stopping finalizers

2013-02-14 Thread Thomas Lumley
fairly easy to add if that is the only option. I might be able to think of other options with more details on the issue. Best, luke On Tue, 12 Feb 2013, Thomas Lumley wrote: Is there some way to prevent finalizers running during a section of code? I have a package that includes R objects

[Rd] stopping finalizers

2013-02-12 Thread Thomas Lumley
of scope it seems harmless to be able to prevent finalizers from running during a particular code block, but I can't see any way to do it. Suggestions? -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted

Re: [Rd] as.matrix.Surv -- R core question/opinions

2013-01-01 Thread Thomas Lumley
mailing list https://stat.ethz.ch/mailman/**listinfo/r-develhttps://stat.ethz.ch/mailman/listinfo/r-devel -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted]] __ R-devel@r-project.org

Re: [Rd] Understanding svd usage and its necessity in generalized inverse calculation

2013-01-01 Thread Thomas Lumley
preferable to constructing a matrix inverse. Note that this approach will give wrong answers without warning if the matrices are not symmetric. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted

Re: [Rd] Crash - cause 'memory not mapped'

2012-11-11 Thread Thomas Lumley
of a non-void function Also .C() doesn't pass SEXPs, so the declaration of the function is still wrong for .C(), though this one the compiler won't notice. --thomas -- Thomas Lumley Professor of Biostatistics University of Auckland [[alternative HTML version deleted

Re: [Rd] setting option in function

2012-10-19 Thread Thomas Lumley
mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] How to build a list with missing values? What is missing, anyway?

2012-10-07 Thread Thomas Lumley
argument in scope. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] error on uneven recycling?

2012-09-24 Thread Thomas Lumley
or Bioconductor using it, and I can't think of any situation where it would be used deliberately. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] confusion over S3/S4 importing

2012-08-01 Thread Thomas Lumley
with imports. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] The constant part of the log-likelihood in StructTS

2012-05-03 Thread Thomas Lumley
of freedom difference, but my copy of Claeskens Hjort's book on model selection and model averaging is currently with a student so I can't be definitive. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r

Re: [Rd] CRAN policies

2012-03-28 Thread Thomas Lumley
, unambiguous, mechanical rule for *your* packages, just eliminate all Notes. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] portable parallel seeds project: request for critiques

2012-02-19 Thread Thomas Lumley
the SHA family. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] read.spss issues

2012-02-15 Thread Thomas Lumley
. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] rowsum

2011-12-18 Thread Thomas Lumley
it to base R in version 0.63.1, and later it made it faster using hashing. So perhaps it isn't entirely StatSci's fault, although it's likely that R would eventually have added a rowsum() function for compatibility. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland

Re: [Rd] Moderating consequences of garbage collection when in C

2011-11-14 Thread Thomas Lumley
giving an out-of-memory error. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] C function is wrong under Windows 7

2011-10-24 Thread Thomas Lumley
]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] droplevels: drops contrasts as well

2011-10-24 Thread Thomas Lumley
to have the same contrasts on factors with different numbers of levels. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Speed difference between df$a[1] and df[1,a]

2011-10-20 Thread Thomas Lumley
. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] .C and .Call: convolve example not working

2011-08-11 Thread Thomas Lumley
, there's no declaration for Rprintf(), because you don't include the header file. Secondly, you're using %d to print, which means you are telling the compiler you're passing ints to Rprintf(), but you are actually passing doubles. When I fix these problems the code works for me. -thomas Thomas

Re: [Rd] Possible bug in termplot function (stats package) ?

2011-06-06 Thread Thomas Lumley
will contain sin(x), not x. For what termplot() does, it has to be able to reconstruct 'x', which isn't possible without the original data. It's quite possible that termplot() could be rewritten to be simpler and more general, but I don't think minor editing will do it. -thomas -- Thomas

Re: [Rd] RProfmem output format

2011-05-15 Thread Thomas Lumley
can't work it out (after my grant deadline this week) I will just assume it's wrong. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] RProfmem output format

2011-05-14 Thread Thomas Lumley
on this computer to check), but it is clearly deliberate. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Wishlist: write R's bin path to the PATH variable and remove the version string in the installation dir under Windows

2011-05-03 Thread Thomas Lumley
in R as because of changes in packages. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] DESCRIPTION file and Rd examples

2011-04-17 Thread Thomas Lumley
everything in the dependency tree. -thomas -- Thomas Lumley Professor of Biostatistics University of Auckland __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Assignment to a slot in an S4 object in a list seems to violate copy rules?

2010-09-30 Thread Thomas Lumley
that ended up with Luke's fix. -thomas -- Thomas Lumley Professor of Biostatistics University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Non identical numerical results from R code vs C/C++ code?

2010-09-10 Thread Thomas Lumley
, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity. ### __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley

Re: [Rd] R support for 64 bit integers

2010-08-10 Thread Thomas Lumley
indefinitely. -thomas Thomas Lumley Professor of Biostatistics University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R in sandbox/jail (long question)

2010-05-19 Thread Thomas Lumley
, thanks, -gordon __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] R CMD check tells me 'no visible binding for globalvariable ', what does it mean?

2010-04-16 Thread Thomas Lumley
it tries to speak of. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Is it valid to do x == Inf?

2010-04-01 Thread Thomas Lumley
, because NA by its nature can't compare equal to anything: x==NA asks: Is x equal to some number I don't know?, to which the answer is Don't know. x==Inf asks Is x positive infinite?, which is a perfectly well-defined question. -thomas Thomas Lumley Assoc. Professor

Re: [Rd] Package Directory Hierarchy: Recursive inclusion of *.R possible?

2010-02-04 Thread Thomas Lumley
source directory. Is there any way around that? Not really. You could always manage your files in a separate directory tree and then use a Makefile to put them into the package format. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.edu

Re: [Rd] Why is there no c.factor?

2010-02-04 Thread Thomas Lumley
,apple,mango, banananana)) On the other hand, I think the current behaviour, which reduces them to numbers, is just wrong. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

[Rd] AD: advanced R course - June 28-30, Seattle.

2010-01-26 Thread Thomas Lumley
of the software infrastructure from the Bioconductor project. The instructors will be Thomas Lumley and Ken Rice. Further details on this and the other 21 modules at the Summer Institute are available from http://sisg.biostat.washington.edu/. I will just note that this is the University

Re: [Rd] Copyright versus Licenses

2010-01-19 Thread Thomas Lumley
-project.org/doc/manuals/R-exts.html#The-DESCRIPTION-file __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.edu

Re: [Rd] optional package dependency

2010-01-15 Thread Thomas Lumley
on odfWeave and survey, but this seems like the sort of thing that should be able to be done with Enhances or Suggests. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] Basic Question regarding PROTECT

2009-08-24 Thread Thomas Lumley
, since they just push and pop pointers from a stack. Any real impact of different strategies in using PROTECT would be seen in the garbage collector. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] Wishlist: install.packages to look for the newest version (PR#13852)

2009-07-24 Thread Thomas Lumley
Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Why change data type when dropping to one-dimension?

2009-05-29 Thread Thomas Lumley
to cope and that dropping dimensions was preferable. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] Why change data type when dropping to one-dimension?

2009-05-29 Thread Thomas Lumley
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor

Re: [Rd] set.seed and /dev/random

2009-05-03 Thread Thomas Lumley
users probably don't have /dev/random -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[Rd] Wishlist: timeout detection (was Package (PR#13475))

2009-04-10 Thread Thomas Lumley
system. Duncan Murdoch __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas

Re: [Rd] actual argument matching does not conform to the definition (PR#13634)

2009-04-02 Thread Thomas Lumley
__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r

Re: [Rd] 'sep' argument in reshape()

2009-04-01 Thread Thomas Lumley
Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Possible bug in summary.survfit - 'scale' argument ignored?

2009-04-01 Thread Thomas Lumley
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] quantile and IQR do not check for numeric input (PR#13631)

2009-03-30 Thread Thomas Lumley
reported, the 'missing values are ignored' statement in ?quantile is wrong (or at least incomplete). -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r

Re: [Rd] lm function (PR#13608)

2009-03-18 Thread Thomas Lumley
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https

Re: [Rd] exporting s3 and s4 methods

2009-03-18 Thread Thomas Lumley
-all.vars(formula) snip Any suggestions? -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

[Rd] exporting s3 and s4 methods

2009-03-17 Thread Thomas Lumley
will not likely be found 2: In methods(bigglm) : function 'bigglm' appears not to be generic [This is R 2.7.2, admittedly a little ancient] -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] exporting s3 and s4 methods

2009-03-17 Thread Thomas Lumley
to other DBIConnection objects, as you pointed out previously). -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https

Re: [Rd] Definition of [[

2009-03-16 Thread Thomas Lumley
really eventuate. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] miscomputation (PR#13594)

2009-03-16 Thread Thomas Lumley
/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Bug Report Fwd: MANOVA Data (PR#13595)

2009-03-16 Thread Thomas Lumley
[[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] surprising behaviour of names-

2009-03-14 Thread Thomas Lumley
family (eg, does apply process the columns left to right, or right to left, or however it feels like?). -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] bug (PR#13570)

2009-03-05 Thread Thomas Lumley
://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [SoC09-Info] An IPopt interface for R

2009-02-22 Thread Thomas Lumley
be released under some version of the GPL or LGPL? Also, according to the FSF, the CPL used in Ipopt is technically incompatible with the GPL because of its choice of law clause. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.edu

Re: [Rd] Google Summer of Code 2009

2009-02-20 Thread Thomas Lumley
to the programming,...). -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] plot.lm: Cook's distance label can overplot point labels

2009-02-20 Thread Thomas Lumley
palette isn't ideal, though. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] cpu bound cases

2009-02-20 Thread Thomas Lumley
%, but the success of ATLAS suggests that they may really be limited more by cpu memory bandwidth. I don't know if this counts. Other people may have different suggestions. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington

Re: [Rd] Bug in subsetting data frame (PR#13515)

2009-02-10 Thread Thomas Lumley
in this context, use subset - data.frame[,'x',drop=FALSE] and then subset['a',] will do want you want. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum...@u.washington.eduUniversity of Washington, Seattle

Re: [Rd] CMD check puzzle

2009-02-09 Thread Thomas Lumley
almost certainly missing something obvious - please point it out. Based on the r-forge code it looks like you need library(survival) in R code in tests/. It doesn't happen automatically like it does for examples. -thomas Thomas Lumley Assoc. Professor, Biostatistics tlum

Re: [Rd] Diagnosing Crashes on garbage collection

2008-11-16 Thread Thomas Lumley
, then valgrind is an excellent tool for this. There's some documentation in 'Writing R Extensions'. Valgrind runs your code in a virtual machine and tracks all memory accesses, so it often will even find bugs in C code that are hard to reproduce. -thomas Thomas Lumley

[Rd] gap in lines() -- 2.7.1, Mac, quartz() (PR#12520)

2008-08-10 Thread Thomas Lumley
. The gap doesn't appear in pdf(). -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] xy plot in version 2.7.1 for Mac (PR#12520)

2008-08-10 Thread Thomas Lumley
On further research it looks as though this has already been fixed (though it wasn't mentioned in NEWS, so it wasn't immediately obvious). You could try the patched build from http://r.research.att.com/ -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL

Re: [Rd] Truncation error on simply mean sum function (PR#12515)

2008-08-08 Thread Thomas Lumley
. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r

Re: [Rd] assigning NULLs to elements of a list

2008-02-12 Thread Thomas Lumley
as assigning any other object. So I was surprised when assigning a NULL in fact removed the element from the list. Is this an intended behaviour? Yes. If so, does anybody know where is it documented and what is a good way around? One place is FAQ 7.1 -thomas Thomas Lumley

Re: [Rd] pnorm

2008-02-07 Thread Thomas Lumley
of difference between 4e-16 and 5e-16. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [Rd] Possible bug in R 2.6.1 (PR#10565)

2008-01-14 Thread Thomas Lumley
if it is bug (rather than asserting that it must be a bug) they have a much higher chance of receiving a friendly reply [and an even higher chance of receiving a helpful reply] -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University

[Rd] large netCDF files under Windows.

2007-12-29 Thread Thomas Lumley
) and on Linux(64bit R). -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Rsquared bug lm() (PR#10516)

2007-12-14 Thread Thomas Lumley
-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch

Re: [Rd] typo in italian translation (PR#10367)

2007-10-24 Thread Thomas Lumley
colonne -- change elemtni to elementi Regards Luca __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University

[Rd] RSQLite indexing: summary

2007-10-23 Thread Thomas Lumley
larger or smaller SQLite cache size didn't seem to have much impact in my setting, and I didn't try the advice about getting a different database. Despite it's many other virtues, SQLite is still slow at indexing. Thanks to all. -thomas= Thomas Lumley Assoc. Professor

[Rd] RSQLite indexing

2007-10-22 Thread Thomas Lumley
there is some simple solution. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] RSQLite indexing

2007-10-22 Thread Thomas Lumley
On Mon, 22 Oct 2007, hadley wickham wrote: On 10/22/07, Thomas Lumley [EMAIL PROTECTED] wrote: I am trying to use RSQLite for storing data and I need to create indexes on two variables in the table. It appears from searching the web that the CREATE INDEX operation in SQLite is relatively

Re: [Rd] pt inaccurate when x is close to 0 (PR#9945)

2007-10-11 Thread Thomas Lumley
On Wed, 10 Oct 2007, Duncan Murdoch wrote: As Charles Berry told you when this was posted to R-help, it looks as though it is Mathematica that is inaccurate. For example, I would expect this plot to be smooth, and it is not in either R or Mathematica, but R is at least monotone: I did check

Re: [Rd] Optimization in R

2007-08-06 Thread Thomas Lumley
On Mon, 6 Aug 2007, Petr Savicky wrote: Question. Is there a way how to optimize a function written in C using optim? The algorithms used by optim are all accessible from C. The manual Writing R Extensions has a section on The R API, including the optimization routines. -thomas

Re: [Rd] navel-gazing

2007-06-28 Thread Thomas Lumley
On Wed, 27 Jun 2007, Ben Bolker wrote: I did some trawling on the ISI web of science, selecting all papers citing all papers with R DEV COR TEAM in the author field (which is how ISI seems to be tagging things). It's not quite that simple. If people use the recommended citation then they

Re: [Rd] Expected behavior from: all(c(NA, NA, NA) NA, na.rm = TRUE)?

2007-06-20 Thread Thomas Lumley
? Yes, although it is initially surprising. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] C code for qbeta

2007-05-25 Thread Thomas Lumley
On Fri, 25 May 2007, Sean Davis wrote: On Friday 25 May 2007 05:02, Gatsu wrote: Can somebody help me? I need the C/C++ code for the R's qbeta function. R is open-source, so you can simply download the source and look at whatever parts you like. Finding the qbeta function may take a

Re: [Rd] Invalidating inaccessible SEXP?

2007-03-19 Thread Thomas Lumley
On Fri, 16 Mar 2007, Martin Morgan wrote: Is there a (C or R) function to invalidate the relevant parts of SEXP / data that are inaccessible? My problem is in tracking down protection and other memory mismanagement bugs, where I have to rely on luck to invalidate or overwrite data to trigger

Re: [Rd] integrate function (PR#9557)

2007-03-12 Thread Thomas Lumley
-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] possible bug in model.frame.default

2007-03-07 Thread Thomas Lumley
Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle__ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R/C++/memory leaks

2007-02-26 Thread Thomas Lumley
mailing list https://stat.ethz.ch/mailman/listinfo/r-devel __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington

Re: [Rd] PGF Device

2007-01-31 Thread Thomas Lumley
On Wed, 31 Jan 2007, Prof Brian Ripley wrote: There are several devices in packages, and this has been possible since at least R 1.4.0 (from 2001). There used to be gtkDevice (still on CRAN, but old Gtk), GNOMEdevice (never finished) and an SVG driver (http://www.darkridge.com/~jake/RSvg/),

Re: [Rd] incorrect result of deriv (PR#9449)

2007-01-16 Thread Thomas Lumley
... __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle

Re: [Rd] Why does not the command 'length(a - 1:5) - 4' not work?

2007-01-16 Thread Thomas Lumley
On Tue, 16 Jan 2007, Charles Dupont wrote: I would assume that 'length(a - 1:5) - 4' should work because 'length(a - 1:5)' does work. Appearances can be deceptive. length(a - 1:5) evaluates a - 1:5 and then passes its value to length(), in ordinary call-by-value semantics. That can't be how

Re: [Rd] Which programming paradigm is the most used for make R packages?

2007-01-04 Thread Thomas Lumley
and Bioconductor are available for sampling -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [Rd] proposal: allowing alternative variance estimators in glm/lm

2007-01-02 Thread Thomas Lumley
On Tue, 2 Jan 2007, ivo welch wrote: As a non-statistician user of R, maybe a hook functionality at strategic places could provide some flexibility without too much pain. I think replacing the standard output from summary.lm would be a bad idea (it could easily create errors downstream,

[Rd] proposal: allowing alternative variance estimators in glm/lm

2006-12-27 Thread Thomas Lumley
that the relationship involved is not, strictly speaking, inheritance. They would be quite right. However, unless someone wants to rewrite glm and lm for S4 classes I think that battle is lost. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED

Re: [Rd] FW: Passing lists from R to C, extracting elements, and sending lists back again

2006-12-24 Thread Thomas Lumley
); } __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org

Re: [Rd] capturing value of C or Fortran function

2006-12-18 Thread Thomas Lumley
On Wed, 13 Dec 2006, Harris A. Jaffee wrote: Re: src/main/dotcode.c:do_dotCode() The value, if there is one, of a function called by .C or .Fortran is not captured, so one needs a wrapper. To avoid that, the user would have to declare that there is a value, specify its type, and supply an R

Re: [Rd] Error: invalid multibyte string

2006-10-27 Thread Thomas Lumley
On Fri, 27 Oct 2006, Henrik Bengtsson wrote: In Section Package subdirectories in Writing R Extensions [2.4.0 (2006-10-10)] it says: Only ASCII characters (and the control characters tab, formfeed, LF and CR) should be used in code files. Other characters are accepted in comments, but then

Re: [Rd] Error: invalid multibyte string

2006-10-26 Thread Thomas Lumley
can't be used for other reasons. Is the above a bug in R or one in my head? /H __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED

Re: [Rd] Changing function arguments

2006-10-23 Thread Thomas Lumley
() function, so you could look there. -thomas Thomas Lumley Assoc. Professor, Biostatistics [EMAIL PROTECTED] University of Washington, Seattle __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

  1   2   >