I love using and teaching R. For a while I was an adjunct faculty member, and I taught MFA students about data viz and R. It was so much fun! I always learn new things when I teach.

Based on my experience learning and teaching R, here are my five tips for learning R. (1/8)
1. Make mistakes. Mistakes help you learn. Even though I’ve been coding and using R for many years, I consistently run into errors and make mistakes when I code, and I always learn new things. (2/8)
2. Experiment and try new things. There is so much to learn and do in R, and it can feel  both exciting and a bit overwhelming. But the more you experiment, the more you’ll learn. (3/8)
3. Find a community. Learning R is something we usually do in isolation in front of our computers, and it can feel lonely. #RLadies is a great place to find this community! Learning in community is great for getting help, discovering new tips, and making friends! (4/8)
4. Take your time. You don’t have to figure it out all at once. It's important to take breaks and remember that learning R bit by bit will actually help you remember it later on. There's so much R can do - you don't have to do it all right away. (5/8)
5. Practice on a topic you care about. It’s not very interesting to follow R tutorials on data you have no connection to. So, once you have a handle on some of the basics, my recommendation is to find a topic you care about and do your own project with it. (6/8)
Here are some resources that you can use to find datasets:

Interesting Datasets github.com/curran/data/bl…

Data is Plural data-is-plural.com/archive/

Tidy Tuesday github.com/rfordatascienc…

10 sources for free datasets careerfoundry.com/en/blog/data-a…

(7/8)
Some more resources for datasets:

Kaggle kaggle.com/datasets

21 places to find free datasets dataquest.io/blog/free-data…

(7.5/8)
I share some more details on these tips in this blog post: schillingdatastudio.com/blog/learn-r-t…

What are your tips for learning R? Where do you go to find interesting datasets to practice or create personal projects? (8/8)

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with We are R-Ladies

We are R-Ladies Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @WeAreRLadies

Nov 1
Happy Tuesday! Today I'm going to share a little more about my R journey.

I first learned R through a statistics class and book in college. Then I learned more about it in my second full-time job as a statistician in market research by reading and using another person's code.
I got really into doing data viz in R after I joined my local R-Ladies chapter (@RLadiesTucson) in 2020 and started participating in weekly #TidyTuesday sessions.
By practicing my data analysis and visualization weekly in R through #TidyTuesday, I've learned new functions and improved my #RStats skills. It's also super inspiring to see other people's work and explore their code. I really appreciate the openness of the R community!
Read 5 tweets
Oct 31
Hi everyone! I'm Jenn, and I'm super excited to be curating #RLadies this week! I've worked in data/data science for about 10 years, and I love R! I mainly use R for data viz and analysis. (1/5)
This week I'll be talking about #DataViz and learning #RStats. I learned R first in grad school and then on the job when I worked as a statistician. (2/5)
Now, I use R in my work as a research analyst and for data viz projects I do for fun, like participating in #TidyTuesday and visualizing the books I read in 2021. (3/5)
Read 5 tweets
Oct 19
(1/n) Since Halloween is just around the corner, let's talk about something spooky: presentations with LIVE CODING 🎃👻😱. To prepare for a 2-hour virtual workshop on package development, I came up with a system to help me stay organized.

Here's what helped⬇️
(2/n) First, what is it about live coding that makes it tricky? IMO it’s the amount of context switching. You need to keep the audience engaged while juggling an array of different apps (e.g. web browser, IDE, terminal). More apps = more unexpected things possibly happening.
(3/n) I decided to base my workshop on Chapter 2 of the R Packages book. The book did *a lot* of the heavy lifting for me; I used the section headings to outline my lesson plan. I also made sure to set aside some time for a break in the middle and a discussion at the end.
Read 8 tweets
Oct 19
(1/n) A fun and practical idea for an R package: a #ggplot2 extension to modify plots so they adhere to an organization’s visual identity 📊📈📉⬇️
(2/n) A visual identity allows an entity to be instantly recognized. Made up of their logo, typography, and colors, it can be applied when creating external or internal communications. For example, here’s the visual building blocks of my alma mater @UBC: bit.ly/3EN0oNs Left: a sequential palette made up of 7 colors. Right: a lis
@UBC (3/n) My first crack at package development was during my master's studies with @UBCMDS. My classmates and I created a #ggplot2 extension to allow users to change the appearance of plots based on the visual identities of different Canadian universities: bit.ly/3VHssIe
Read 7 tweets
Oct 18
(1/n) Think that your team's workflow could benefit from a custom R package but don't know where to start?

Here's a list of steps that helped me when I was embarking on my package development journey at my previous workplace ⬇️
(2/n) First, identify your team's needs. Are there any pain points that could be alleviate with code?

I chose to send out a questionnaire to formulate a team-wide wish list of functions they'd like to see in the communal toolbox 🧰

For each function, I asked for the following:
(3/n)
1️⃣ Description and purpose
2️⃣ Does a prototype exist? If it is available on a shared drive (or something similar), where can I find it 🔦 (e.g. path, line number)?
3️⃣ Expected input(s) and data type(s)
4️⃣ Expected output(s) and data type(s)
5️⃣ Expected frequency of use
Read 6 tweets
Oct 18
(1/n) Last year, I led workshops on package development with the help of @RLadiesVan and @RLadiesSeattle. I often find it helpful learning why a tool is useful before diving into how to use it, so I began each workshop by motivating why you might want to try creating a package:
@RLadiesVan @RLadiesSeattle (2/n) I’ll write a few lines of code to accomplish a specific task. Later, I'll often find that the code chunk is rather applicable to other situations. I might copy and paste the relevant lines of code and repurpose it by changing a few characters here and there.
@RLadiesVan @RLadiesSeattle (3/n) If I find myself having to do this multiple times (>2), it's a sign for me to wrap the code into a function. If I ever need to change its behavior, I'll just have to edit the function definition. This sure beats trying to find and amend all instances of the copied code!
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(