Package Management for R and Python

  • Do you have to open old analyses in Python or R and get them running again?
  • Have you found that sharing your analysis with others is difficult?
  • Are you tired of saying “Well, it works on my computer”?

You may be in need of this workshop! Learn about how to maintain your analysis and software projects so that they will still be runnable months later by managing the R and Python packages that they are dependent on.

We will cover two package management systems: uv for Python, and renv for R.

Class information

Learning Objectives (LOs)

  • Explain why package management is complicated for both Python and R and strategies for reducing this complexity

  • Define a software environment and how it enables reproducible and portable analysis

  • Manage software packages reproducibly for an analysis using uv (Python)

  • Manage software packages reproducibly for an analysis using renv (R)

Frequently Asked Questions

  • How often is this workshop taught?

    This workshop is offered once a year (currently winter). Check the schedule to see when it will next be offered.

  • Can I work through the materials without taking the class?

    Yes, you can access the course materials on your own any time.

  • Can I take the class if I’m not an employee at Fred Hutch?

    The class is open to members of the Cancer Consortium including Fred Hutch, the University of Washington, and Seattle Children’s Hospital.

  • Can I take this class more than once?

    You can sign up more than once, but be aware that there is tyspically a waitlist. We will prioritize students who have not taken the class. If there is room you are welcome to take it again.