[R] extract arguments from a list

From: <jessica.gervais_at_tudor.lu>
Date: Thu 19 Oct 2006 - 09:13:46 GMT


Hi,

I would like to know how to extract the arguments from a list :

For example, I have a list of charchacter x x<-
c("Bentazone","Atrazine","Epoxiconazol","Metolachlor","Epoxiconazol","Atrazine

desethyl","Fenpropimorph","Epoxiconazol","Metolachlor","Simazine","Atrazine 
desethyl","Epoxiconazol","Atrazine 
desethyl","Atrazine","Epoxiconazol","Metolachlor","Epoxiconazol","Atrazine 
desethyl","Fenpropimorph","Epoxiconazol","Metolachlor","Simazine")
 

and I am searching for a (basic) function which would return arguments of the list x, aphabeticaly reordered like this :  ("Atrazine","Atrazine
desethyl","Bentazone","Epoxiconazol","Fenpropimorph","Metolachlor","Simazine").

Can anyone help me ?

Thanks by advance

Jessica  

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch 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. Received on Thu Oct 19 19:17:22 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 19 Oct 2006 - 10:30:12 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.