Skip to content

excel files and R

2 messages · Morrison, Gordon, Erich Neuwirth

#
If you really want to run windows from R (in my experience it is much better
to reside entirely within R) then I think that you need to use Duncan Temple
Lang's RDCOM package ( http://www.omegahat.org/ ). It works well and
robustly for connections to other packages and I have tested it for Excel. 


Regards,


Gordon Morrison
Global Head of Quantitative Research
-----Original Message-----
From: Simon Fear [mailto:Simon.Fear at synequanon.com]
Sent: 25 June 2003 09:22
To: r-help at stat.math.ethz.ch
Subject: RE: [R] excel files and R


RODBC works fine but as far as I can tell requires that the connection
be
opened through Windows menus. OK for a one-off, but not for batch
processing.
Please someone tell me what I missed - how can I open the connection
within
an R script?
(Windows 98)(not my fault)

TIA
 (sorry for long disclaimer, can't switch it off)

-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: 24 June 2003 17:54
To: Victor H. Mar?m
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] excel files and R


Security Warning:
If you are not sure an attachment is safe to open please contact 
Andy on x234. There are 0 attachments with this message.
________________________________________________________________
On Tue, 24 Jun 2003, Victor H. Mar?m wrote:

            
Several ways are in the R Data Import/Export Manual (the obvious manual,
I
would have thought).  If you are working on Windows, using RODBC is
perhaps the simplest.
#
And there is Thomas Baier's and my RCOM package
which would allow to run R from within Excel
or exchange data between Excel and R with R
as the main interface.
Morrison, Gordon wrote: