[R] Is it possible to control R with S+?

Duncan Temple Lang duncan at wald.ucdavis.edu
Thu May 17 18:54:55 CEST 2007


Several years ago, I wrote an R package RinS
which embeds R in S-Plus as a regular "chapter"
and then allowed one to call R functions from S-Plus
in the form

  .R('rfunction', x, y, z)

I haven't looked at it for a long time, but the basic
architecture should still work. What might need to be changed
are some #defines, etc. in the C code.

It is much more flexible and easier approach than exchanging data via
files and creating scripts in for R to execute.

Bos, Roger wrote:
> The new version of S+ (version 8.0) is supposed to be able to read R
> code unmodified.  Insightful is supposedly spending a ton of time making
> S+ able to use all R code without modification.  It must be taking them
> longer than expected because I though it was supposed to be released by
> the second quarter.  I have a S+ license and I haven't heard any
> announcement from Insightful.  Anyone have more of an update?
> 
>  
> 
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Tom.O
> Sent: Thursday, May 17, 2007 7:46 AM
> To: r-help at stat.math.ethz.ch
> Subject: [R] Is it possible to control R with S+?
> 
> 
> I am currently using S+, which is my company standard econometric
> package, but unfortunately in some areas R has a lot more to offer in
> nice functions/libraries. Libraries I would like to use in S+. So I
> would like to use the R functions by calling on R from S+. For example
> export the data to be used in the R calculation in a temporary txt-file,
> and then S+ calls on R to start and read the txt file. R then executes
> the function specified and then exports the results in another txt file
> which then S+ uploads. Is this possible? Or does anyone have another
> solution?
> 
> Thanks Tom
> 
> --
> View this message in context:
> http://www.nabble.com/Is-it-possible-to-control-R-with-S%2B--tf3771485.h
> tml#a10662666
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.
> 
> ********************************************************************** * 
> This message is for the named person's use only. It may 
> contain confidential, proprietary or legally privileged 
> information. No right to confidential or privileged treatment 
> of this message is waived or lost by any error in 
> transmission. If you have received this message in error, 
> please immediately notify the sender by e-mail, 
> delete the message and all copies from your system and destroy 
> any hard copies. You must not, directly or indirectly, use, 
> disclose, distribute, print or copy any part of this message 
> if you are not the intended recipient.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch 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.



More information about the R-help mailing list