Extracting Certain Data from a Data Set Using R


This question already has an answer here:


So you want to select by rownames:

 fpe[ rownames(fpe) %in% c('Bolivia', 'Cuba', 'Mexico'), ]

Need Your Help

Is there anyway to log the error without breaking a loop?

r logging message break

I am using a loop to process a bunch of files, some of which could be poorly formatted, and cause error.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.