Learn R Programming

rfordummies (version 0.1.6)

saveElements: Saves a copy of the periodic table of elements as excel or csv file.

Description

Saves a copy of the periodic table of elements as excel or csv file.

Usage

saveElements(outfile, type = c("csv"))

Arguments

outfile

File name

type

Either excel or csv

Examples

Run this code
# NOT RUN {
saveElements(file.path(tempdir(), "elements.xlsx"))
saveElements(file.path(tempdir(), "elements.csv"), type = "csv")
list.files(tempdir(), pattern = "xlsx|csv", full.names = TRUE)

# }

Run the code above in your browser using DataLab