# Revision history [back]

Turns out the step I was missing is that you must load the library using the r function r.library (i.e., r.library('SampleSizeMeans').

1) Use r.install_packages('PackageName') 2) Restart Sage 3) Use r.library('PackageName') to load the package prior to use.

It's worth noting that although it recommends that you restart Sage, it seemed to work immediately for the packages I tried so it may not be strictly necessary which is very handy!

 2 syntax stuff kcrisman 12072 ●38 ●126 ●246

Turns out the step I was missing is that you must load the library using the r function r.library (i.e., r.library('SampleSizeMeans').

1. Use r.install_packages('PackageName') 2) r.install_packages('PackageName')
3. Use r.library('PackageName') r.library('PackageName') to load the package prior to use.