Learn R Programming

adapr (version 2.0.0)

createFileInfo: Creates a list containing information about a file

Description

Creates a list containing information about a file

Usage

createFileInfo(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(pullSourceInfo("adaprHome")$project.path,
project.directory.tree$analysis,"read_data.R")
createFileInfo(dirname(file0),basename(file0),"a program that reads")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab