R Waters My Garden

R Waters My Garden

I'm at a party, and the topic of programming languages comes up. A quarter of the room politely leaves, another half rudely leaves, and the remaining three people banter about the proper language for a certain project. Bob, Marsha, and I have the room to ourselves.

Tonight we're talking microcontrollers: Arduino or Raspberry Pi. We like to connect things and aren't afraid to release the magic white smoke with an ill-advised application of excess voltage. Bob assumes programming is done with micropython. Marsha prefers C.

"I use R to water my garden," I say. "Yep, I installed R on a Raspberry Pi and use it to turn the water valves on and off."

More...

#rstats #raspberryPi

Very nice article, which I can absolutely understand. Dealing with or even discussing such topics makes you lonely at parties! But back to the topic! I am of the opinion that the appropriate programming language should be used for the programming task. I am currently implementing my own small project as follows: I collect data on the Raspberry Pico W using MicroPython, send this data to the Raspberry Pi 4B via MQTT and analyze it on the Pi 4B using an R function (which runs in a loop) and save it in a SQLite database. Then I access the database from my laptop via SSH and perform a post analysis with R. The whole thing is a mixture of MicroPython and R... 😎

Like
Reply

I'm trying to imagine you adjusting the water levels for optimal tomato growth. This made me laugh because perhaps talking about programming is perhaps an approach you should try to get everyone to leave the house at the end of the party so you can go to bed? I mean as long as it doesn't also mean that the remaining people want to stay for another few hours...

Like
Reply

To view or add a comment, sign in

More articles by Mark Niemann-Ross

  • Documenting My Code ... For Me

    There are two signs of old age: old age, and ..

  • R Meets Hardware

    R is a programming language for statistical computing and data visualization. It has been adopted in the fields of data…

    2 Comments
  • Party Buzz Kill: modifying data

    So Steve (SQL), Marsha (C), Bob (Python), and I (R) are at this party. We have TOTALLY cleared the room, especially now…

    2 Comments
  • Rain - Evapotranspiration = mm Water

    "Eeee-VAP-oooo-TRANS-PURR-ation," I savor the word as I release it into our conversation. I'm still at the party with…

  • Party Buzz Kill: Data Storage

    I'm at this party where Bob and Marsha and I are discussing the best languages for programming a Raspberry Pi. Bob…

    5 Comments
  • Caning and Naming

    We've been back from Port Townsend for a week. Progress on the boat isn't as dramatic as it is when we're spending the…

    1 Comment
  • Irrigate with R and Raspberry Pi

    I’m working on my irrigation system. This requires a controller to turn it on and off.

    3 Comments
  • 5 Reasons to Learn Natural Language Processing with R

    Why learn R? Why learn Natural Language Processing? Here's five reasons..

    1 Comment
  • Performing Natural Language Processing with R

    I recently released a course on Educative covering topics in Natural Language Processing. Different Learners -…

    1 Comment
  • Pi Day

    For years, I've assumed Raspberry Pi Ltd would release new versions of the Raspberry Pi on Pi Day (March 14. Aka 3.

    3 Comments

Others also viewed

Explore content categories