[R] Writing a data frame in an excel file

Karl Ove Hufthammer karl at huftis.org
Wed Nov 18 17:41:08 CET 2009


On Wed, 18 Nov 2009 08:02:47 -0800 (PST) anna_l <lippelanna21
@hotmail.com> wrote:
> Sorry Charlie, I didn?t understand that tablename=R Results was creating a
> worksheet. But the thing now is that it works very well when I write for the
> first time on the excel file but when I want to rewrite on it it gives the
> error i wrote before saying that Results already exists, is there a way to
> avoid that?

See the help page for 'sqlSave':
?sqlSave

More specifically, take a look at the 'append' and 'safer' arguments.

-- 
Karl Ove Hufthammer




More information about the R-help mailing list