Import a Huge CSV Matrix

If you have a very large CSV file, that is bigger than the available memory, you can link to the file instead of importing the data:

Matrix hugeMatrix = MatrixFactory.linkToFile(FileFormat.CSV, new File("VeryBigFile.csv"));

However, this matrix will be read-only.

  • del.icio.us
  • Google Bookmarks
  • MisterWong
  • Facebook
  • Digg
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz
  • email
  • Print

One Comment

Leave a Reply

You must be logged in to post a comment.