SlideShare a Scribd company logo
GettingHelp
GettingHelp
Roger D. Peng, Associate Professor of Biostatistics
Johns Hopkins Bloomberg School of Public Health
Asking Questions
Asking Questions
Asking questions via email is different from asking questions in person
People on the other side do not have the background information you have
Other people are busy; their time is limited
The instructor (me) is here to help in all circumstances but may not be able to answer all
questions!
·
·
they also don’t know you personally (usually)
-
·
·
2/14
Finding Answers
Finding Answers
Try to find an answer by searching the archives of the forum you plan to post to.
Try to find an answer by searching the Web.
Try to find an answer by reading the manual.
Try to find an answer by reading a FAQ.
Try to find an answer by inspection or experimentation.
Try to find an answer by asking a skilled friend.
If you're a programmer, try to find an answer by reading the source code.
·
·
·
·
·
·
·
3/14
Asking Questions
Asking Questions
It’s important to let other people know that you’ve done all of the previous things already
If the answer is in the documentation, the answer will be “Read the documentation”
·
·
one email round wasted
-
4/14
Example: Error Messages
Example: Error Messages
> library(datasets)
> data(airquality)
> cor(airquality)
Error in cor(airquality) : missing observations in cov/cor
5/14
Google is your friend
Google is your friend
6/14
Asking Questions
Asking Questions
What steps will reproduce the problem?
What is the expected output?
What do you see instead?
What version of the product (e.g. R, packages, etc.) are you using?
What operating system?
Additional information
·
·
·
·
·
·
7/14
Subject Headers
Subject Headers
Stupid: "Help! Can't fit linear model!"
Smart: "R 3.0.2 lm() function produces seg fault with large data frame, Mac OS X 10.9.1"
Smarter: "R 3.0.2 lm() function on Mac OS X 10.9.1 -- seg fault on large data frame"
·
·
·
8/14
Do
Do
Describe the goal, not the step
Be explicit about your question
Do provide the minimum amount of information necessary (volume is not precision)
Be courteous (it never hurts)
Follow up with the solution (if found)
·
·
·
·
·
9/14
Don't
Don't
Claim that you’ve found a bug
Grovel as a substitute for doing your homework
Post homework questions on mailing lists (we’ve seen them all)
Email multiple mailing lists at once
Ask others to debug your broken code without giving a hint as to what sort of problem they should
be searching for
·
·
·
·
·
10/14
Case Study: A Recent Post to the R-devel
Case Study: A Recent Post to the R-devel
Mailing List
Mailing List
Subject: large dataset - confused
Message:
I'm trying to load a dataset into R, but
I'm completely lost. This is probably
due mostly to the fact that I'm a
complete R newb, but it's got me stuck
in a research project.
11/14
Response
Response
Yes, you are lost. The R posting guide is
at http://www.r-project.org/posting-
guide.html and will point you to the
right list and also the manuals (at
e.g. http://cran.r-project.org/
manuals.html, and one of them seems
exactly what you need).
12/14
Analysis: What Went Wrong?
Analysis: What Went Wrong?
Question was sent to the wrong mailing list (R-devel instead of R-help)
Email subject was very vague
Question was very vague
Problem was not reproducible
No evidence of any effort made to solve the problem
RESULT: Recipe for disaster!
·
·
·
·
·
·
13/14
Places to Turn
Places to Turn
Class discussion board; your fellow students
r-help@r-project.org
Other project-specific mailing lists (This talk inspired by Eric Raymond’s “How to ask questions
the smart way”)
·
·
·
14/14

More Related Content

PPTX
Collaboration 2dm4gv6
PPTX
En7 g ic11 observe correct
DOCX
Questionaire about interests and previos knowledge of computer science
PPT
jon-on reasearch.ppt
PPT
Comu346 lecture 7 - user evaluation
PPTX
Yuris perez ingles questionare
PPTX
Study Skills and Test Taking Tips
PPT
Presentaci_n a Dir_Nacional de Exploraci_n_Producci_.ppt
Collaboration 2dm4gv6
En7 g ic11 observe correct
Questionaire about interests and previos knowledge of computer science
jon-on reasearch.ppt
Comu346 lecture 7 - user evaluation
Yuris perez ingles questionare
Study Skills and Test Taking Tips
Presentaci_n a Dir_Nacional de Exploraci_n_Producci_.ppt

