Hi, It might be a primitive question but how to find the position of a string in a data frame? Suppose I search the word "sum" (case insensitive) in a data frame and it is in the 7th row, 3rd column, how to retrieve the indices 7, 3? I tried to use grep with tapply but it doesn't work.
Many thanks Carol [[alternative HTML version deleted]] ______________________________________________ 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.