Description Usage Details Value Author(s)
Each user will have their own subfolder on the sftp site to which they upload. This function sets the site and user info in a persistent file called "pushPullInfo.txt" in the packages root directory. The information comprises the sftp URL, the sftp user name, the sftp password, and the user's unique user name. (The intent is to allow a simple setup where the sftp user name and password are shared across students.) When the library is loaded, the information is loaded from that file and place in an option() called 'pushPullInfo'.
1 |
The file "pushPullInfo.txt" is a plain text file with four lines. The lines contain the sftp site URL (without the "sftp://" prefix, and possibly with a "/directory" suffix), the sftp user name, the sftp password, and the users unique id (e.g., base portion of University email address).
The return value of getOption("pushPullInfo") is a named character vector with elements "sftpSite", "sftpName", "sftpPassword", and "userName".
None
Howard J. Seltman hseltman@stat.cmu.edu and Francis R. Kovacs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.