Displaying 20 results from an estimated 30000 matches similar to: "R-alpha: R 0.50.a3 problem with `make tests'"
1997 Aug 11
1
R-alpha: R 0.50.a3: adj?
Not sure if I already reported this ... it seems that as of 0.50.a2, the
adj graphics parameter is completely ignored. Try e.g.
plot(1:10)
title(main = "This is a title", adj = 0)
title(main = "This is a title", adj = 1)
No difference ...
-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read
1997 Aug 19
2
R-alpha: A few bugs in R-0.50-a3.
A few problems in R-0.50-a3 (which were also in R-0.49):
1)
y <- c(10,11,12,13,14,NA,NA)
n <- length(y)
missed <- (1:n)[is.na(y)]
notmissed <- (1:n)[!is.na(y)]
blocks <- cut(missed,breaks=c(0,notmissed,n+1))
a <- function(v) {
q <- range(v)
c(q[1]-1,q[2]+1)
}
brackets <- tapply(missed,blocks,a)
This codes gives the following in S:
> brackets
$"0+ thru 1":
1997 Aug 20
1
R-alpha: R-0.50-a3: [logical, drop = FALSE] -- bug in R (and S-plus)
This is a bug both in R and S-plus (in R it's "worse"), I think.
Look at this :
ma <- cbind(1,1:8); logi <- rep(c(T,F),4)
ma[logi,]
##> [,1] [,2]
##> [1,] 1 1
##> [2,] 1 3
##> [3,] 1 5
##> [4,] 1 7
##-- now the same with [ , drop = FALSE]
## R (-0.50-a3) :
ma[logi, drop = F]
##>> Error: invalid subscript type
##
1997 Aug 11
1
R-alpha: R 0.50.a3 family.lm()
The following patch adds a trivial family method for linear models.
-k
--- src/library/base/funs/lm.orig Tue May 27 02:53:58 1997
+++ src/library/base/funs/lm Sun Aug 10 22:00:46 1997
@@ -412,3 +412,5 @@
}
formula.lm<-function(x)formula(x$terms)
+
+family.lm <- function(x) { gaussian() }
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list
1997 Aug 20
1
R-alpha: R-0.50-a3(+) Method despatching bug ?
It is very wierd... Can some of you confirm the following behavior ?
It is a new bug (feature ?) which was not yet in 0.49 ...
noquote <- function(obj) {
## constructor for a useful "minor" class
if(!inherits(obj,"noquote")) class(obj) <- c(class(obj),"noquote")
obj
}
"[.noquote" <- function (x, subs) structure(unclass(x)[subs], class =
1997 Apr 22
3
R-beta: library(splines) in version 0.50 alpha
I am using the 0.50 alpha version of R packaged (in 3 parts) by Kurt
for Debian Linux.
Package: r-base
Status: install ok installed
Priority: optional
Section: local
Maintainer: Kurt Hornik <Kurt.Hornik at ci.tuwien.ac.at>
Version: 0.50b7-1
Depends: libc5, xlib6, libreadline2
Description: R, a language not entirely unlike the language S.
Package: r-contrib
Status: install ok
1997 Oct 30
2
R-alpha: buglet in return(invisible()) [R 0.50 and 0.60]
Evaluate the following example to get the behavior :
--- anybody: patch ? ---
tst.i <- function(x)
{
if(missing(x))
return(invisible())
else if(!is.numeric(x)) stop("x must be numeric")
## else
invisible((x+3)^2)
}
tst.i()#-- should NOT print anything !!
print(mode(tst.i()))#--gives "NULL" both in S-plus 3.4 and R 0.60
tst.i(1)# nothing (ok in R and
1997 Apr 22
1
R-alpha: lazy evaluation and plot.step()
Today I received an email which made me realize that what I wrote in the
FAQ explaining the different behavior of Martin's plot.step() under R
and S is not really true.
Does someone understand what is going on in the following?
"test" <-
function(x, y, xlab = deparse(substitute(x)), ylab = deparse(substitute(y)))
{
x <- sort(x)
print(xlab)
n <- length(x)
y <-
1997 Aug 05
3
R-alpha: Version 0.50-a1 patches
A set of patches for R-0.50-a1 is now available as
ftp://stat.auckland.ac.nz/pub/R/R-0.50-a1.patch1.gz
The patches mainly fix problems reported since R-0.50-a1 but some
older problems are also fixed.
Here is the list of changes.
Ross
o Many subsetting and mutation problems with the new "expression" type
have now been fixed.
o When ask=T is set in par() the user is instructed
1997 Apr 08
1
R-alpha: jpn() port
I've just completing porting the S jpn package to R (available in CRAN's
source/contrib).
Some remarks:
* It seems that S allows recycling when subscripting with logicals, but
R does not. E.g.,
R> x <- 1:5
R> x
[1] 1 2 3 4 5
R> i <- c(F, T)
R> x[i]
Error: invalid subscript type
R>
In S, this is treated as x[rep(i, length = length(x))].
* It also seems that S does
1997 Sep 07
2
R-alpha: R `make install-*'
Ross mentioned last week that it would be nice to eventually have a real
`make install'. As a preparation, we should perhaps rename the current
install-help install-latex install-html
targets to
help latex [or dvi???] html
and perhaps
test-Examples
to
test
I can of course make the changes, but I thought I'd ask for a good new
name for the corresponding scripts in RHOME/etc.
1997 Apr 17
2
R-alpha: R-0.50.b6: bug in graphics demo
The line
contour(volcano, x, y, l, col = "yellow", lty = "solid", add = TRUE)
needs to be changed to
contour(x, y, volcano, col = "yellow", lty = "solid", add = TRUE)
A patch is appended below.
-k
*** demos/graphics/graphics.orig Thu Apr 17 11:02:39 1997
--- demos/graphics/graphics Thu Apr 17 11:03:08 1997
*************** plot(numeric(0), numeric(0),
1997 Jul 28
1
R-alpha: R 0.50.a1 problem
Here's something really strange.
********************************************************
R> x <- 1:5
R> x
[1] 1 2 3 4 5
R> test1
function (x)
{
structure(x, call = sys.call())
}
R> test1(x)
[1] 1 2 3 4 5
attr(,"call")
test1(x)
R> test2
function (x)
{
attr(x, "call") <- sys.call()
x
}
R> test2(x)
Error: stack overflow
1997 Aug 06
1
R-alpha: R 0.50.a2 shortest segfault ...
This time, it seems that
browser()
wins. Grr ...
-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
1997 Sep 18
2
R-alpha: Re: R-Mailing lists ok again. ..sorry..
Martin Maechler <maechler@stat.math.ethz.ch> writes:
> This caused 3 postings (1 to R-help, 2 to R-devel) to be aborted.
> For some reason, it also seems majordomo did not save the postings in
> a 'dead.letter' or something.
> So could you please re-submit them?
> These are the sendmail entries:
> Sep 17 21:14:21 .. sendmail[9364]: VAA09363:
1997 Aug 08
4
R-alpha: Second patch for 0.50-a1
A second patch for R-0.50-a1 is available from
ftp://stat.auckland.ac.nz/pub/R
The patch produces the following changes
o cpoly problem with pow_di fixed.
o legend had a call to "text" with an incorrect argument tag.
Changed "text" to "labels".
o The variable "dup" was uninitialised in the function "naoktrim" in
1999 Sep 09
1
read.table bug
Suppose we have a data file containing:
"Smith, John", 120, 90
"Thomson, Peter", 110, 85
there are 3 variables in it. If we use
x <- read.table("tmp.txt", sep=",")
to read the data to a data.frame,
the result will be 4 columns.
Splus 4.0 have no problem with this kind
of data.
Li Dongfeng
1999 Sep 09
1
read.table bug
Suppose we have a data file containing:
"Smith, John", 120, 90
"Thomson, Peter", 110, 85
there are 3 variables in it. If we use
x <- read.table("tmp.txt", sep=",")
to read the data to a data.frame,
the result will be 4 columns.
Splus 4.0 have no problem with this kind
of data.
Li Dongfeng
1997 Apr 08
2
R-alpha: CRAN source/contrib
I've put all ``current'' add-on packages into CRAN's source/contrib tree
and created an INDEX file (attached below). As you can see, currently
we have
acepack
bootstrap
ctest
date
e1071
fracdiff
gee
jpn
snns
splines
survival4
(Yes, e1071 and jpn are new ... more on the latter in a later mail.)
In the near future, I am hoping for the following:
oz (Bill
2001 Feb 07
1
RE: [R] Removing "row.names"
> Date: Wed, 7 Feb 2001 09:33:12 -0800 (PST)
> From: Thomas Lumley <tlumley@u.washington.edu>
> To: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
> cc: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>, R-devel@r-project.org
> Subject: Re: [Rd] RE: [R] Removing "row.names"
> MIME-Version: 1.0
>
> On Wed, 7 Feb 2001, Kurt Hornik wrote:
>
> >