Learn R Programming

adapr (version 2.0.0)

Graph: Write object and capture file information

Description

Write object and capture file information

Usage

Graph(file.name = "data.csv", description = "Result file",
  write.fcn = guessWriteFcn(file.name), date = FALSE, ...)

Arguments

file.name

file to write to the source "Result" directory

description

describes object to write

write.fcn

function for writing file of object type. Will open graphics device.

date

logical for adding date to filename

...

arguments passed to write.fcn

Value

File information list

Examples

Run this code
# NOT RUN {
 # Within adapr R Script body:
 Graph("hist.pdf","Gaussian RV")
 hist(rnorm(100))
 dev.off()
# }

Run the code above in your browser using DataLab