About 15,400,000 results
Open links in new tab
  1. grep function - RDocumentation

    grep(value = FALSE) returns a vector of the indices of the elements of x that yielded a match (or not, for invert = TRUE). This will be an integer vector unless the input is a long vector, when it …

  2. R: How to Use grep () for Pattern Matching and Replacement

    May 23, 2024 · This tutorial explains how to use the grep () function in R for pattern matching and replacement, including examples.

  3. How to Use grep () for Exact Matching in Base R: A …

    The grep () function is a powerful tool in base R for pattern matching and searching within strings. It’s part of R’s base package, making it readily available without additional installations.

  4. grep command in Unix/Linux - GeeksforGeeks

    Nov 3, 2025 · The grep command is one of the most useful tools in Linux and Unix systems. It is used to search for specific words, phrases, or patterns inside text files, and shows the …

  5. grep - Wikipedia

    grep is a command-line utility for searching text for lines that match a regular expression. Its name comes from the ed command g/ re /p (g lobal, r egular e xpression, p rint), which has the same …

  6. Mastering `grep -r` in Linux: A Comprehensive Guide

    Nov 14, 2025 · This blog post will delve into the details of grep -r, covering its fundamental concepts, usage methods, common practices, and best practices. By the end of this guide, …

  7. How to Use the grep Command on Linux - How-To Geek

    Sep 10, 2023 · Recursive Searches Using grep To search through nested directories and subdirectories, use the -r (recursive) option. Note that you don't provide a file name on the …

  8. Linux: Recursive file searching with `grep -r` (like grep + find)

    Aug 4, 2024 · Recurse in directories skip file matching PATTERN. As you’ve seen, the grep -r command makes it easy to recursively search directories for all files that match the search …

  9. grep command in Linux w/ examples

    Jul 29, 2024 · When it finds a match in a line, grep copies the line to standard output or whatever output you select using options. grep was initially developed for the Unix operating system but …

  10. grepl () and grep () functions in R ️ [Pattern Matching]

    The grepl and grep functions allows you to search for pattern coincidences inside a character vector. In this tutorial you will learn their differences and how to use them in several use cases.