Hi,
i have a dataframe containing some values.
for eg:-

MyDataFrame<-
Name   Age   Place
-------    ------    -----------
Aby          12        USA
Raj            25        UK
Romi        32        ENG
Amy         31        IND

My requirement what is, i have a search key word[it should search from all
the columns], that i need to find out from this dataframe. If search keyword
found , it should return that particular row and column number.

For eg:- My search keyword is "ENG".
After searching, it should return particular row & column number. Here it is
" MyDataFrame[3,3] "

Can anyone help me please ?

- Antony.



--
View this message in context: 
http://r.789695.n4.nabble.com/Searching-from-Dataframe-tp4642722.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