[aplusdev] Object distribution.
John.Mizel at morganstanley.com
John.Mizel at morganstanley.com
Thu Dec 20 07:00:38 EST 2001
Vladmir,
You should use:
tc <- sys.exp{t}
Which will encode the slotfiller into a character vector. To turn it back
into a slotfiller
t <- sys.imp{i}
Also, instead of using the pipe operations you beamout tc.
't.m" beam sys.exp{t}
to read it:
t <- sys.imp{ beam "t.m }
Regards,
John
On Thu, 20 Dec 2001, Vladmir N. Kutinsky wrote:
> Hello,
>
> I have a tree object which is a slotfiller. There is a function (which,
> in turn, consists of a few other functions) that creates it. Now I'd
> like to send the object to my colleagues. How can I do it without
> sending the functions that create it?
>
> For a simple tree
> t<-(`a;<(`b`c;(4;5)))
> I would do
> var<-"t<-(`a;<(`b`c;(4;5)))"
> $>var filename
> and then
> $load filename
>
> The problem is how to get
> (`a;<(`b`c;(4;5)))
> out of
> < `a
> < < < `b `c
> < < 4
> < 5
> Is there any other way to solve my problem?
>
> Thank you,
> Vladimir
>
>
--
More information about the apluslist
mailing list