[R] Store the model built and Using the same on a later date.

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Mar 26 09:54:07 CET 2010


Just save() the model fit.  See ?save.

On Fri, 26 Mar 2010, RAGHAVENDRA PRASAD wrote:

> Hi,
>
> Thanks for the info.I will try this.But i am working on real time analytics
> where model is built at some point of time and model needs to be used
> whenever its required.Storing the workspace and reloading it everytime not
> sure whether i can fit into real time scenario.l was looking for only saving
> the model and reloadinng it.
>
> Regards,
> Raghav
>
> On Fri, Mar 26, 2010 at 1:32 PM, Katya Mauff <Katya.Mauff at uct.ac.za> wrote:
>
>>  Hi Raghav
>>
>> Not sure about storing the model so to speak-but you could save it as an
>> object and then just save and reload your workspace?
>>
>> try: fix(model)
>>
>> there's probably a far more sophisticated way to do this, but if I'm
>> understanding you correctly this is a quick fix...
>>
>> regards
>> katya
>>
>>
>>>>> RAGHAVENDRA PRASAD <raghav.nprasad at gmail.com> 2010/03/26 09:53 AM >>>
>>
>> Hi,
>>
>> I have a NN model build using AMORE and NNET.If i want to reuse the model
>> built on later  date.How can i store this model.In what format should i
>> need
>> to store the model.I wont be saving the session.I want to just store the
>> model and recall this model whenever required.Is it possible to store? If
>> yes,can someone provide any packages available.
>>
>> Regards,
>> Raghav
>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>  ______________________________________________________________________________________________
>>
>>
>>  UNIVERSITY OF CAPE TOWN
>>
>>  This e-mail is subject to the UCT ICT policies and e-mail disclaimer
>> published on our website at
>> http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from
>> +27 21 650 4500. This e-mail is intended only for the person(s) to whom it
>> is addressed. If the e-mail has reached you in error, please notify the
>> author. If you are not the intended recipient of the e-mail you may not use,
>> disclose, copy, redirect or print the content. If this e-mail is not related
>> to the business of UCT it is sent by the sender in the sender's individual
>> capacity.
>>
>>  _____________________________________________________________________________________________________
>>
>>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list