MathGroup Archive 2008

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

Search the Archive

Re: problem accessing notebooks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg87919] Re: problem accessing notebooks
  • From: Peter Pein <petsie at dordos.net>
  • Date: Sat, 19 Apr 2008 23:53:03 -0400 (EDT)
  • References: <fuc7ph$a04$1@smc.vnet.net>

Dietmar Rosenthal schrieb:
> dear forum,
> I am trying to fix some mathematica-code that someone else wrote, and I am stumped: When running a package that contains the following code-fragment:
> setDirectory ["C:\Dokumente und Einstellungen\rosenthal\Eigene Dateien\Symkin\Mathematica\SYMKIN"]; 
> BeginPackage["Symkin`",{ 
>              "GlobalKinematics`TopologicalStructure`", 
...

>              "Help`GenerateNumericValues`"}]
> I get the error message:
> Get::noopen: Cannot open GlobalKinematics`TopologicalStructure`
> (I added the first line of the code fragment to overcome this problem, and the package of name TopologicalStructure resides in the subdirectory GlobalKinematics). So, although the files seem to be in the right place, mathematica will not access them. Is there some other path-variable that I need to set, e.g. a variable containing the default-path for packages or something like that? Also, you might want to know that this package did run under earlier versions of mathematica, and, was designed for mathematica 4, I think.
> Thanks for any suggestions,
> Dietmar
> 

Hello Dietmar,

you should try

1.) SetDirectory instead of setDirectory
2.) "C:\\Dokumente und Einstellungen\\rosenthal..." instead of
     "C:\Dokumente und Einstellungen\rosenthal..."
     (see section 2.8.6 in "The Mathematica Book")

Hope, that helps,
Peter


  • Prev by Date: Re: axis alignment of 3D plots with ListContourPlot3D
  • Next by Date: Re: Mathematica syntax
  • Previous by thread: problem accessing notebooks
  • Next by thread: Re: problem accessing notebooks