Re: Loading packages from the internet?
- To: mathgroup at smc.vnet.net
- Subject: [mg75454] Re: [mg75434] Loading packages from the internet?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Tue, 1 May 2007 03:26:16 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200704300742.DAA22692@smc.vnet.net>
- Reply-to: murray at math.umass.edu
David Bailey's SuperWidgetPackage includes a function GetURL, used in the form: GetURL[urlstring] that copies the data at the specified location to a temporary file and returns the name of that file as result. So you could feed the result of that function into Get so as to load the package. In principle you could do this more directly, using J/Link (which is what Bailey's function uses, I believe), but Bailey provides a ready-made solution. Bailey's package is available from: http://www.dbaileyconsultancy.co.uk Heiko Damerau wrote: > Dear All, > > Maybe I have overlooked something very simple, but I am looking for > a simple way to load Mathematica packages from an URL. That means, I > would like to put my packages somewhere on a directory that is > accessible from the web (http://www.xxx.xx/xxx/xxx/package.m) and load > them with any other computer running Mathematica (with network > connection, of course), directly from the web resource. > > Does anybody has an idea how this could be done easily? > > Thank you very much for your help in advance. > > Best regards, > Heiko > > > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305