Learn R Programming

staRdom (version 1.1.28)

eempf_OF_upload: 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)

Value

HTTP status code from the upload POST

Arguments

email

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

file

the file containing a PARAFAC model in openfluor format

Examples

Run this code
## due to the need of a valid account, this function cannot be
## tested with generic data.
## Please use your own account to do so.
if (FALSE) {
data(pf_models)

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

Run the code above in your browser using DataLab