More from ssuserc60019 (15)

PPT
guia_bibliografica_2020_version_13_08_20.ppt
PPT
camacho_0.ppt
PPT
01-VHDL-ALuca.ppt
DOCX
Huayculi.docx
DOCX
Emprendimiento personaje lider Grupal.docx
DOC
GRUPO SANGUINEO Y FACTOR RH Y DONACION DE SANGRE.doc
PDF
Triptico.pdf
PDF
Qué es la música folklórica en Bolivia.pdf
PDF
Proyecto ecosistemas y medio ambiente en equilibrio.pdf
PDF
Presentacion_clase 5.pdf
PDF
Dialnet-LosImpuestosEnLaEpocaDeLaIndependenciaSuImpactoSoc-3966935 (1).pdf
PDF
cheto 2.pdf
PDF
3°CARTILLA3°TRIM.pdf
PDF
3ero secundaria demo.pdf
PDF
09 Slides_Modulo9.pdf
guia_bibliografica_2020_version_13_08_20.ppt
camacho_0.ppt
01-VHDL-ALuca.ppt
Huayculi.docx
Emprendimiento personaje lider Grupal.docx
GRUPO SANGUINEO Y FACTOR RH Y DONACION DE SANGRE.doc
Triptico.pdf
Qué es la música folklórica en Bolivia.pdf
Proyecto ecosistemas y medio ambiente en equilibrio.pdf
Presentacion_clase 5.pdf
Dialnet-LosImpuestosEnLaEpocaDeLaIndependenciaSuImpactoSoc-3966935 (1).pdf
cheto 2.pdf
3°CARTILLA3°TRIM.pdf
3ero secundaria demo.pdf
09 Slides_Modulo9.pdf

Recently uploaded (20)

DOCX
BUSINESS PERFORMANCE SITUATION AND PERFORMANCE EVALUATION OF FELIX HOTEL IN H...
PDF
2a A Dynamic and Adaptive Approach to Distribution Planning and Monitoring JF...
PDF
DTC TRADIND CLUB MAKE YOUR TRADING BETTER
PPT
features and equilibrium under MONOPOLY 17.11.20.ppt
PDF
Fintech Regulatory Sandbox: Lessons Learned and Future Prospects
PDF
Truxton Capital: Middle Market Quarterly Review - August 2025
PPT
KPMG FA Benefits Report_FINAL_Jan 27_2010.ppt
PDF
Unkipdf.pdf of work in the economy we are
PDF
International Financial Management, 9th Edition, Cheol Eun, Bruce Resnick Tuu...
PPTX
Group Presentation Development Econ and Envi..pptx
PPTX
ML Credit Scoring of Thin-File Borrowers
PPTX
2. RBI.pptx202029291023i38039013i92292992
PDF
2012_The dark side of valuation a jedi guide to valuing difficult to value co...
PDF
Statistics for Management and Economics Keller 10th Edition by Gerald Keller ...
PDF
Buy Verified Stripe Accounts for Sale - Secure and.pdf
PPTX
INDIAN FINANCIAL SYSTEM (Financial institutions, Financial Markets & Services)
PDF
3a The Dynamic Implications of Sequence Risk on a Distribution Portfolio JFP ...
PPTX
Q1 PE AND HEALTH 5 WEEK 5 DAY 1 powerpoint template
PDF
USS pension Report and Accounts 2025.pdf
PPTX
Machine Learning (ML) is a branch of Artificial Intelligence (AI)
BUSINESS PERFORMANCE SITUATION AND PERFORMANCE EVALUATION OF FELIX HOTEL IN H...
2a A Dynamic and Adaptive Approach to Distribution Planning and Monitoring JF...
DTC TRADIND CLUB MAKE YOUR TRADING BETTER
features and equilibrium under MONOPOLY 17.11.20.ppt
Fintech Regulatory Sandbox: Lessons Learned and Future Prospects
Truxton Capital: Middle Market Quarterly Review - August 2025
KPMG FA Benefits Report_FINAL_Jan 27_2010.ppt
Unkipdf.pdf of work in the economy we are
International Financial Management, 9th Edition, Cheol Eun, Bruce Resnick Tuu...
Group Presentation Development Econ and Envi..pptx
ML Credit Scoring of Thin-File Borrowers
2. RBI.pptx202029291023i38039013i92292992
2012_The dark side of valuation a jedi guide to valuing difficult to value co...
Statistics for Management and Economics Keller 10th Edition by Gerald Keller ...
Buy Verified Stripe Accounts for Sale - Secure and.pdf
INDIAN FINANCIAL SYSTEM (Financial institutions, Financial Markets & Services)
3a The Dynamic Implications of Sequence Risk on a Distribution Portfolio JFP ...
Q1 PE AND HEALTH 5 WEEK 5 DAY 1 powerpoint template
USS pension Report and Accounts 2025.pdf
Machine Learning (ML) is a branch of Artificial Intelligence (AI)

