r_programming

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Oliofizodos, in What are the things you dislike about R?

That no one knows it. For many ML algorithms they rather get published first in R than in Python still, although I believe this is not true for deep learning, but rather stuff like tree based models.

Sometimes I can’t implement what I want to because I don’t have time, let alone skill to port a library from R into Python and make it sklearn compatible. But I also don’t want to be the only person in my team who understands the code. So Python it is.

Edit: just realized this is 7 months old, but I guess maybe we can boost activity by also answering to old posts?

recursive_recursion, in Conda is moving to Mastodon & LinkedIn | conda.org/blog
@recursive_recursion@programming.dev avatar

The move to Linkedin seems a bit weird but I’m glad that at least they’re also branching out to Mastodon, both are def better alternatives than fucking twitter

ericjmorey,
@ericjmorey@discuss.online avatar

Agreed 💯

drre, in What are the things you dislike about R?

utf Support under windows (which is not r’s fault) which might/will be (is already?) fixed

the rate at which packages change, sometimes breaking stuff (renv to the rescue)

how my place does not invest in proper integration but uses various scripts stored on a network drive with absolutely no documentation

iwenthometobeafamilyman, in Introduce yourself!

Hello, I am an IT support tech/sysadmin who somehow ended up with data analyst/engineer duties.

I develop R scripts (tidyverse), but I’m also responsible for running them as part of my team’s workflows. The scripts are basically manual data pipelines since the higher ups won’t let my team invest in actual automation & integration. I also use Javascript/HTML/CSS to build front ends for our information management system.

I don’t know many R programmers IRL so I’m glad to find a forum for it in the fediverse.

jdnewmil, in Introduce yourself!

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?)
SittingWave, in What are the things you dislike about R?

Everything. R is an absolute disaster on a lot of aspects.

RarePossum, in What are the things you dislike about R?

With C, Jetbrain’s DataSpell supports R, though it is primarily Python, and the EAP version is free, though you will have to reinstall every month.

ShadowAether, in What are the things you dislike about R?

Lack of gpu-enabled cross-platform functionality

morcution, in What are the things you dislike about R?

Re: c) I will be a dirty shill for VSCode and R lol, example here. I find it much better for R shiny development, projects with multiple people and projects with multiple languages. Notebook support is less good out of the box, you will have to get a jupyter kernel set up - but I use scripts more so than notebooks anyway.

Anyway, onto the question! Base R. Yeah, I said it! Whenever I have a weird enough situation where tidyverse functions won’t work due to poor quality data, then I shed a single solemn tear and quietly wish I had done the project in python as I start writing a for loop in what will no doubt be the most hacky solution ever.

morcution, in print to console tables that can be easily copied and pasted to Excel

I use clipr::write_clip and clipr::read_clip - can paste to excel but also read in something you’ve copied from excel.

Helpful when you have a client with poorly formatted excel files, to the point that readxl won’t do the job 😭

boredScientist,

Seconding clipr, it’s my go-to for when i just need to quickly check or transferring something to and from Excel.

MalditoBarbudo, in Does subsetting (matrices or arrays) always perform a partial copy?

As far as I know, yeah, R always work with copy on modification. Some libraries as you mention (data.table) can have object/classes to avoid this, but I’m not aware of any of them working with arrays (more than 2D). Maybe parquet or arrow have something like this??

pglpm,
@pglpm@lemmy.ca avatar

Thank you for the suggestion! Worth looking at parquet and arrow indeed.

morcution,

+1 for parquet and arrow. If you’re pushing memory better to just treat it as a completely out of memory problem. If you can split the data into multiple parquet files with hive style or directory partitioning it will be more efficient. You don’t want parquet files too small though (I’ve heard people saying 1 GB each file is ideal, colleagues at work like 512 MB per file - but that’s on an AWS setup).

Bonus is once you’ve learned the packages it’ll be the same for all out of memory big datasets.

pglpm, in Are there any generalized data communiyies on lemmy?
@pglpm@lemmy.ca avatar
MalditoBarbudo, in Introduce yourself!

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.

subash, in Welcome R coders!

thank you

Arthur_Leywin, in Introduce yourself!

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • r_programming@programming.dev
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • Durango
  • Youngstown
  • rosin
  • slotface
  • thenastyranch
  • osvaldo12
  • ngwrru68w68
  • kavyap
  • cisconetworking
  • khanakhh
  • magazineikmin
  • anitta
  • cubers
  • vwfavf
  • modclub
  • everett
  • ethstaker
  • normalnudes
  • tacticalgear
  • tester
  • provamag3
  • GTA5RPClips
  • Leos
  • megavids
  • JUstTest
  • All magazines