amcat-r uses the file '~/.amcatauth' to read credentials for connecting to servers to prevent passwords from appearing in script files. This function will update the .amcatauth file (if present) to add or change the password for the given host
1 | amcat.save.password(host, username, password, passwordfile = "~/.amcatauth")
|
host |
the host, e.g. "https://amcat.nl" |
username |
the AmCAT username to use |
password |
the password for the AmCAT user |
passwordfile |
optionally, specify a different password file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.