Displaying 20 results from an estimated 20000 matches similar to: "sort() and attributes"
2004 Oct 23
0
Re: (PR#7304) library.dynam() & .dynLibs() do not work as
Filing on R-bugs (DTL's reply started a new PR).
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
---------- Forwarded message
2001 Feb 05
0
Change of licence for header files and import libraries
The copyrights on the distributed header files and export files R.exp
have been changed to the more permissive LGPL.
It came to our attention that some projects are interpreting GPL to
mean that compiling against the header files or linking against a
Windows import library brings the compiled code under the scope of
GPL. This would mean it would be impossible to distribute binary
versions of
2005 Jul 22
0
setting weights for such a two-class problem in nnet andsvm
======= At 2005-07-22, 12:56:12 you wrote: =======
>On Fri, 22 Jul 2005, Baoqiang Cao wrote:
>
>> Dear All,
>>
>> I have such a two-class problem, one class is very large(~98% of total),
>> and the other is just 2%. According to manual of nnet, I need setup
>> "weights", so I intend to set 1 for class one, 49 for class 2. How do I
>> do that?
2006 Jul 07
0
User Error (was LOESS (PR#9064))
Please do as we ask (repeatedly) and study the help page before posting.
'family' is a separate argument, not part of loess.control, as the help
page correctly documents. If you use
cars.lo2 <- loess(dist ~ speed, cars, family = "symmetric",
control = loess.control(surface = "direct", iterations = 20))
cars.lo2$pars$iterations
it prints *20*, as it is
2005 Jan 12
0
RODBC package -- sqlQuery(channel,.....,nullstring=0)stillgives NA's
(1) I do read the posting guide (the fact that I missread o
missunderstood something does not imply not reading)
(2) I could change NAs to 0 (I know) but I have previously (older
versions of R and SQL*Plus) used the same select with the "right" output
(namely with 0s).
(3) AFAIK "strange" is not a negative remark and does not seem to me at
the very least but that is always a
2003 Aug 05
0
RE: [R] ^ operation much slower in R 1.7.1 than in R 1.7 .0 ???
I used the packaged "MinGW-2.0.0-3.exe" exactly as specified on
http://www.stats.ox.ac.uk/pub/Rtools/ - in fact I used these recommendations
throughout.
According to the release notes MinGW version 2.0.0 contains the following
list of packages:
GCC-3.2-core-20020817-1
binutils-2.13-20020903-1
mingw-runtime-2.2
w32api-2.0
gdb-5.1.1-1
make-3.79.1-20010722 (binary renamed as mingw32-make)
2003 Jan 30
0
printing of attributes does not dispatch on class (PR#2506)
Forwarded to R-bugs to log this. It may or may not be a bug, but it is a
desirable enhancement, if a tricky one.
Note that this is not simple: in R-devel it may be show() not print()
that was called (and needs to be dispatched on, although print.default
will do that) and the print functionality can be called directly from C
code, e.g. by PrintValue.
Also, auto-printing as in the example does
2008 Jun 02
0
(PR#11537) help (using ?) does not handle trailing whitespace
>>>>> "BDR" == Prof Brian Ripley <ripley at stats.ox.ac.uk>
>>>>> on Fri, 30 May 2008 22:34:28 +0100 (BST) writes:
BDR> I think it is ESS that is parsing this as a help
BDR> request (so it can divert it to an ESS buffer).
BDR> Looks like this is an ESS issue, not an R one.
yes, indeed, hence much more belonging the ESS-help
2003 Jul 30
0
cbind/rbind inconsistency with NULL parameter (PR#3595)
The R help for cbind/rbind states:
> For `cbind' (`rbind'), vectors of zero length are ignored unless
> the result would have zero rows (columns), for S compatibility.
> (Zero-extent matrices do not occur in S and are not ignored in R.)
I presume this means the S language as defined in the Blue Book ("The ^New
S Language", Becker Chambers & Wilks,
2003 Nov 25
0
AW: ISOdate() and strptime()
Thanks for this clarification.
I have learned in the meantime that it is necessary to be very careful when
using all these POSIX things.
As another example, here is something that made me scratch my head just
yesterday:
When I create a sequence of days that happens to start before and ends in
daylight savings time, I seem to lose a day:
> seq(from = strptime("20030329",
2004 Oct 22
0
Re: library.dynam() & .dynLibs() do not work as documented
Duncan,
I don't know what we want, but it is not a simple matter of documenting
what .dynLibs currently does. What I see as bugs are
1) the inconsistent names and types of the components returned by
.dynLibs().
2) the inconsistent inclusion or not of R_X11 in the list returned by
.dynLibs().
3) the inclusion of static info (base) by library.dynam().
4) including loadable modules
2004 Nov 01
0
(PR#7326)(inappropriate) manipulation of expression objects
On 29 Oct 2004, Peter Dalgaard wrote:
> deepayan@stat.wisc.edu writes:
>
> > > foo <- expression(alpha, beta, gamma)
> > > foo[2]
> > expression(beta)
> > > foo[2] <- NA
> > > foo ## or str(foo)
> > Segmentation fault
> >
> > (Same behaviour in R 1.9.1)
> >
> > 'foo[[2]] <- NA' works fine, though.
2005 Oct 05
0
Ad: Re: Ad: Re: R crashes for large formulas in lm() (PR#8181)
On Wed, 5 Oct 2005 Hallgeir.Grinde at elkem.no wrote:
> Yes.
> so (x1*x2*x3*x4*x5*x6*x7*x8)^2 = (x1+x2+x3+x4+x5+x6+x7+x8)^8 ?
Yes in the sense that the simplified formula given by terms() is the same.
> and there is a difference in
> (x1*x2*x3*x4*x5*x6*x7*x8)^2
> and
> (x1*x2*x3*x4*x5*x6*x7*x8)
> althoug the resulting formulas are the same, or?
The first is reduced to the
2002 Jun 19
0
[R] Problems with url/download and http_proxy
This does seem to fix my problem:
> Sys.getenv("http_proxy")
http_proxy
"http://gproxy1.pfizer.com/"
> url("http://cran.r-project.org/src/contrib/PACKAGES",'r')
description
"http://cran.r-project.org/src/contrib/PACKAGES"
class
2005 Feb 08
0
RE: [R] Windows Printing and Line Widths
... Moved from R-help ...
Thank you for your suggestion, Professor Ripley. Postscript does seem
like the way to go for printing line widths correctly in Windows.
On Linux I am using a simple dev.print() wrapper (as suggested), with a
pipe to lpr.
However, I had an extremely difficult time getting postscript printing
under windows.
?postscript recommends the RedMon suite of tools for printing
2008 Nov 14
0
(PR#13283) R crashes on sprintf with bad format
But %S is not valid in C99 or POSIX, even if it is a variant in some
systems.
I am working on a more careful checker right now, but there will be limits
to what we can catch: this was already a pretty rare example.
Brian
On Fri, 14 Nov 2008, William Dunlap wrote:
>> From: r-devel-bounces at r-project.org
>> [mailto:r-devel-bounces at r-project.org] On Behalf Of Prof Brian Ripley
2007 Aug 02
0
Package portability issues
We have some new Solaris boxes (both Sparc and amd64), and as they are not
yet in production use I borrowed some time on them to run tests over CRAN
packages, using the Solaris make and Sun Studio compilers. The results
were quite depressing. Sun Studio 12 compilers are also available for
Linux, and there the problems are worse (for C++ code).
Line endings
============
We checked in R CMD
2002 Aug 06
0
pipe and binary i/o (on Linux)
Thanks very much, Professor Ripley.
Reid Huntsinger
-----Original Message-----
From: ripley at stats.ox.ac.uk [mailto:ripley at stats.ox.ac.uk]
Sent: Tuesday, August 06, 2002 3:00 AM
To: Huntsinger, Reid
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] pipe and binary i/o (on Linux)
On Mon, 5 Aug 2002 ripley at stats.ox.ac.uk wrote:
> pipe predates readBin, and no one has seen a
2000 Aug 28
0
under certain conditions, model.matrix appears to lack one (PR#648)
On Mon, 28 Aug 2000, Rashid Nassar wrote:
> Dear Professor Ripley,
>
> Thank you very much for your kind explanation. If I may lamely say
> something in my defence, even as I apologize for my error: I mistook the
> sentence "the (quoted) name of a function" to mean "optionally quoted"
> because of the parentheses surrounding "quoted", and was
2001 Aug 21
0
Re: [R] Problem using GLM in a loop (fwd)
This example is caused by R's messing with formula environments.
That's explained in ?formula, but should it not be explained in
?model.frame ?
Simple test:
data <- data.frame(y=rnorm(100), x=1:100)
testit <- function(formula)
{
weights <- runif(100)
glm(formula, weights=weights, data=data)
}
testit(y ~ x)
weights is looked for in the environment of the formula, not of