Displaying 20 results from an estimated 4000 matches similar to: "R-2.6.1 is released"
2009 Mar 23
2
dput(as.list(function...)...) bug
Tested in R 2.8.1 Windows
> ff <- formals(function(x)1)
> ff1 <- as.list(function(x)1)[1]
# ff1 acts the same as ff in the examples below, but is a list rather
than a pairlist
> dput( ff , control=c("warnIncomplete"))
list(x = )
This string is not parsable, but dput does not give a warning as specified.
> dput( ff ,
2007 Dec 04
2
Wishlist: mention Vectorize in 'outer' man page (PR#10490)
Full_Name: Antonio, Fabio Di Narzo
Version: 2.6.1
OS: linux
Submission from: (NULL) (213.140.16.187)
In 'outer' man page, there is no mention of the Vectorize function.
Moreover, I think it isn't underlined enough that the FUN argument to 'outer'
must be a vectorized function (doc speaks about a function which has to 'operate
elementwise').
A cross-reference from
2007 Nov 24
2
unexpected result from reshape
Hi all.
I have unexpected reshape results on datasets with certain variable
names. Here a reproducible example:
d <- matrix(seq_len(7*7), 1, 7*7)
vnames <- c('acc','ppeGross','CF','ROA','DeltaSales','invTA','DeltaRevDeltaRec')
varying <- unlist(lapply(vnames, paste, 1:7, sep='.'))
d <- data.frame(d)
names(d) <- varying
2005 Apr 23
1
tclServiceMode: stop Tcl/Tk from updating
In Windows, Tcl/Tk programs running under the tcltk package can update
too frequently: for exmaple, we might go through a long sequence of
operations to construct a complex display, and in Windows each addition
will be shown separately.
To work around this, I've added a function "tclServiceMode" which serves
as an R interface to the "Tcl_SetServiceMode" function in the
2008 Mar 21
1
idea for GSoC: an R package for fitting Bayesian Hierarchical Models
Dear R developers,
these days I'm working on some R code for fitting completely generic
Bayesian Hierarchical Models in R, a la OpenBUGS and JAGS.
A key feature of OpenBUGS and JAGS is that they automatically build an
appropriate MCMC sampler from a generic model, specified as a directed
acyclic graph (DAG).
The spirit of my (would-be) implementation is instead more focused on
experimentation
2006 Mar 24
3
bug in plot.acf (PR#8705)
(Moved from r-devel to r-bugs)
On 3/24/2006 5:03 AM, Antonio, Fabio Di Narzo wrote:
> Hi all.
> There's a bug in plot.acf, when plotting acf for multivariate time series.
> Here a reproducible example:
>
> X <- rnorm(1000)
> Y <- -X + rnorm(1000, sd=0.6)
> Z <- cbind(X,Y)
>
> In
> acf(Z)
> cross-correlation plot y-axis is limited to 0-1. But:
>
2007 Nov 24
1
patch proposal for plot.ts
Hi all.
Currently, if you try:
> lag.plot(1:10)
you get superposed labels '1' and '10'. Things go worse in more extreme cases:
x <- ts(1:10)
x1 <- lag(x, 4)
plot(x1, x)
This is due to a mistake in plot.ts. My suggestion is the following
really minimal patch to plot.ts:
@@ -530,7 +530,7 @@ plot.ts <-
text(xy, labels =
2005 Dec 13
1
bug in geoR (?)
I've enconuntered this problem with the last cran version of geoR:
> library(geoR)
> day <- rep(1:2, each=5)
> coords <- matrix(rep(runif(10),2), 10, 2)
> data <- rnorm(10)
> data[1] <- NA
> as.geodata(cbind(coords, data, day), realisations=4)
as.geodata: 1 points removed due to NA in the data
Errore in as.geodata(cbind(coords, data, day), realisations = 4) :
2005 Sep 21
3
ts.intersect bug?
This code gives an error:
a <- ts(1:10, start=0, freq=10)
b <- ts(1:10, start=1, freq=10)
ts.intersect(a,b)
This one works normally (and correctly):
a <- ts(1:10, start=0)
b <- ts(1:10, start=1)
ts.intersect(a,b)
Antonio, Fabio Di Narzo.
P.S. How to switch off italian error messages to post on r-help?
> version
_
platform i386-pc-mingw32
arch i386
os
2007 Dec 13
1
creating lagged variables
Hi all.
I'm looking for robust ways of building lagged variables in a dataset
with multiple individuals.
Consider a dataset with variables like the following:
##
set.seed(123)
d <- data.frame(id = rep(1:2, each=3), time=rep(1:3, 2), value=rnorm(6))
##
>d
id time value
1 1 1 -0.56047565
2 1 2 -0.23017749
3 1 3 1.55870831
4 2 1 0.07050839
5 2 2 0.12928774
6
2006 Mar 15
1
variance from correlated observations
Hi all.
A statistical question. I have to estimate the variance of the sum:
X(1) + X(2) + ...+ X(n)
from an observed sample, where X(i) are *correlated* and not necessarly
identically distributed. Someone can suggest a simple strategy
(I hope by exploiting some already present R package) for obtaining such
estimate from an observed vector X[1:n]?
Tnx all,
Antonio, Fabio Di Narzo.
2010 May 21
1
escaping 'comment' chars in example sections
Dear list,
I've noticed that, when writing examples in an Rd file, you need to
escape the '%' character, even if it is valid R code.
I can see maybe this is the intended behaviour, but I found it a bit
surprising, and leads to cryptic error messages from 'R CMD check'.
The relevant section in the "writing R extensions" manual isn't clear
on that point either.
To
2008 Dec 07
1
unexpected scoping behavior with functions created in a loop
Hi guys.
I recently stumbled on an unexpected behavior of R when using
functions created in a loop.
The problem is silly enough to me that I had hard time choosing a good
mail subject, not talking about searching in the archives...
After some experiments, I trimmed down the following minimal
reproducible example:
#######
makeF <- function(i) function() i
fList <- list(makeF(1), makeF(2))
2007 Dec 06
1
HTML help search in R 2.6.0 v 2.6.1
I am running R on a corporate Windows XP SP2 machine on which I do not
have
administrator privileges or access to most settings in Control Panel.
R is
installed from my limited user account. The version of the JVM I have
installed is perhaps best described as antique:
> system(paste("java -version"),show.output.on.console=T)
java version "1.4.1"
Java(TM) 2 Runtime
2006 May 18
2
extracting values from data.frame given arbitrary keys
Hi all.
I have a pure R programming question.
Having a data.frame with a 'data' variable and some (>1) ID variables
(either numeric or factors), I would extract a sequence of data values given
a sequence of ID values.
Here's an example. Build a dataset:
n1 <- 5
n2 <- 2
v1 <- rep(factor(1:n1),2)
v2 <- rep(1:n2,5)
x <- rnorm(10)
dat <- data.frame(x=x, v1=v1, v2=v2)
2006 Apr 27
2
as.factor: changed behaviour for Date class
Dear all,
I have noticed a little change in the behaviour of as.factor from R-2.2.1 to
R-2.3.0, and can't find it in the NEWS.
In R-2.3.0:
> times <- 1:5
> class(times) <- "Date"
> as.factor(times)
[1] 1 2 3 4 5
Levels: 1 2 3 4 5
In R-2.2.1:
> as.factor(times)
[1] 1970-01-02 1970-01-03 1970-01-04 1970-01-05 1970-01-06
Levels: 1970-01-02 1970-01-03 1970-01-04
2006 Apr 27
2
as.factor: changed behaviour for Date class
Dear all,
I have noticed a little change in the behaviour of as.factor from R-2.2.1 to
R-2.3.0, and can't find it in the NEWS.
In R-2.3.0:
> times <- 1:5
> class(times) <- "Date"
> as.factor(times)
[1] 1 2 3 4 5
Levels: 1 2 3 4 5
In R-2.2.1:
> as.factor(times)
[1] 1970-01-02 1970-01-03 1970-01-04 1970-01-05 1970-01-06
Levels: 1970-01-02 1970-01-03 1970-01-04
2007 Nov 22
1
R CMD check problem on R 2.6.1 RC
Dear R-developers,
I'm experiencing a problem with having an example run under R 2.6.1 RC
(downloaded and installed today, r43513), which does not occur on R 2.6.0:
The new version of package relaimpo does list package survey under
"Depends", and an example directly (i.e. not only from within a function of
relaimpo) uses function svydesign from package survey. Package survey is
2012 Apr 20
1
DAHDI-Linux 2.6.1, 2.5.1 and DAHDI-Tools 2.6.1, 2.5.1 Now Available
The Asterisk Development Team has announced the releases of:
DAHDI-Linux 2.6.1
DAHDI-Linux 2.5.1
DAHDI-Tools 2.6.1
DAHDI-Tools 2.5.1
DAHDI-Linux-Complete 2.6.1+2.6.1
DAHDI-Linux-Complete 2.5.1+2.5.1
These releases are available for immediate download at:
http://downloads.asterisk.org/pub/telephony/dahdi-linux
http://downloads.asterisk.org/pub/telephony/dahdi-tools
2012 Apr 20
1
DAHDI-Linux 2.6.1, 2.5.1 and DAHDI-Tools 2.6.1, 2.5.1 Now Available
The Asterisk Development Team has announced the releases of:
DAHDI-Linux 2.6.1
DAHDI-Linux 2.5.1
DAHDI-Tools 2.6.1
DAHDI-Tools 2.5.1
DAHDI-Linux-Complete 2.6.1+2.6.1
DAHDI-Linux-Complete 2.5.1+2.5.1
These releases are available for immediate download at:
http://downloads.asterisk.org/pub/telephony/dahdi-linux
http://downloads.asterisk.org/pub/telephony/dahdi-tools