Dear Ramya,
Try this:

# Your list
A=matrix(rnorm(100),ncol=10)
B=matrix(rnorm(100),ncol=10)
C=matrix(rnorm(100),ncol=10)
colnames(A)=colnames(B)=colnames(C)=paste('X',1:10,sep="")
mylist=list(A,B,C)
names(mylist)=c('A','B','C')

# Your name vector
x=c('A','C')

# Marching up!
mylist[names(mylist) %in%  x]

HTH,

Jorge


On Thu, Oct 9, 2008 at 3:01 PM, Rajasekaramya <ramya.victory@gmail.com>wrote:

>
> Hi,
>
> I have a list(A1) of dataframe and a vector containing a 22 list names.
> list(A1)
> abc
>  l m n
>  p q r
>
> dce
>  e g h
>  l k m
>
> kpo
>  a d c
> also i have a vector of list names.
> abc,dce similarly i have 22 elements.
>
> I wanna delete or want a list without the list elements whoes name match up
> the vector.
>
> my result should be
> kpo
> a d c.
>
> i tried lapply it is in working in the way i want.
> Kindly help me
> Ramya
>
>
>
> --
> View this message in context:
> http://www.nabble.com/LIST-HELP-tp19905212p19905212.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

