From: Alain LE TERTRE (email@example.com)
Date: Wed 15 Jan 2003 - 01:52:40 EST
I'm doing some simulations for which i need to use both S-plus and R.
I generate in S+ some random normal distributions to define one dataset by
iteration. I need to use the same dataset generated in S-plus in R.
I was first thinking to generate in R the same dataset by using the same
random number generator with a fixed seed. But It seems that S-plus and R
don't use the same random number generator.
So my question is: Is there a way to pass dynamically dataset generated in
S-plus to R, run a command, extract results, and pass them back to S-plus?
Or is it more efficient to generate all the datasets in S-plus and export
them to R?
Or anything else?
Any hints will be greatly appreciated.
O__ ---- Alain Le Tertre
c/ /'_ --- Institut de Veille Sanitaire (InVS)
(*) \(*) -- 12 rue du val d'Osne
~~~~~~~~~~ - 94415 Saint Maurice cedex FRANCE
Voice: 33 1 41 79 67 50 Fax: 33 1 41 79 67 68
[[alternate HTML version deleted]]
Rfirstname.lastname@example.org mailing list
This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:19 EST