esciencecenter-digital-skills / green-digital-skills

Content of the green digital skills workshop
https://esciencecenter-digital-skills.github.io/green-digital-skills/
Other
0 stars 2 forks source link

Energy/carbon measurement tools (for R) #17

Open JaroCamphuijsen opened 2 months ago

JaroCamphuijsen commented 2 months ago

Since some people us R, we could investigate this package: https://rishalab.github.io/RJoules/

Also, using this package you can easily import python modules (like pmt, codecarbon) in R: https://posit.co/blog/reticulate-r-interface-to-python/

javimangal commented 17 hours ago

Noting that I am working on this! It is quite straightforward to use CodeCarbon in an R workflow with the reticulate package. I am doing some explorations and testing in this repository.

In the meantime, this R script already contains a simple generic workflow based on the code provided in the pilot workshop.

Happy to contribute with an extension of the corresponding section after further testing.

Javier