MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Importing data

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114132] Re: Importing data
  • From: Albert Retey <awnl at gmx-topmail.de>
  • Date: Wed, 24 Nov 2010 07:01:23 -0500 (EST)
  • References: <icg6tb$9bv$1@smc.vnet.net>

Hi,

> 
> processingFileToStream = StringToStream[Import[fileToProcessPath]];
> 
> is generating an error in Mathematica 7....
> 
> "String expected at position 1 in
> StringToStream[{{1,3.34,0.12............."
> 
> I don't think I should be using import here because the import is
> putting the data into individual cells, not string lines.  Any
> suggestions?

I think it is necessary to tell us what you are trying to import (what
kind of file is fileToProcessPath?). And then an explanation of what you
try to achieve with StringToStream could make the answers even more
useful...

cheers,

albert


  • Prev by Date: Re: Finding shared element in two lists
  • Next by Date: Re: TeXForm issue
  • Previous by thread: Re: Importing data
  • Next by thread: "OpenCLLink block size is invalid"