MathGroup Archive 1996

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

Search the Archive

Re: Mathematica does not know where are my files. Help!!!

  • Subject: [mg2943] Re: Mathematica does not know where are my files. Help!!!
  • From: ianc (Ian Collier)
  • Date: 13 Jan 1996 05:37:00 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: mj at wri.com

In article <innclip4d20cg$ejt at dragonfly.wri.com>,
sfdiop01 at homer.louisville.edu (Serigne F. Diop) wrote:

> [ Clipped from :comp.soft-sys.math.mathematica ]
> 
> Hi guys:
> 
> I have been toiling at this one for while. Now I am turning to the gurus
> out there.
> 
> I had a couple of macros for a Quality Control module that I was coding in
> Mathematica.  It worked fine and I save them in a seperate file called
> "myqctools". But I wanted to call this file in another notebook, PROOOT,
> Mathematica would try to execute the << myqctools command
> and display "Could not open myqctools".  I moved the macro file on the
> same folder as the Mathematica application, but no juice. 
> I tried another way using the SetDirectory command, but no juice.  I also
> tried coding the thing as a package, but I am afraid that I did some
> wrong, Mathematica could not still find it.  This is on a PowerMac 8500.
> 
> My questions:
>      -where should I have external files for Mathematica to see them?
>      _how to create a package, and where to store a newly created one for
> Mathematica to see it.
> 
> Thanks to anyone who'd help....
> 
> Falou.....



Provided your files are in a folder or directory that is on 
the Mathematica search path then you should be able to read 
it in using Get (<<).

To find out what directories or folders are on Mathematica's
search path evaluate:

    $Path

in Mathematica.

You can also add folders and directories to $Path.

On a Macintosh you can add a folder called (for example) 
MyFiles at the root level of a hard disk (again for 
example) called Macintosh HD to $Path with the following 
command:

    AppendTo[ $Path, "Macintosh HD:MyFiles" ]

which you could place in your init.m file so that it
is evaluated every time you run Mathematica.

If you require further help with this I would suggest 
that you contact Wolfram Research Technical Support 
(support at wri.com) directly.

I hope this helps.

--Ian

-----------------------------------------------------------
Ian Collier
Technical Sales Support
Wolfram Research, Inc.
-----------------------------------------------------------
tel:(217) 398-0700     fax:(217) 398-0747      ianc at wri.com
Wolfram Research Home Page:             http://www.wri.com/
-----------------------------------------------------------


  • Prev by Date: Re: Mathematica does not know where are my files. Help!!!
  • Next by Date: Re: Mathematica Plots -> Editing using Canvas or Illustrator ?
  • Previous by thread: Re: Mathematica does not know where are my files. Help!!!
  • Next by thread: Re: Mathematica does not know where are my files. Help!!!