04_getting-help_help.pdf

  • 1. GettingHelp GettingHelp Roger D. Peng, Associate Professor of Biostatistics Johns Hopkins Bloomberg School of Public Health
  • 2. Asking Questions Asking Questions Asking questions via email is different from asking questions in person People on the other side do not have the background information you have Other people are busy; their time is limited The instructor (me) is here to help in all circumstances but may not be able to answer all questions! · · they also don’t know you personally (usually) - · · 2/14
  • 3. Finding Answers Finding Answers Try to find an answer by searching the archives of the forum you plan to post to. Try to find an answer by searching the Web. Try to find an answer by reading the manual. Try to find an answer by reading a FAQ. Try to find an answer by inspection or experimentation. Try to find an answer by asking a skilled friend. If you're a programmer, try to find an answer by reading the source code. · · · · · · · 3/14
  • 4. Asking Questions Asking Questions It’s important to let other people know that you’ve done all of the previous things already If the answer is in the documentation, the answer will be “Read the documentation” · · one email round wasted - 4/14
  • 5. Example: Error Messages Example: Error Messages > library(datasets) > data(airquality) > cor(airquality) Error in cor(airquality) : missing observations in cov/cor 5/14
  • 6. Google is your friend Google is your friend 6/14
  • 7. Asking Questions Asking Questions What steps will reproduce the problem? What is the expected output? What do you see instead? What version of the product (e.g. R, packages, etc.) are you using? What operating system? Additional information · · · · · · 7/14
  • 8. Subject Headers Subject Headers Stupid: "Help! Can't fit linear model!" Smart: "R 3.0.2 lm() function produces seg fault with large data frame, Mac OS X 10.9.1" Smarter: "R 3.0.2 lm() function on Mac OS X 10.9.1 -- seg fault on large data frame" · · · 8/14
  • 9. Do Do Describe the goal, not the step Be explicit about your question Do provide the minimum amount of information necessary (volume is not precision) Be courteous (it never hurts) Follow up with the solution (if found) · · · · · 9/14
  • 10. Don't Don't Claim that you’ve found a bug Grovel as a substitute for doing your homework Post homework questions on mailing lists (we’ve seen them all) Email multiple mailing lists at once Ask others to debug your broken code without giving a hint as to what sort of problem they should be searching for · · · · · 10/14
  • 11. Case Study: A Recent Post to the R-devel Case Study: A Recent Post to the R-devel Mailing List Mailing List Subject: large dataset - confused Message: I'm trying to load a dataset into R, but I'm completely lost. This is probably due mostly to the fact that I'm a complete R newb, but it's got me stuck in a research project. 11/14
  • 12. Response Response Yes, you are lost. The R posting guide is at http://www.r-project.org/posting- guide.html and will point you to the right list and also the manuals (at e.g. http://cran.r-project.org/ manuals.html, and one of them seems exactly what you need). 12/14
  • 13. Analysis: What Went Wrong? Analysis: What Went Wrong? Question was sent to the wrong mailing list (R-devel instead of R-help) Email subject was very vague Question was very vague Problem was not reproducible No evidence of any effort made to solve the problem RESULT: Recipe for disaster! · · · · · · 13/14
  • 14. Places to Turn Places to Turn Class discussion board; your fellow students r-help@r-project.org Other project-specific mailing lists (This talk inspired by Eric Raymond’s “How to ask questions the smart way”) · · · 14/14