Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Re: Re: How to read a data file in text format?_from a new learner

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62454] Re: [mg62406] Re: [mg62359] Re: How to read a data file in text format?_from a new learner
  • From: ggroup at sarj.ca
  • Date: Thu, 24 Nov 2005 06:33:54 -0500 (EST)
  • References: <dls56u$nue$1@smc.vnet.net> <200511220942.EAA23639@smc.vnet.net> <200511230612.BAA14177@smc.vnet.net>
  • Reply-to: ggroup at sarj.ca
  • Sender: owner-wri-mathgroup at wolfram.com

On Wednesday, November 23, 2005 at 01:12 GMT -0500, Gardyloo wrote:

>      Thank you! I've been working with Mathematica for about six years,
> getting progressively more advanced, and use SetDirectory and Import (or
> ReadFile) all the time to work with data. Always, I've had the stupid
> problem that I couldn't work with directories starting with "t", etc.,
> and got around it by simply putting "x" in front of names, like
> "xtankroom_data". I never would have thought that Mathematica parsed
> those things expecting "tab" characters, etc. in directories.

If you want a backslash in your string, you should escape the
backslash character, ie use "\\".  Doubling up an escape character to
signify the plain text version of that character is pretty common
practice.



  • Prev by Date: Re: permutations
  • Next by Date: Re: permutations
  • Previous by thread: Re: Re: How to read a data file in text format?_from a new learner
  • Next by thread: Re: How to read a data file in text format?_from a new learner