excelTable from excelR package R programming is not showing out put

excelTable() from ExcelR package is showing no output in the Viewer Pane. I have updated all the dependent packages. what could be the problem?

data = data.frame(Model = c('Mazda', 'Pegeout', 'Honda Fit', 'Honda CRV'),
                   Date=c('2006-01-01', '2005-01-01','2004-01-01', '2003-01-01' ),
                   Availability = c(TRUE, FALSE, TRUE, TRUE))

columns = data.frame(title=c('Model', 'Date', 'Availability'),
                      width= c(300, 300, 300),
                      type=c('text', 'calendar', 'checkbox')) 

excelTable(data=data, columns = columns)

Works for me.

# install.packages("excelR")
library(excelR)

data = data.frame(Model = c('Mazda', 'Pegeout', 'Honda Fit', 'Honda CRV'),
				  Date=c('2006-01-01', '2005-01-01','2004-01-01', '2003-01-01' ),
				  Availability = c(TRUE, FALSE, TRUE, TRUE))

columns = data.frame(title=c('Model', 'Date', 'Availability'),
					 width= c(300, 300, 300),
					 type=c('text', 'calendar', 'checkbox')) 

excelTable(data=data, columns = columns)

I have upgraded my Rstudio, now the code is working fine in the recent version. Thanks!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.