share_spec | R Documentation |
This helper function shares spectral data and metadata with the Open Specy community.
Please note: that share_spec()
only provides basic sharing
functionality if used interactively. This means that files are only formatted
and saved for sharing but are not sent automatically. This only works with
hosted instances of Open Specy.
share_spec(x, ...)
## Default S3 method:
share_spec(x, ...)
## S3 method for class 'OpenSpecy'
share_spec(x, file = NULL, share = "system", credentials = NULL, ...)
x |
a list object of class |
file |
file to share (optional). |
share |
accepts any local directory to save the spectrum for later
sharing via email to wincowger@gmail.com; |
credentials |
a named list of credentials for cloud sharing; required if
|
... |
further arguments passed to the submethods. |
share_spec()
returns only messages/warnings.
Zacharias Steinmetz, Win Cowger
read_text()
;
digest()
; sessionInfo()
## Not run:
data("raman_hdpe")
share_spec(raman_hdpe,
metadata = list(
user_name = "Win Cowger",
spectrum_type = "FTIR",
spectrum_identity = "PE",
license = "CC BY-NC"
))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.