Latest Blog Post

R grep() Function with various scenarios

R grep(): Finding a Position of Matched Pattern

The grep() function in R  searches for matches to a pattern within a character vector. …

Checking if a file and folder exists in R

How to Check If File and Folder Already Exists in R

Whether you are reading or writing files via programs in the file system, it is …

Checking the data type of a variable in R

How to Check Data type of a Variable in R

When it comes to checking the data type of a variable, it depends on what …

grepl() function in R

Mastering grepl() Function in R

The grepl() function (stands for “grep logical”) in R searches for patterns within each element …

Usage of zip(), unzip(), tar(), and untar()

zip(), unzip() and tar(), untar() Functions in R

The zip() function creates a new zip archive file. You must ensure that the zip tool …

Check and Create If a Directory and File Exists in R

How to Create Directory and File If It doesn’t Exist in R

When working with file systems, checking the directory or file existence is always better before …