Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.2K Views
|
2 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How do I make a package run automatically when there is a Needs[ ] function call in a notebook

Posted 6 months ago
POSTED BY: David Jameson
2 Replies
Posted 6 months ago

Thank you --- now I understand and I have it working.

I was misled by the fact that explicitly running that package made it work and so I just assumed it had been found but (of course) running the package just pulled in those functions to the system.

I guess it would be nice if paths could be set from the Settings dialog.

POSTED BY: David Jameson
Posted 6 months ago

For Needs to work, first verify that FindFile can find the package And for that to work, verify that the package is in one of the directories listed in $Path or modify $Path to include the location where you have it. That is a dollar sign followed by Path. It is next to impossible to type it here for some reason.

POSTED BY: Gustavo Delfino
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard