this post was submitted on 12 Jun 2023
8 points (100.0% liked)

R Programming

12 readers
2 users here now

Please use this as a forum to discuss R, and learn more about it. If you have any questions about how to do specific things in R, this is the place to ask.

Getting Started

You can download R here.

You can download RStudio here. RStudio IDE, which is supported by Posit PBC, is a powerful and well-developed IDE for R. Other development environment options include Emacs addon Emacs Speak Statistics and VSCode.

Other Communities

Other communities that may be of interest across the fediverse:

Please send @a_statistician a message to recommend additional communities to add to this list.

Learning resources:

founded 1 year ago
MODERATORS
 

In the interests of making this community home for those of us who are reddit refugees, let's go ahead and introduce ourselves.

Some suggested things to comment on/include in your introduction:

  • Tidyverse, base, or data.table?
  • Are you primarily a user, a developer, or in between?
  • How long have you been using R?
  • What other languages do you use?
  • What do you use R for? Statistics? generative art? data wrangling?
  • Are you using R primarily for work, fun, hobbies, or something else?
  • Are you a hex sticker collector? Why or why not?
  • Where are you on the data engineering <----> pure statistics continuum?
  • What's your favorite obscure package?
top 11 comments
sorted by: hot top controversial new old
[–] ShadowAether 4 points 1 year ago (1 children)

Hi, I'm a PhD student in software engineering and I've used R for prototyping/testing algorithms and methods related to machine learning/data complexity/statistics. I use Python and C (for hardware related stuff). My favorite obscure package is ECoL.

[–] [email protected] 2 points 1 year ago (1 children)

Interesting! I've never seen something that tried to quantify the data complexity in quite that way before, but it looks cool!

[–] ShadowAether 2 points 1 year ago

Well I needed a way to measure changes in separability in high dimensional spaces (besides most classifier performance bc that has too much variance and is not sensitive enough) and I thought this was actually kind of a solved problem but nope. So I went down the data complexity rabbit hole

[–] [email protected] 3 points 1 year ago

I don't use R in my job, but I loved using it in college for statistics & data science! I'm mostly subbed just to see what R experts have to say about it, so I don't have much to say myself yet

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

I've been reading books about GLM and Bayesian Statistics and am using the "glm" function and "brms" and "rstanarm" packages. They're pretty fun. If any of you are interested in using those packages know that rstan is a bit weird which is why I'm using R 4.0.2 and rtools42 and not the current versions.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

I'm @MalditoBarbudo, a data scientist at an ecology and forestry research center.

I've been using R for 14 years, starting as an user and ending as a developer. I've done also some python, sql and web development (html, js and css).

I prefer tidyverse, it fit perfectly with my mental logic, but I reckon that sometimes data.table is needed (but in that case dtplyr comes to help!).

I maintain several packages (sapfluxnetr, meteospain...) and collaborate in others (meteoland, medfate...). I also maintain a web with several shiny apps for forest data visualization (LFC).

My favourite obscure package changes every week or so, but if I have to choose one, lately I've been playing with rayshader, trying to create nice 3d map plots.

[–] [email protected] 1 points 1 year ago

I'm @a_statistician! I'm a statistics professor at a midwestern state university. I teach R and python programming and research data visualization.

  • Tidyverse. I've always wanted to get into data.table, but I find that tidy verbs are easier to teach and explain to my students, and it's more important to me that the code is readable than that it is a bit faster in production, since I spend most of my time trying to understand WTF students' code is doing.

  • I'm primarily a user, though I have contributed to several packages and I enjoy development - I just don't spend as much time on it as I do in R generally.

  • I've been using R since 2009, give or take, so almost 15 years now.

  • I also teach Python, though it's definitely not my default language anymore. I can accomplish minor tasks in JavaScript or C++ given enough time and googling, but R is the primary language I'm fluent in and using day to day. I have a profound hatred of Java that stems back to the trauma of taking AP Comp Sci I in C++ and then AP Comp Sci II in Java, with no transition to teach the basics of Java.

  • I use R for data visualization and data wrangling, though I wish I had enough time to play with generative art, because it seems really cool.

  • I use R for work, fun, and hobbies, but fun and hobbies are usually work related because professor life is all-consuming.

  • I am a total hex sticker whore. I still mourn laptop upgrades where I can't transfer the hex stickers from laptop to laptop, but I am trying a new trick with my latest laptop: I put contact paper down first, so that I can pull all the stickers off at once and frame them after the laptop is retired.

  • While my Ph.D. is in statistics, I would consider myself more on the data science side of things (e.g. right in the middle of the continuum) - I do a lot of data wrangling and visualization, and tend to not fit models unless I absolutely have to.

  • I think evil.R might be the worst thing I've ever seen. As far as actually useful packages, I've contributed to ggpcp, which is a very neat package that allows you to make parallel coordinate plots with a mixture of categorical and continuous variables using tidy syntax - the nice part of the way it works is that you can usually track an entire observation through a series of variables because it breaks ties on the categorical axis.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I am a an engineering consultant, specializing in solar photovoltaic power systems.

  • Tidyverse and Base R. I find people who do things the hard way tedious just to be pure.
  • I suppose I am more of a user, because I haven't released any of my packages.
  • Almost 25 years.
  • C++, Python. Many other languages as they have been needed, from Assembly to VBA and Matlab.
  • R is to me what Excel is for a lot of people... a full featured calculator. I compose a lot using RMarkdown/Quarto. I tend to build reproducible pipelines for data or simulations.
  • Both, though at work there is some pressure to use more Python.
  • I have some stickers. I don't have many.
  • Probably closer to the data wrangling end.
  • onion... 3d space rotations made easy through obscure math (which way is the solar panel pointing anyway?)
load more comments
view more: next ›