Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5889

Conditional Import

From sebastian.mansfeld@googlemail.com
Newsgroups comp.soft-sys.math.mathematica
Subject Conditional Import
Date 2011-10-26 21:46 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j89v46$8p$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi!

I would like to import data from a very large text file. If I import all the data, Mathematica takes around 9 h to complete. Therefore I would like to import conditionally, that is for example only every 5th element. It would probably be best to do this using low level function. I have found a help topic on this (developing an import converter), however I can not get it to work. Specifically, I do not understand how to implement my own import converter, and how I can then use this to only import every 5th element of a file.

Thank you!
 

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Conditional Import sebastian.mansfeld@googlemail.com - 2011-10-26 21:46 +0000

csiph-web