Why you would want to call R/Python from Excel locally
As we discussed in the opening, it is possible to do a wide variety of analysis and programming in Excel via the use of VBA. However, this can be tedious to write and difficult to implement. By harnessing the power of BERT
and xlwings
, you can use an already rich landscape of functions that are ready to go or write your own in those languages and use them in Excel.
With BERT
, you get the power of R in Excel: R is a powerful statistical programming language with a wide range of capabilities. BERT
allows you to use these capabilities directly in Excel without having to switch to a separate R environment. This can be very convenient if you are already working in Excel and don’t want to leave the application.
BERT
allows you to write R functions that can be used as custom Excel functions. This can be useful for creating functions that are not available in Excel or for improving the performance of existing Excel functions...