Also, would it be illadvised to use RExcel for corporate work? Also, what are some advantages / disadvantages of using it? How small do files need to be for Rexcel?
LibreOffice LibreOffice is an open source Excel alternative that has been derived from the original Openoffice.org, just like Apache Open Office. And it's not just Excel, LibreOffice is an alternative to the whole Microsoft Office application.
Working knowledge of Excel is vital for most office-based professionals today, and stronger Excel skills can open the door to promotion and leadership opportunities. Excel is a powerful tool but cannot function alone.
Excel isn't going away anytime soon. In fact, it has become more important than ever, as it is now central to the workflow for many and used alongside other data tools such as Power BI and Tableau, and ERP systems such as SAP and Salesforce.
I have used it in the past, but am not currently using it. Here's my personal list of pros/cons:
pro:
con:
In my opinion RExcel can be a useful hack, but I would not make it a critical path along my workflow. If you really need one or two functions from R then RExcel can be a lifesaver.
I used RExcel to greatly speed up a very slow Excel spreadsheet by replacing a slow VBA function with a very fast one from R. This just bought me time so I could migrate the whole process to R which made it much easier to maintain and track.
I'm not sure what you're asking when you asked "How small do files need to be for Rexcel?" RExcel is an Excel add-on, so if your data fits in Excel you can operate on it. Obviously if you get a huge Excel file in memory and try to send huge amounts of data to R which is also in memory you can run out of memory. But that's a function of accessible memory, not really RExcel.
Putting my card on the table: I am the author of RExcel. 5000 calls (say, using RApply) is not really what RExcel is meant for. But if these are all calls to the same function, one could probably vectorize the call and use array formulas in Excel. That would speed up calculation quite a bit.
There are two big problems with using (naked) Excel.
Firstly, it isn't terribly good at maths. By outsourcing this task to R via RExcel, you sidestep this problem.
Secondly, as with all spreadsheets, you don't get a clear separation of data and analysis-of-data, since cells can contain values or formulae. This makes it difficult to debug problems, and difficult to maintain complex analyses. Using RExcel will not help you with this.
The canonical reference for spreadsheet problems, if you fancy some further reading, is Spreadsheet Addiction.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With