Versions Compared

Key

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

...

There are a number of options for managing homework assignment files, for example:

  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. Post assignments in the shared /stor/work/<Course_Semester> directory. 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/ 
    Post assignments to Canvas. Have students download to their personal computers, then Upload to their Home directory in RStudio Server. When complete, have students copy the files from their EDU pod Home directory to their personal computer using scp, then upload to Canvas.