On Tue, 7 Jun 2005, Henrik Bengtsson wrote:
Kurt Hornik wrote:
How would this be different from the results of
help(package = package name)
?
Thanks for that. I was not aware of this one; I like how DESCRIPTION is
included and how the index is divided in functions and dataset,
@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch
On Wed, 4 May 2005 [EMAIL PROTECTED] wrote:
It seems to me that the line in the function
if (n classes) return(1)
is only relevant to the default case of coincident = 2. (Naturally, if there are
more people than classes, then at least one class must contain 2 people).
Yep, looks like a bug to me.
On Mon, 25 Apr 2005, Duncan Murdoch wrote:
Ali - wrote:
Is it possible to break the package into multiple parts, perhaps like a
bundle? Then you could only load the parts that you need at any
particular time.
It could be done, but the question is, what if one of the packages in the
bundle
mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman
On Thu, 7 Apr 2005, Liaw, Andy wrote:
- It seems counter-intuitive to allow non-integer values as operand for :.
It also seems a bit odd that 1:2 returns something with storage.mode
integer, whereas 0.5:2 gives doubles. Would it make sense to disallow
non-integer operands to :? I can't think of
On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote:
static void z_tan(Rcomplex *r, Rcomplex *z)
{
double x2, y2, den;
x2 = 2.0 * z-r;
y2 = 2.0 * z-i;
den = cos(x2) + cosh(y2);
r-r = sin(x2)/den;
/* any limit above about log(DBL_EPSILON) will do */
if (fabs(r-i) 40.0)
You need z-i (or
On Mon, 28 Mar 2005, Kjetil Brinchmann Halvorsen wrote:
testmat - matrix(1:80, 20,4)
dim(testmat)
[1] 20 4
str(testmat)
int [1:20, 1:4] 1 2 3 4 5 6 7 8 9 10 ...
testframe - data.frame(testmat=I(testmat),
x=rnorm(20), y=rnorm(20), z=sample(1:20))
str(testframe)
`data.frame': 20 obs. of 4
On Wed, 16 Mar 2005, Peter Kleiweg wrote:
Thomas Lumley schreef op de 15e dag van de lentemaand van het jaar 2005:
x-sqrt(2)
asin(x^2-1)
result in:
NaN
Because you can't take the arcsin of 2^2-1=3.
Wrong answer.
You're right. It's actually because you can't take the arcsin of
1+4.4e-16. Same
On Fri, 11 Feb 2005 [EMAIL PROTECTED] wrote:
Full_Name: Chris Spencer
Version: 2.0.1
OS: Linux
Submission from: (NULL) (163.1.211.93)
Dear R team,
I realise that the following is a bit unsafe (the combination of doubles and
integers), however I wondered whether the following behaviour is expected:
On Mon, 24 Jan 2005, Prof Brian Ripley wrote:
On Mon, 24 Jan 2005, McGehee, Robert wrote:
[Instructions to the R developers deleted.]
Secondly, the ?options help (thanks for everyone who reminded me about
this), says that expressions can have values between 25...10.
However, if the original
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL
On Wed, 12 Jan 2005, Marc Schwartz wrote to r-help:
I have not seen anything posted yet for DSC 2005, unless I missed it
someplace.
DSC 2005 will be held in Seattle, at the University of Washington, August
13-15.
This date is immediately after the Joint Statistical Meetings, and was
chosen for
is a macro on my Mac laptop but a function
on my Linux desktop.
R-devel now defines ISNAN to call a function if used in C++ code. It still
calls isnan in C code.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
On Wed, 5 Jan 2005, Bill Northcott wrote:
If building against a full R library, one might possible use R_IsNaN instead
but this function is not included in libRmath v2.0 and the function
R_IsNaNorNA which was used in libRmath v1.9 no longer exists
Yes, but in your standalone C or C++ code you
for which isnan() is a macro, the code breaks at compile time with
'isnan() undeclared'.
I believe (with a little Googling) the suggested C++ approach is to use
std::isnan if cmath is included.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED
On Thu, 6 Jan 2005, Bill Northcott wrote:
On 06/01/2005, at 6:53 AM, Thomas Lumley wrote:
I believe (with a little Googling) the suggested C++ approach is to use
std::isnan if cmath is included.
I tried that too, but without any success. I even tried __gnu_cxx::isnan.
It was suggested by one
On Wed, 5 Jan 2005, Gorjanc Gregor wrote:
Hello!
I have a wish/proposal.
Is it possible to include some option in install.packages() for
Delete downloaded files (y/N)? at the end of that process. It can
be quite anoying if you must install several packages and wait
meanwhile to type y/n for each
On Fri, 31 Dec 2004, [iso-8859-1] Göran Broström wrote:
Regarding 2., I tried the combination vmaxget + Calloc + vmaxset, ie, I
began my function with vmax = vmaxget() and ended it with
vmaxset(vmax). The point with this is that you can free all allocated
memory with one call instead of repeated
!
Matthias
__
R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
On Thu, 30 Dec 2004, [iso-8859-1] Göran Broström wrote:
However, and that is my question/suggestion: Why not use Calloc+Free
instead of R_alloc in vmmin (and maybe in other places)? I made the
changes in 'optim.c' in the functions 'vmmin' and 'Lmatrix'. Then I rebuilt
and reinstalled R-2.0.1. The
On Thu, 30 Dec 2004, [iso-8859-1] Göran Broström wrote:
On Thu, Dec 30, 2004 at 08:01:41AM -0800, Thomas Lumley wrote:
On Thu, 30 Dec 2004, [iso-8859-1] Göran Broström wrote:
However, and that is my question/suggestion: Why not use Calloc+Free
instead of R_alloc in vmmin (and maybe in other places
On Thu, 9 Dec 2004 [EMAIL PROTECTED] wrote:
This is nothing to do with integers: 1e18 and 11 are doubles here.
It is a result of rounding error: 1e18/11 is not representable accurately,
and this should have been a warning to you that your calculations were
unreasonable.
It was -- the poster
On Sun, 28 Nov 2004, Duncan Murdoch wrote:
Another that deals only with the original graphics problem is to have
par(ask=T) wait for input to the graphics window, rather than to the
console. This has the advantage that the graphics window probably has
the focus, so a simple Enter there could
inefficient.
I guess this FAQ-entry about fully intuitive behaviour of xyplot came
last year, right?
Well, the behaviour predates the R implementation and is described in
help(xyplot). Obviously no-one except you thinks it it fully intuititve,
or it wouldn't be in the FAQ.
-thomas
Thomas
Restricted to r-devel (it is almost never appropriate to send the same
message to both lists).
On Thu, 18 Nov 2004, RenE J.V. Bertin wrote:
gt;From: Patrick Connolly lt;[EMAIL PROTECTED]gt;
gt;To: quot;RenE J.V. Bertinquot; lt;[EMAIL PROTECTED]gt;
gt;Subject: Re: [R] changing (core) function
On Sat, 6 Nov 2004, Gabor Grothendieck wrote:
I was running R CMD check on Windows XP 2.0.1beta and
got this:
Error in parse(file, n, text, prompt) : syntax error on 602
After a lot of aggravation I finally discovered that if I did
this:
copy *.R allofthem.R
and checked line 602 in allofthem.R
On Sat, 6 Nov 2004, Peter Dalgaard wrote:
Kjetil Brinchmann Halvorsen [EMAIL PROTECTED] writes:
I made a test file test.sav with SPSS version 11.5.1
containing only one numeric variable, with a value label
for one value not occuring in the file. According to ?read.spss
this should result in a
On Sat, 6 Nov 2004, Peter Dalgaard wrote:
Thomas Lumley [EMAIL PROTECTED] writes:
I have modified read.spss (but not committed the changes yet) so that
it does not create a factor when there are missing levels.
Hmm, could we handle this more elegantly? At the very least, we should
probably try
On Thu, 4 Nov 2004, Gabor Grothendieck wrote:
How does one easily find out if one's favorite bugs have been fixed?
Does the CHANGES file list them all or is there a more authoritative
source?
A bug that was fixed because it was reported should be listed with its PR#
in the NEWS file.
If a change
On Wed, 6 Oct 2004, Prof Brian Ripley wrote:
Those vcov methods were removed from stats at
2004-08-28 20:40:13 +0100 survival now has vcov.{coxph,survreg}
Looks like they have been removed from survival since: that is where they
should be. They are very simple --
vcov.coxph - vcov.survreg -
On Wed, 6 Oct 2004, Prof Brian Ripley wrote:
On Wed, 6 Oct 2004, Thomas Lumley wrote:
No, they haven't been updated to cope with lazy loading (they are defined
in a top-level if statement to prevent conflicts in older versions of R).
vcov.coxph is actually
vcov.coxph-function (object
On Mon, 23 Aug 2004, Tony Plate wrote:
One idea I was thinking about was to have a new class of object that
referred to data in a file on disk, and which had all the standard methods
of matrices and arrays, i.e., subsetting ([), dim, dimnames, etc. The
object in memory would only store the
On Fri, 30 Jul 2004 [EMAIL PROTECTED] wrote:
Dear R-develers,
I have been seraching in vain for an example of source-code, using .Call, to
call an R-function from within C.
Am also wondering i this .Call command works for all functions, say if I
write a function analyse-function()
within
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL
On Sun, 20 Jun 2004, Dirk Eddelbuettel wrote:
On Sun, Jun 20, 2004 at 01:18:47PM -0700, SAURIN wrote:
Dear R,
I am student at University of new haven, CT.I am trying to run my R scripts where
I don't have
X11() authentication to my account. I run those R scripts and when I generate
On Mon, 14 Jun 2004, Peter Dalgaard wrote:
Eric Lecoutre [EMAIL PROTECTED] writes:
What sort of exact problems can we expect to have? Should we consider
to propose this as Open Source and not GPL? Do we have to obtain the
agreement of the R Core Team?
It might also be worth pointing
On Mon, 3 May 2004, Prof Brian Ripley wrote:
I believe no function should be using getOption(na.action) without a
means to override it, and thus the formula methods of
boxplot, mosaicplot and pairs
should get an na.action argument. Further, since in all cases the
non-formula methods do
On Sat, 1 May 2004 [EMAIL PROTECTED] wrote:
On Sat, 1 May 2004 17:00:28 +0200 (CEST), [EMAIL PROTECTED] wrote:
Full_Name: Anthony Gichangi
Version: 1.90
OS: Windows XP Pro
Submission from: (NULL) (130.225.131.206)
The function rlnorm generates negative values for lognormal
*
sizeof(VECREC))
)
== NULL) { {
#
Alex
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor
On Fri, 9 Apr 2004 [EMAIL PROTECTED] wrote:
Dear Uwe,
You are wrong. First, I've read the help file before
submitting the report. For two variables,
use=pairwise.complete.obs and use=complete.obs should be
equivalent, shouldn't it? Of sourse, the results will be
different when we have
On Wed, 31 Mar 2004, Thomas Lumley wrote:
On Tue, 30 Mar 2004, Vincent Carey 525-2265 wrote:
There has been a change to the behavior of -.
See the error thrown at the bottom of the transcript
below. I don't believe this is an intended change.
It's an unintended side-effect
/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
://www.stat.math.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r
On Wed, 24 Mar 2004, Duncan Murdoch wrote:
Can you try to put together a small example that illustrates it?
One example that happened while trying to answer another R-help question
R 1.8.1
library(nlme)
example(nlme.nlsList)
q(yes)
R 1.9.0-beta on startup
Error in namespaceExport(ns, exports)
On Fri, 26 Mar 2004, Thomas Lumley wrote:
Yep, bind.c:do_bind has
switch(mode) {
case NILSXP:
case LGLSXP:
case INTSXP:
case REALSXP:
case CPLXSXP:
case STRSXP:
break;
default:
errorcall(call, cannot create a matrix from these types
PROTECT(tempstr=allocVector(STRSXP,1));
SET_STRING_ELT(tempstr,0, mkChar( cfg_rec.coeffs_filename));
SET_VECTOR_ELT(ret_val,0, tempstr);
UNPROTECT(1); /* tempstr */
(there may be more elegant versions of this).
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
On Fri, 27 Feb 2004, Swinton, Jonathan wrote:
From: Prof Brian Ripley [EMAIL PROTECTED]
Subject: Re: [Rd] package 'stats' needs import directive for 1.9.0?
To: Heywood, Giles [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
...
I suggest you don't try: there are already quite a few
On Tue, 17 Feb 2004 [EMAIL PROTECTED] wrote:
## assign just one name
z - 1:3
names(z)
# change just the name of the third element.
names(z)[2] - b
z
Should the second comment read ... second element.
rather than ... third element.?
Yes. Or else [2] should
On Wed, 11 Feb 2004 [EMAIL PROTECTED] wrote:
I came across this in connection with an unrelated issue
beta[2]
Error in beta[2] : object is not subsettable
beta[2] - 5
Error in [-(`*tmp*`, 2, value = 5) : object is not subsetable
One of the messages must be wrong, but I need a native
On Sat, 24 Jan 2004, John Maindonald wrote:
I'd like to make the following change to termplot():
Add panel=points as an extra parameter.
(I foreshadowed this when I submitted problem #6327, and offered a fix
that, in default of anything better, I assume will be made or has been
made.)
I
On Thu, 22 Jan 2004 [EMAIL PROTECTED] wrote:
We could extend sub() / gsub() to coerce its `x' to character,
then this would work,
or we should make it give an error because NA is logical, not a
character.
The first option would be inline with already allowing logical
NA for `pattern' in
On Tue, 20 Jan 2004, Martin Maechler wrote:
Of course R CMD check would have the harder job of also have
to work properly on non-Debian, non-Linux, even non-Unix systems..
For Windows, there's already the filename capitalization mess.
Add a Changelog: entry to DESCRIPTION?
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
this issue at
http://developer.r-project.org/nonstandard-eval.pdf
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https
On Fri, 5 Dec 2003 [EMAIL PROTECTED] wrote:
I have just used the RAqua.pkg to install R, and it doesn't work! I
have Mac OS X 10.3, and the old version of R works OK, but the .pkg
thing installed, and then when I double-click on the StartR
application nothing happens. Nothing at all, no
On Wed, 12 Nov 2003 [EMAIL PROTECTED] wrote:
3. Usually I get the above but sometimes I get no output from readLines at
all.
This last problem may be the same as PR#1140 on the Mac, where popen()
calls sometimes got killed by an interrupt.
-thomas
On Thu, 6 Nov 2003, Stefano Iacus wrote:
Thanks to Thomas L. and other users to stop this and suggest fixes.
Thomas is still claiming that it is also configure that fails on
panther because of the same problem.
My own experience is that
* on a fresh Panther installation (i.e. removing
be interested to know
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
://www.stat.math.ethz.ch/mailman/listinfo/r-devel
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
)).
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
On Tue, 21 Oct 2003 [EMAIL PROTECTED] wrote:
Dear Sir/Madam
First, I should tell that I'm using virtual PC w2k in a mac osx 10.2.
It would probably be easier (and faster) to use RAqua in OS X, rather than
the windows version under virtual PC.
-thomas
On Tue, 14 Oct 2003 [EMAIL PROTECTED] wrote:
Full_Name: J . R. M. Hosking
Version: 1.8.0
OS: Windows 2000
Submission from: (NULL) (129.34.20.23)
On R 1.8.0 (and on R 1.5.1), Windows binary:
NA %*% 0
[,1]
[1,]0
This is surprising. Is it a bug? Note that
I think it's a
On Fri, 10 Oct 2003, Chris Jackson wrote:
Prof Brian Ripley [EMAIL PROTECTED] wrote:
Why do you need to edit PATH? I never have the rw10xx/bin directory
in my Desktop PATH. I do set the PATH in a terminal window when
working with R, but I do that via the shell startup options (.tcshrc
other packages.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
On Tue, 16 Sep 2003 [EMAIL PROTECTED] wrote:
Full_Name: Axel Benz
Version: 1.7.1
OS: Windows
Submission from: (NULL) (137.251.33.43)
Hello, I guess many people will answer me again that this is a S
language feature, but I am only a stupid computer scientist and I simply
do not understand
On Sat, 16 Aug 2003, Jan de Leeuw wrote:
With the current version from rsync (8/16, 19:00) I get
make[3]: *** No rule to make target `helpsearch.c', needed by
`Makefile'. Stop.
make[2]: *** [R] Error 1
make[1]: *** [R] Error 1
make: *** [R] Error 1
Yes. Some idiot forgot that you need to
On Sun, 17 Aug 2003, Jan de Leeuw wrote:
RAqua now builds fine, but for some reason tcl/tk support cannot be
compiled in.
I had a problem that looked like this, and it was due to having some old
tcl8.0 headers and libraries in /usr/local/
-thomas
to start an X
server. RAqua doesn't start an X server and I don't think it should.
X display windows are still not resizable, which is a similar
event-handling issue to the Tk one.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University
any effect.
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel
and I don't think is in the
last precompiled binary that Stefano put up (and yes, I remember you were
having compiling problems with RAqua).
You would need to compile a more recent version from rsync to get the X11
support.
-thomas
Thomas Lumley Assoc. Professor
On 7 Aug 2003, Peter Dalgaard BSA wrote:
[[ I did discover yesterday (or maybe I was just reminded...) that we
even have nonstandard nonstandard evaluation rules in some places
(nls() seems to evaluate its model formula in the global environment
even if it is given explicitly within a
to an odd digit; see below.
I think this may be a case where the number doesn't actually end in 5, it
just appears to
round(217.5)
[1] 218
round(21.75*10)
[1] 218
round(2.175*100)
[1] 217
round(0.2175*1000)
[1] 218
since .175 isn't exactly expressible in binary.
-thomas
Thomas Lumley
))
[1] 2.00 0.40 1.00 1.33
Why is this a bug?
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL PROTECTED] mailing list
https
thread on r-devel with a bit more information:
http://maths.newcastle.edu.au/~rking/R/devel/03b/0073.html
-thomas
Thomas Lumley Assoc. Professor, Biostatistics
[EMAIL PROTECTED] University of Washington, Seattle
__
[EMAIL
On Wed, 18 Jun 2003 [EMAIL PROTECTED] wrote:
According to the man page for formula, a formula object has an associated
environment. However, update.default doesn't use this environment, which
creates problems like the following:
make.model - function(x) { lm(medv~.,x) }
library(MASS)
On Mon, 16 Jun 2003, Don MacQueen wrote:
Can you give specific and substantive reasons why fink should be avoided?
I get the impression that R for OS X is being moved away from being
another unix R variant (in the sense that Solaris, various Linuxes,
SGI, etc. are unix variants), and moved
On Tue, 10 Jun 2003 [EMAIL PROTECTED] wrote:
glm() seems to converge, even when it shouldn't. I am trying to fit a model
where $converge=FALSE and I am fitting models that do not converge in SAS,
but they seem to converge in R ...
While it wouldn't be the first time there was a bug in glm,
On Wed, 4 Jun 2003 [EMAIL PROTECTED] wrote:
The QR decomposition being returned by glm.fit uses the fitted values from
parameter estimates at the (final-1)st iteration. But don't we want
fitted values from parameter estimates at the final iteration?
I tried inserting the following lines upon
On Tue, 4 Mar 2003, Dirk Eddelbuettel wrote:
On Tue, Mar 04, 2003 at 11:39:51AM -0500, Ben Bolker wrote:
do people think that I should bite the bullet and submit my packages to
CRAN instead?
Yes please.
Though you might also want to look at Bioconductor's reposTools package,
which is
80 matches
Mail list logo