hi, Thanks for responding of gantt charts. but i have some problem regarding with gantt charts. i.e.
Ymd.format <- "%Y/%m/%d" Ymd <- function(x){ as.POSIXct(strptime(x, format=Ymd.format))} gantt.info <- list( labels =c("First task","Second task","Third task","Fourth task","Fifth task"), starts =Ymd(c("2004/01/01","2004/02/02","2004/03/03","2004/05/05","2004/09/09")), ends =Ymd(c("2004/03/03","2004/05/05","2004/05/05","2004/08/08","2004/12/12")), priorities =c(1,2,3,4,5)) gantt.chart(gantt.info,main="Calendar date Gantt chart") the above code is fworking for individual varibale, that variables we have to specify manually for each variable. but my question is assume that above data stored in a excel file 'sample'. now i want gantt chart for the 'sample' dataset. -- View this message in context: http://www.nabble.com/gantt-chart-for-dataset-tp25079653p25079653.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.