Skip to contents

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

saveElements(file.path(tempdir(), "elements.xlsx"))
saveElements(file.path(tempdir(), "elements.csv"), type = "csv")
list.files(tempdir(), pattern = "xlsx|csv", full.names = TRUE)
#> [1] "/tmp/RtmpXYBkNo/elements.csv"  "/tmp/RtmpXYBkNo/elements.xlsx"