[R] Starting R within an VBA makro

Roger Bivand Roger.Bivand at nhh.no
Mon Jun 11 09:50:54 CEST 2007


On Mon, 11 Jun 2007, "Maja Schröter" wrote:

> Hello everybody,
>
> at work I want to start R within an VBA program.
>
> First I calculate something in Excel 2003.
>
> After that I want to start within my VBA makro R wich should start an R 
> file, say i.g, superplot.R which plots me the data well.
>
> So is it possible?

http://cran.r-project.org/contrib/extra/dcom/00ReadMe.html

and

RSiteSearch("Excel VBA")



>
> Maybe something like that:
>
> sub test()
>
>  'calculate something
>
> start R superplot.R
>
> end test()
>
> Thank you so much.
>
> Kindly regards,
>
> Maja
>
>
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no


More information about the R-help mailing list