TY - JOUR N2 - There are many IT tools available on the market that carry out various types of forecasts in the gas industry. Programming evolves with the availability and capability of computers. IT tools support the user in engineering calculations, but also present the obtained results in an interesting visualization, e.g. in the form of interactive charts. The software can support making business decisions, which, in turn, can be used as business intelligence. In the era of digitization, huge metadata of measurements are created, so conducting data analyzes in the energy sector is very common. Moreover, rapidly evolving artificial intelligence creates new opportunities. The article presents a sample analysis of calculations using RStudio, an integrated development environment for the R language, a programming language for statistical calculations and graphics. The aim of the article is to present the possibility of using R language software to make a forecast and to determine the quality of forecasts. The article aims to present the possibility of making forecasts based on mathematical models available in R packages and the possibilities offered by the forecasting platform to readers. The article presents the U.S. market and has a particular focus on Natural Gas Residential Consumption in Pennsylvania (publicly available data from the U.S. Energy Information Administration). This dataset represents the monthly consumption of natural gas between 2015 and 2020. Forecasts were presented over a span of 12 months. L1 - http://journals.pan.pl/Content/120152/PDF-MASTER/03-02-Chrulski.pdf L2 - http://journals.pan.pl/Content/120152 PY - 2021 IS - No 2 EP - 56 KW - forecasting KW - gas consumption KW - RStudio A1 - Chrulski, Tomasz PB - Instytut Gospodarki Surowcami Mineralnymi i EnergiÄ… PAN VL - vol. 24 DA - 2021.07.01 T1 - Using the R language computing environment in forecasting natural gas consumption SP - 33 UR - http://journals.pan.pl/dlibra/publication/edition/120152 T2 - Polityka Energetyczna - Energy Policy Journal ER -