sql - r XLconnect equivalent to sqlFetch -


i have old 32 bit snippet

xl <- odbcconnectexcel("c:/myfile.xls") data <- sqlfetch(xl, "flowers$") 

but have 64 bit machine , can't use odbcconnectexcel. have read should use xlconnect, how use sqlfetch xlconnect? i.e how rewrite second line of code?

try this

library(xlconnect)

xl <- loadworkbook("c:/myfile.xls")

data <- readworksheet(xl,"flower") #assumes worksheet name "flower"


Comments

Popular posts from this blog

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -

blackberry 10 - how to add multiple markers on the google map just by url? -