|
[Date Index]
[Thread Index]
[Author Index]
Re: Loading packages from the internet?
- To: mathgroup at smc.vnet.net
- Subject: [mg75443] Re: Loading packages from the internet?
- From: Peter Pein <petsie at dordos.net>
- Date: Tue, 1 May 2007 03:20:27 -0400 (EDT)
- References: <f146t1$mhv$1@smc.vnet.net>
Heiko Damerau schrieb:
> 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
>
>
>
Hello Heiko,
use Utilities`URLTools`:
In[1]:= << "Utilities`URLTools`"
In[2]:= Get[FetchURL["http://freenet-homepage.de/Peter_Berlin/Mathe/test.m",
"tmp.m"]]
Out[2]= "It works!"
In[3]:= !! "tmp.m"
>From In[3]:= status = "It works!"
In[4]:= DeleteFile["tmp.m"];
hth,
Pete
Prev by Date:
Re: associate a parameter name with a string
Next by Date:
Re: Loading packages from the internet?
Previous by thread:
Re: Loading packages from the internet?
Next by thread:
Re: Loading packages from the internet?
|