Displaying 6 results from an estimated 6 matches for "biglist".
Did you mean:
siglist
2013 May 16
1
To List or Not To List
...t approach, the assembly of the list requires 8.44 and then the
processing requires 39.20 totaling 47.64. So a slight win for the data
frame approach. [Continued]
> ptm <- proc.time()
>
> list.object <- quote(list())
> list.object[ symbols ] <- lapply( symbols, as.name )
> biglist<-eval(list.object)
>
>
> for (i in seq_along(biglist))
+ {
+ biglist[[i]]<-subset(biglist[[i]],select=-c(Open,High,Low))
+ #biglist[[i]]<-biglist[[i]][as.character(biglist[[i]]$Index) >
"2007-01-01", ]
+ #biglist[[i]]$Index<- as.Date(biglist[[i]]$Index,forma...
2011 Sep 02
2
If NA Problem!
...e doing instead. I know that I must use the for function for
my project. The thing I most want to understand is how, after specifying a
certain condition, one may save certain data that occurs when that condition
is met. I hope I have been clear enough!
Thank you very much for your help!
Anna
biglist<-list(a=1:4,b=2:6)
lilwin<-list(x=NA,y=2)
lilloss<-list(m=1,n=3)
> biglist$a
[1] 1 2 3 4
$b
[1] 2 3 4 5 6
> lilwin$x
[1] NA
$y
[1] 2
> lilloss$m
[1] 1
$n
[1] 3
iwish<-list()
for(p in 1:length(biglist)){
if(is.na(lilwin[[p]])==F) iwish[p]<-list(biglist[[p]][lilwin[[p]...
2008 Oct 01
3
lapply where each list object has multiple parts
...Is it possible to do
this with lapply? If not, can you recommend another function? Thanks.
eric
> x1 <- c(0,1,2,3)
> x2 <- c(7,8)
> x3 <- c(2,6,6,8)
> x4 <- c(4,8)
>
> Lst1 <- list(label1 = x1,label2 = x2)
> Lst2 <- list(label1 = x3, label2 = x4)
>
> BigList <- list(Lst1, Lst2)
>
> lapply(BigList$label1, mean)
list()
>
[[alternative HTML version deleted]]
2001 Sep 27
1
list of all objects - just being curious
Hello all,
to obtain a list of all objects in all search paths, I've found the
following to work:
> biglist <- sapply(1:length(search()), objects)
This more obvious one, however, does not work:
> biglist <- sapply(search(), objects)
Error in pos.to.env(pos) : invalid argument
Still, search() gives
[1] ".GlobalEnv" "package:ctest" "Autoloads" "package...
2010 May 31
1
Building a what list for scan to use
Using read.table now on large files. Scan should be faster reading and
parsing the files if a 'what' list is provided.
How would I generate a what list that repeats the the last 4 elements n
(n=14 or 10 or 8) times?
whatlist=list(Tstamp="",Condition=0,A1=0,B1=0,C1=0,D1=0)
All are numeric, either decimal or hexadecimal.
Thanks in advance,
Alex van der Spek
2004 Jun 17
5
Problem in using rsync
Hi
I use rsync to perform backup on disk on a SunFire 880 with Solaris 8. For
performance issues, we launch simultaneously 5 rsyncs on 5 different fliesystems
and about 150-200 "cp -p" commands on as many database files. We have been
using the same scripts for about 2 months, without problems. The backup is
performed on the same server (from filesystem to filesystem on the same