1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers.R
\name{createWorkbook}
\alias{createWorkbook}
\title{Create a new Workbook object}
\usage{
createWorkbook(
creator = ifelse(.Platform$OS.type == "windows", Sys.getenv("USERNAME"),
Sys.getenv("USER")),
title = NULL,
subject = NULL,
category = NULL
)
}
\arguments{
\item{creator}{Creator of the workbook (your name). Defaults to login username}
\item{title}{Workbook properties title}
\item{subject}{Workbook properties subject}
\item{category}{Workbook properties category}
}
\value{
Workbook object
}
\description{
Create a new Workbook object
}
\examples{
## Create a new workbook
wb <- createWorkbook()
## Save workbook to working directory
\dontrun{
saveWorkbook(wb, file = "createWorkbookExample.xlsx", overwrite = TRUE)
}
## Set Workbook properties
wb <- createWorkbook(
creator = "Me",
title = "title here",
subject = "this & that",
category = "something"
)
}
\seealso{
\code{\link[=loadWorkbook]{loadWorkbook()}}
\code{\link[=saveWorkbook]{saveWorkbook()}}
}
\author{
Alexander Walker
}
|