Learn R Programming

adapr (version 1.0.2)

Create.file.info: Creates a list containing information about a file

Description

Creates a list containing information about a file

Usage

Create.file.info(path, file, description = "", dbname = "", si = NULL)

Arguments

path

is the directory file resides

file

is the filename

description

is the description of the file

dbname

is the database name

si

is the source_info list default is null

Value

file info list with path filename fullname description and db.name

Examples

Run this code
# NOT RUN {
file0 <- file.path(pull_source_info("adaprHome")$project.path,
project.directory.tree$analysis,"read_data.R")
Create.file.info(dirname(file0),basename(file0),"a program that reads")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab