I have created a project collecting information on social media about Founding Father of Singapore Mr Lee Kuan Yew to find out what are the people tweeting and also who are the people tweeting about it most.
You can use visualization here.
Unfortunately one of the Tableau component is not showing up and leaving a blank space on the right. I will update it when they get back to me. That space was for the information who is the person tweeting it and what he is currently tweeting. Scary huh?
Wednesday, March 25, 2015
Out of Memory Exception running Java in R
I have tried running the following command to expand the heap size but it does not work. options(java.parameters = "-Xmx1000m")
The way I found is to use XLConnect library.
Instead of using write.xlsx(myDataset, file = "myfile.xlsx") from the xlsx library, I used library(XLConnect).
writeWorksheetToFile(myFile, data=mydataset, sheet="mySheet")
It has a function to clear the memory, xlcFreeMemory().
If all else fails, try writing to CSV format then convert into xlsx from Excel.
Subscribe to:
Posts (Atom)