Interactive R Programming with Binder - No Installation Required! 🚀
Welcome to PLS 120! In this course, we use the R programming language for statistical analysis in agriculture. Instead of installing R and RStudio on your computer, we use Binder and Jupyter Notebooks to provide you with a ready-to-use environment. No software installation needed! 🎉
Click the "Launch Binder" button above to start your R environment. This will take 2-5 minutes to load.
🔄 Binder is launching your environment - please wait patiently!
After clicking the link, Binder will show progress through several stages:
The green progress bar shows Binder is almost ready!
✅ Green bar means your environment is ready in just a few seconds!
Once Binder loads, you'll see the Jupyter Notebook interface. In the left panel, you'll see several folders:
assignment/ - Your homework assignmentsclass_activity/ - Lab tutorials and exercisesClick on the class_activity folder to access this week's content.
👆 Click here to access your lab materials
Inside the class_activity folder, double-click on Week1_Introduction.ipynb to open the interactive lab notebook.
👆 Double-click here to open the lab instructions and code
We've already uploaded the data for this lab! The file LA_Data.csv contains the statistics data. You can double-click on it to explore the data if you're curious.
👆 Click here to view the raw data (optional)
⚠️ Important: Binder environments are temporary! Always save your work locally.
When you're done working, save your progress:
👆 Click the folder icon to return to the main directory
2. Download your notebook - Right-click on your .ipynb file and select "Download"
From the main directory, click on the assignment folder to access your homework.
👆 Click here to access assignment materials
Double-click on Assignment1.ipynb to open your assignment.
👆 Double-click here to open your assignment
Fill in all code boxes and text boxes carefully to answer all questions. Look for:
Click File → Download to save your notebook code.
👆 Download your .ipynb file for backup
For submission, you also need an HTML or PDF report:
Click File → Save and Export Notebook As → HTML (or PDF)
👆 Export your completed assignment as HTML or PDF
For each assignment, submit TWO files to UC Davis Canvas:
Your formatted assignment with outputs
Your notebook code as backup
Do not close Binder if you have not saved your code or all your progress will be gone!
If you want to take a break and continue your activity or assignment later:
Right-click on your code (.ipynb) file and click "Download" to make sure you have saved your code locally.
👆 Right-click on your notebook file and download it before closing Binder
When you open Binder again and want to continue your work:
.ipynb file
👆 Use the Upload button to continue your work from where you left off
Mohammadreza Narimani
📧 mnarimani@ucdavis.edu
🏫 Department of Biological and Agricultural Engineering, UC Davis
?function_name in code cells for helpclass_activity folderClick the Binder badge below to launch your first R programming session!
Happy coding! 🚀🌾