Downloading your files

I’ve received several questions about downloading your work files to your local computer, so I’m creating a post about it here, to answer everybody at once. If you have additional questions, please post below so everybody can see the answer, or email me if you prefer.

There are several options to download your files

  1. Wait until the end of the Workshop, and I will provide a single zip file of everything you’ve worked on (all of the files in your home directory). You will be able to download all of your files from a single unique link I will provide to each participant.
  2. Download as we go using SSH.
    1. Use an SSH file transfer program (also called SFTP) to transfer files. Some free software that support SFTP are
      1. WinSCP (Windows)
      2. Bitvise (Windows)
      3. Filezilla (Windows, Mac, Linux)
      4. Cyberduck (Windows, Mac)
      5. or many others
    2. I have documentation for installing Bitvise, and for general SSH usage.
    3. Once your desired SFTP software is installed, connect to the server using the same username and password you use to login to Rstudio and SSH.
    4. What you do exactly to transfer files from the Workshop cloud environment to your local computer will depend on which software you are using. Most of these programs are similar to using Windows Explorer or Finder to copy files.
  3. Download as we go using Rstudio.
    1. You can use the file manager in Rstudio to “Export” multiple files as a zip file.
    2. Go to the lower right pane, and make sure the “Files” tab is selected.
    3. Click on directories to navigate into them, if necessary.
    4. Use the check box to the left of the file/directory names to select what you want to download. Selecting a directory will download all of its contents.
    5. Once you have selected what you want, click the “More” button at the top of the pane, and then select the “Export…” option.
    6. A dialog will appear asking you what you want to name your download. Accept the default option or change it, then click “Download”.
    7. Your browser will download the zip file. It will be saved in your default download location, or perhaps your browser will ask you where to save it.
    8. Go to the location the file downloaded, and extract the zip file (how to do that depends on your operating system).

Is there a port associated with the ssh connection? I keep getting timed out when trying to ssh from local machine. Thanks!

No, it is just the regular port 22. If you have bad luck you might be trying to connect just as the cloud environment is ramping down after the live sessions. That typically happens one hour after a live session is scheduled to end. It then takes a minute or so for the load balancer to catch-up after a node has gone down.

If that’s the case, just wait 5-10 minutes and try again.

Otherwise it can be extremely difficult to diagnose, because the problem could exist anywhere from your computer all the way to the Amazon data center in Oregon. I’m not doing anything to block connections, though.

A post was split to a new topic: Accidentally ending Qualtrics questionnaires