The only way to install packages into it is to do it manually or create a script that does it. about what happens on noted below that the Wolfram Player Pro does not have this menu item at all. I have not used this personally, so I have no experience with it (e.g. Load the package by evaluating "From File." and the package files need to be inside an archive (.zip file).Choose Type -> Package, Source -> (the open notebook), Install Name -> SomePackage.You can write some simple instructions for users: However, if the package consists of a single file, upgrading is easy: the old file will be overwritten with the new file. The only problem is that there is no uninstall option. is very convenient, even for power users. I think that the menu item File -> Install. If your aim is user convenience, today you should be using paclets instead. Note: This answer was originally written with package authors in mind, aiming to provide a user-friendly way to distribute packages and provide installation instructions. What if the package that I send consists of multiple packages, in a delicate directory structure? Can the menuitem Install. C:\Applications\Mathematica 8.0.1\AddOns)? If yes, then which directory should hold them: LegacyPackages, ExtraPackages or Packages? Or would it be better to put packages into the default directory of Mathematica (e.g. Right-click on the 'Downloads' folder and click on the 'Properties' option. Should non-power-users simply use the menu option: Install.? Can a foolproof script be defined, that - no matter what platform is in use - installs these packages in a way that both the user and both Mathematica (and the code I wrote and distributed) can find it? That is, packages are not added to the system-default package directory. Using the 'Properties' option of the download folder, the user can easily change the default location of the download folder. I have my packages installed into a private directory and I autoload some of them when Mathematica starts, but since everyone has a different folder hierarchy and different customs on where to put files/what to autoload, this is always a bottleneck. This is always a problem when I distribute my packages to colleagues working on different platforms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |