Learn R Programming

DLMtool (version 5.2)

DataInit: Initialize an empty Data workbook or CSV

Description

Initialize an empty Data workbook or CSV

Usage

DataInit(name = "Data", ext = c("xlsx", "csv"), overwrite = FALSE,
  dir = NULL)

Arguments

name

Name of the data file. Default is Data.xlsx

ext

Optional file extension. 'xlsx' (default) or 'csv'

overwrite

Logical. Overwrite existing files?

dir

Optional directory path to create the Data file. Default is `getwd()``

Value

Nothing. Creates a data file in the working directory.

Examples

Run this code
# NOT RUN {
DataInit("MyData")
# }

Run the code above in your browser using DataLab