find.packages_path {fixr}R 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")


[Package fixr version 0.1.0 Index]