The buzz for industry 4.0 continues – digitalizing business processes is one of the main aims of companiesin the 21st century. One topic gains particular importance: predictive maintenance. Enterprises use thismethod in order to cut production and maintenance costs and to increase reliability.Being able to predict machine failures, performance drops or quality deterioration is a huge benefit forcompanies. With this knowledge, maintenance and failure costs can be reduced and optimized.With the help of R and its massive community, analysts can apply the best algorithms and methods forpredictive maintenance. When a good analytic model for predictive maintenance has been found, companiesare challenged to implement them in their own environments and workflows. Especially regarding the workflowacross different departments, it is necessary to find an appropriate solution which is capable of interdisciplinarywork, as well.My talk will show how this challenge was solved for TRUMPF Laser GmbH, a subsidiary of TRUMPF, aworld-leading high-technology company which offers production solutions in the machine tool, laser andelectronic sectors. I would like to share my experience with R and predictive maintenance in a real-worldindustry scenario and show the audience how to automate R code and visualize it in a front-end solution forall departments involved.