eempf_OF_upload: Upload PARAFAC models to openfluor.org

eempf_OF_uploadR Documentation

Upload PARAFAC models to openfluor.org

Description

This function uploads a PARAFAC model to openfluor.org from within R. You need to have an account at openfluor.org and supply the email used for the account to the function. Your password is then asked in a secure way and only used within one execution of this function.

Usage

eempf_OF_upload(email, file)

Arguments

email

email address you use to login at openfluor.org as string

file

the file containing a PARAFAC model in openfluor format

Value

HTTP status code from the upload POST

Examples

## due to the need of a valid account, this function cannot be
## tested with generic data.
## Please use your own account to do so.
## Not run: 
data(pf_models)

file <- file.path(tempdir(),"openfluor_example.txt")
eempf_openfluor(pf4[[1]],file)
eempf_OF_upload("helena.glory@rur.play", file)

## End(Not run)

MatthiasPucher/staRdom documentation built on June 30, 2023, 10:55 a.m.