[R] RMySQL and free text variable

H. Paul Benton hpbenton at scripps.edu
Fri Dec 14 01:51:16 CET 2007


Yea that worked !!
Did
paste(SELECT * FROM MET WHERE molid=", molid, "AND mode=", "\'" mode, 
"\'" , sep="")
I guess all I needed was the sep="" which I totally forgot about.

Cheers,

Paul

Eric wrote:
> Does this work for you?
>
> "SELECT * FROM data WHERE molNUM = 165 AND mode = '+'"
>
> Possibly related: when using the paste function, remember that you 
> might need explicitly set sep = "" and add your own padding where needed.
>
> Please re-post to the list if it works.
>
>
>
>



More information about the R-help mailing list