Skip to content
Back to formatted view

Raw Message

Message-ID: <42831388.20705@ipimar.pt>
Date: 2005-05-12T08:27:52Z
From: Ernesto Jardim
Subject: sqlQuery
In-Reply-To: <C0A2DDBDA4904048820B3477D766FE3C01D313FA@tlsm385a.ww011.siemens.net>

Navarre Sabine (stu) wrote:

>Hello,
> 
> 
>(sqlQuery(channel, "select * from......"))
> 
>I would like to know if it's possible to put a file name in the
>parameters of the function 'sqlQuery' instead of putting the query .
>If it's possible, what kind of extension for my file have I need?
> 
>That's for your help
> 
>Sabine 
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>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
>  
>

I think you can just create a character vector with the sql string and 
call sqlQuery(chanel, myfile)

Regards

EJ