Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

elianhugh

@elianhugh@fosstodon.org
mastodon 4.6.6
  • Open on fosstodon.org

Hello. Psychology, data science...

...Mostly code tooling.
#openscience #rstats

46 Followers
72 Following
2 Posts
Joined November 15, 2022
Github:
https://github.com/ElianHugh/
Email:
elianhte@gmail.com

Posts

Open post
elianhugh
elianhugh @elianhugh@fosstodon.org · Oct 09, 2024
elianhugh
@elianhugh@fosstodon.org

Hello. Psychology, data science... ...Mostly code tooling. #openscience #rstats

fosstodon.org
Replying to @elianhugh@fosstodon.org
@coolbutuseless alternatively, I would settle for each additional bracket looping back around so that: [] keep dimensions [[]] dimensions -1 [[[]]] vector [[[[]]]] keep dimensions [[[[[]]]]] dimensions -1 [[[[[[]]]]]] vector
1
3
3
0
Open post
elianhugh
elianhugh @elianhugh@fosstodon.org · Oct 09, 2024
elianhugh
@elianhugh@fosstodon.org

Hello. Psychology, data science... ...Mostly code tooling. #openscience #rstats

fosstodon.org
Replying to @coolbutuseless@fosstodon.org

@coolbutuseless This is a brilliant idea and I hope it is proposed to R core.

To add to the idea, it would be very helpful if we made each additional bracket access a simpler form of the data in question, until we end up with a raw vector. E.g.

x[[[, 1]]] factor vector
x [[[[, 1]]]] numeric vector
x[[[[[, 1]]]]] raw vector

This way, we can have very nice to read code like

x <- mtcars[["cyl"]][[[[[, 1]]]]]
2
4
2
0

Remote instance

fosstodon.org
Open on original server
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 10:47:05 UTC