What is RPubs?
RPubs is a free web hosting service for R Markdown
documents. It allows you to: - Publish R Markdown files as professional
HTML documents - Share a permanent public URL - Build a portfolio of
your work - Demonstrate reproducible research practices
Example: https://rpubs.com/muntasir_masum/review_552
One-Time Setup
1. Create an RPubs
Account
- Go to https://rpubs.com/ in your web browser
- Click “Register” (top right corner)
- Choose a username (will appear in your URLs)
- Example:
john_smith or jsmith_ualbany
- Keep it professional and simple
- No spaces or special characters
- Enter your email address
- Create a strong password
- Click “Register”
- Check your email for a confirmation link
- Click the confirmation link to activate your account
✓ Success! Your RPubs account is ready
2. Connect RStudio to
RPubs
- Open RStudio
- Click Tools menu (top menu bar)
- Select Global Options…
- Click “Publishing” in the left sidebar
- Click the “Connect…” button
- A window will appear - select “RPubs”
- A web browser window opens automatically
- Log in with your RPubs username and password
- Click “Authorize” to allow RStudio to publish
- Return to RStudio when finished
- You should see “Authorized” confirmation
✓ Success! RStudio is now connected to your RPubs
account
Publishing Your First
Document
Step 1: Prepare Your
R Markdown File
Make sure your document has: - A title and author name in the YAML
header - Output format set to html_document
Example YAML header:
---
title: "EPI 553: Assignment Title"
author: "Your Name"
date: "2026-01-20"
output:
html_document:
theme: flatly
toc: true
toc_float: true
---
Step 2: Render to
HTML
- Open your R Markdown file (.Rmd) in RStudio
- Click the “Knit” button (top toolbar)
- Keyboard shortcut: Ctrl+Shift+K
- Wait for the document to render
- Your HTML document appears in the Viewer pane (bottom right)
⚠ Troubleshooting: If Knit fails, check for errors
in the console below and fix them before publishing
Step 3: Publish to
RPubs
- After successfully rendering, look for the
blue “Publish” button in the Viewer pane (top
right)
- Click the “Publish” button
- Alternative: Click ▼ next to Knit → “Publish
Document”
- A dialog box appears with options
Step 5: View &
Share Your Published Document
- Your browser opens automatically with your published document
- Copy the URL from the address bar
- Save this URL for submission to Brightspace
- Test that the document looks correct
- Share with others if desired
✓ Success! Your document is now published on
RPubs!
Updating Your Published
Document
You can update a published document anytime:
- Make changes to your R Markdown file
- Click Knit to render the updated HTML
- Click Publish again
- Keep the same Slug (URL name)
- Click “Publish” to update
- Your RPubs document is now updated
Note: The URL stays the same, but the content
updates
Best Practices
Naming
Conventions
Use consistent naming patterns: -
epi553_week1_lastname - epi553_hw1_lastname -
epi553_finalproject_lastname
Benefits: - Easy to find in your RPubs profile -
Professional appearance - Shows organization
Professional
Presentation
In your R Markdown file: - Include your full
name as author - Add the course number in the
title - Include the date the work was completed - Use
clear section headings - Add descriptive
comments in code - Explain your analysis
results
Privacy &
Professionalism
⚠ Important: RPubs documents are
PUBLIC
- Only publish work you’re comfortable sharing with anyone
- Never include confidential or sensitive information
- Keep your username professional
- Your username appears in every URL you publish
Submission to
Brightspace
For EPI 553
Assignments
- Publish to RPubs (following steps above)
- Copy your RPubs URL
- Go to Brightspace → EPI 553 →
Assignments
- Find the assignment submission area
- Submit your HTML file to Brightspace
(required)
- Paste your RPubs link in the comments (optional but
encouraged)
- Add any notes about your work
- Click Submit
Summary: - ✓ HTML file uploaded to Brightspace
(required) - ✓ RPubs link in comments (recommended)
Troubleshooting
Common Problems &
Solutions
“Cannot connect to
RPubs”
Cause: Authorization issue
Solution: 1. Go to Tools → Global Options →
Publishing 2. Click “Connect” again 3. Re-authorize RPubs access 4. Try
publishing again
“Document failed to
publish”
Cause: Various possible issues
Solution: 1. Check your internet connection 2.
Ensure document size is reasonable (<25MB) 3. Remove any problematic
characters from the slug 4. Try again in a few minutes 5. Email
Dr. Masum if problem persists
Questions?
About RPubs Publishing: - RPubs FAQ: https://rpubs.com/about -
Dr. Masum’s Office Hours: Tues & Thurs, 10:20-11:30 am - Yiming
Wang’s Office Hours: Mon & Wed, 11:30 am - 4:30 pm
Your RPubs Profile: - Your profile URL: https://rpubs.com/yourusername - Shows all documents
you’ve published - Good to share with employers or on your resume!
Happy Publishing! 🚀
Your reproducible research skills are impressive. Share them with
the world!