Displaying 2 results from an estimated 2 matches for "a_list".
Did you mean:
va_list
2010 Aug 16
5
how to test if a vector contain a value?
Hi all,
How to convert following simple python script to R
if x in a_list:
print x
OR
simply, how to test if a vector contain a value?
Thank you in advance,
Hyunchul
[[alternative HTML version deleted]]
2012 Oct 14
1
How deep can/should lists be nested?
I started idly wondering how deeply lists could be nested, and
couldn't find an explicit limit in the documentation. With this
simple test
a_list <- list()
count <- 0
repeat
{
a_list[[1]] <- a_list
count <- count + 1
}
my (Win7, R-2.16.0 devel) machine threw an error when count got close to 25000.
The error that stopped it was
Error: protect(): protection stack overflow
I don't know how easy it would be to stop such a...