Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Post assignments to Canvas. Have students download to their personal computers, then Upload to their Home directory in RStudio Server. When complete, the students can either copy the files from their EDU pod Home directory back to their computer using the Samba mount of their Home directory, then upload the completed assignment to Canvas from there.

  2. Instructors can post assignments to their shared /stor/work/<Course_Semester> directory in a number of ways, as describe below in xxxin the next Posting assignments to the shared course directory section below. After posting an assignment to the shared /stor/work/<Course_Semester> directory, instructors can have students copy it to their Home directory using a Terminal pane in RStudio Server, renaming it. When finished, use an RStudio Server Terminal pane to copy back to the shared /stor/work/<Course_Semester> directory.

    Code Block
    languagebash
    # Copy/rename homework assignment to user home directory,
    # which is the default current directory in an RStudio Terminal window.
    cp /stor/work/MOL290C_Fall2021/homework1.R  homework1.amb599.R
    
    # When complete, copy the finished assignment back to the shared course/semester directory
    # Note the -p option ensures the file's date/time stamp is preserved
    cp -p homework1.amb599.R   /stor/work/MOL290C_Fall2021/ 


Posting assignments to the shared course directory

...

Upload assignment files can be done in

...

several ways:

  • Use Desktop file system access via Samba to mount your Home directory, then drag/drop files from your computer using its file system browser.
  • Use a remote file transfer command line utility such as scp, to copy files from your computer. The scp command-line program is available on Mac computers in the Terminal application, and on Windows computers in both Command Prompt and Windows PowerShell applications. A graphical remote file transfer program can also be used, such as WinSCP on Windows or Cyberduck on Macs.

Using one of these methods, instructors can stage files in the shared /stor/work/<Course_Semester> directory in either one or two steps.

The two-step process involves first transferring the files to your Home directory using one of the methods described below, then copying the files from there to the shared /stor/work/<Course_Semester> directory using an RStudio Server Terminal pane. For example, in a Terminal pane. For example, if your course is MOL290C_Fall2021:

Code Block
languagebash
cp -p ~/homework1.R   /stor/work/MOL290C_Fall2021/ 

In the one-step process, you first create a symbolic link to your shared /stor/work/<Course_Semester> directory in your Home directory, then use that as part of the destination path when uploading files to your Home directory. Such a symbolic link can be created, for example, in a Terminal pane:

Code Block
languagebash
# Change to your Home directory, then create a symbolic link called "MOL290C_Fall2021"
cd
ln -s -f /stor/work/MOL290C_Fall2021