Hi

How can I load libraries from a list containing the library names?

Something like this

ListOfLibraries=c("foreign","survival")

for (in in 1:length(ListOfLibraries)){library(as.name(ListOfLibraries[i]))}

I already tried this  with no results.


Any help appreciated. 

Thanks

--
View this message in context: 
http://r.789695.n4.nabble.com/Load-Libraries-from-list-tp4199903p4199903.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.

Reply via email to