unlist(recursive=FALSE) returns NULL elements when passed a nested
pairlist containing non-NULL data:
x - pairlist(pairlist(1:2))
unlist(x, recursive=FALSE)
## [[1]]
## NULL
version 2.7.2 RC (2008-08-18 r46382) under linux
I'm unaware of any motivation for constructing the above data
structure,
There are a few typos in the documentation for relist(). I've also
made a few other changes to the file which I believe are
improvements. I've attached a patch against the version under the
'trunk' branch on the svn server checked out today. It was produced by
diff -u
On Sat, Apr 12, 2008 at 01:30:13PM -0400, Vincent Goulet wrote:
Le sam. 12 avr. à 12:47, carlos martinez a écrit :
Looking for a simple, effective a minimum execution time solution.
For a vector as:
c(0,0,1,0,1,1,1,0,0,1,1,0,1,0,1,1,1,1,1,1)
To transform it to the following vector
On Sat, Apr 12, 2008 at 06:45:00PM +0100, Dan Davison wrote:
On Sat, Apr 12, 2008 at 01:30:13PM -0400, Vincent Goulet wrote:
Le sam. 12 avr. à 12:47, carlos martinez a écrit :
Looking for a simple, effective a minimum execution time solution.
For a vector as:
c
On Tue, Feb 12, 2008 at 11:06:59AM +, Oleg Sklyar wrote:
Dear developers:
I have just came across an (unexpected to me) behaviour of lists when
assigning NULLs to list elements. I understand that a NULL is a valid R
object, thus assigning a NULL to a list element should yield exactly
I think there's a minor bug in the argument-processing carried out by Rscript.
The effect is that if one passes -g as a flag to the script, it is
erroneously
exposed to the main executable's argument processing and therefore generates a
message about not being able to comply with the request
from ?eigen
symmetric: if 'TRUE', the matrix is assumed to be symmetric (or
Hermitian if complex) and only its lower triangle is used. If
'symmetric' is not specified, the matrix is inspected for
symmetry.
I think that could mislead a naive reader as it suggests
Hi Ben,
On Tue, Jun 26, 2007 at 11:58:35AM -0400, Benjamin Tyner wrote:
R-devel,
When I run the following code on the attached file,
tmp - scan(C:/temp.csv,
what=list(character,numeric),
sep=,)
Then tmp[[2]] is a character vector. My impression from the help file