Hi!

Is there a way to get a subset of a list?
I looking for some function like the function available for arrays and dataframe.
x<-1:10
x[-c(1,2)] for arrays

or
x<-data.frame(a=1,b=2)
subset(x,select=-a)

But one for a list
x<-list(a=1,a=2)
subset(x,select=-a)

The second problem i have are that i want to store parmeters to the plot.default function in a list. eg.: pars<-list(xlim=c(0,100),xlab="irrelevant" , ylab="incredible important").
and call the plot.default function with this list as parameters.

I know that there are the way with eval(parse(text = paste("plot.default",........

Is there a different one?

Eryk

Dipl. bio-chem. Eryk Witold Wolski    @    MPI-MG Dep. Vertebrate Genomics
Ihnestrasse 73 14195 Berlin          'v'
tel: 0049-30-84131285               /   \
mail: wolski@molgen.mpg.de        ---W-W----


	[[alternative HTML version deleted]]


