Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read xlsb files? [duplicate]

Tags:

r

excel

xlsb

I am trying to read a range into a data frame from a xlsb workbook. Can I do this with the xlsx package in R? If not, does anyone know of a way to do it?

like image 759
Satya Avatar asked Jan 08 '23 07:01

Satya


1 Answers

Have a look at the excel.linkpackage here. It allows you to write / read data easily like so :

df<-xl[a1:b2] # if the file is open

or

df<-xl.read.file('filename.xlsb',header=TRUE, top.left.cell="A1") # if the file isn't open
like image 120
etienne Avatar answered Jan 23 '23 01:01

etienne