Discover and read the best of Twitter Threads about #Rproject

Most recents (3)

๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป How do you set up your own #ShinyApp?

It's easy in #rstats! Start a new #Rproject and select "Shiny Application". It will create a project with an "app.R" file for you โœจ Snapshot showing RStudio Project Wizard where "Shiny Ap
Once it's open, you can replace the code that is already in the "app.R" file with this code snippet below๐Ÿ‘‡ It does all the magic and shows how you can build a simple #ShinyApp ๐Ÿ”ฎ

(it's here for you to try: bit.ly/shinyapp-test) Screenshot showing a ShinyApp with selection boxes left (to
What the ShinyApp does:

You have checkboxes on the left side that let you choose countries (it's the ISO3 abbreviation, so "RWA" stands for Rwanda) and, depending on what you selected, your #ShinyApp will show a (non-realistic) population size for each country in a new plot.
Read 24 tweets
๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป How do you use GitHub and RStudio?

If you connect your local repository with a remote repository (for instance on GitHub), youโ€™ll be able to store it also in the cloud and access it from everywhere. Setting up this connection is easy in @rstudio - just follow these steps: Visualization showing a typical workflow when using GitHub i
@rstudio You can see one detailed use case in the GIF. It shows how I typically set up a project in #rstats with GitHub when working in academia

@AcademicChatter #AcademicTwitter
@rstudio @AcademicChatter I create a #GitHub repository first (depending on data privacy and other things, I go for either public or private but I always add a README. READMEs are great because they allow you write a short description of your repository in #markdown)
Read 10 tweets
Now that you know how a general package structure looks like, we can start building a package ๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป
#RStudio is great, just follow these steps: Select "File", "New Project...", "New Directory" and select "R Package". You can now give your R package a meaningful name, select a path and hit "Create project". Showing RStudio wizard when creating a new package
You're now ready to go! Once executed, you have a fully functional package structure in your #Rproject (that we already discussed) ๐Ÿ˜Š Now it's time to move your function to your "R/" folder and populate it! Showing how the RStudio desktop version looks like with a ty
Read 8 tweets

Related hashtags

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.00/month or $30.00/year) and get exclusive features!

Become Premium

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

Donate via Paypal Become our Patreon

Thank you for your support!