find.packages_path: Find the R Packages to Import a File Format

View source: R/find.packages_path.R

find.packages_pathR Documentation

Find the R Packages to Import a File Format

Description

This function takes a file path as input and searches the CRAN repository for R packages that can import the file format.

Usage

find.packages_path(file_path)

Arguments

file_path

A character string specifying the file path of the file to be imported.

Value

A character string that lists the R packages that can be used to import the file format of the input file.

Examples

# Search for packages that can import a CSV file
find.packages_path("sample.csv")

# Search for packages that can import a JSON file
find.packages_path("sample.json")


fixr documentation built on April 4, 2025, 12:30 a.m.