[R] Starting R within an VBA makro

2007-06-11 Thread Maja Schröter
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?

Maybe something like that:

sub test()

  'calculate something

 start R superplot.R 

end test()

Thank you so much.

Kindly regards,

Maja


-- 
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

__
R-help@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.


Re: [R] Starting R within an VBA makro

2007-06-11 Thread Roger Bivand

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: [EMAIL PROTECTED]
__
R-help@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.