Towards Developing Energy Efficient R Programming
RJoules measures the energy consumption of R code snippeton Intel processor and provides domain-level granular results. This tool can be serves as a valuable resource for developers and practitioners seeking to develop energy-aware applications using the R languaguage.
- Intel processors from the Celeron, Pentium, Core i3, i7, i9, and Xeon series, featuring the Sandy Bridge or newer architecture.
- Linux distribution Debian based operating system. We have tested on Ubuntu 20.04 and 22.04 Versions(recommended).
- Have R installed in your system.
- Clone the repository using
git clone https://github.com/rishalab/RJoules.git
- Navigate into the RJoules_main directory
cd RJoules_main
and copy the pathpwd
- For testing we have provided few test files. Take any of the test file and add the copied path in source.
- For checking the energy consumption due to the code snippet present in the test file, run the below command
TESTFILENAME.R
- Check the energy measurement output
vi output.csv
- This tool can be used to measure energy consumption of any code snippet written in R. For details please visit the Important links given below.
- Measuring energy consumption due to R code snippets.
- Check energy consumption of machine learning models developed in R