Hi bbb_aaa, The format for the input to the function (gantt.info) is a list. As Sarah mentions, a data frame is a list, so as long as your columns have the right names and are in the correct order, it should work. As you probably know, you can import a CSV file into R as a data frame using read.csv
Jim On Mon, Apr 23, 2018 at 4:50 AM, <bbb_...@verizon.net> wrote: > Hi > > I am trying to generate a complex Gantt chart using the gantt.chart function > in the plotrix package. > > Ideally I would like to use a spreadsheet to populate the activities (tasks) > and start and end dates that this function expects and then export the > spreadsheet file as a .CSV text file so I can read in this file to generate > the gantt chart. Reading through the help file I have not been able to see > what exactly this spreadsheet should like. The example provided with the > "gantt.chart" function seems to indicate all the information needs to be hand > coded. Because of the complexity of my chart this is not only very error > prone but also is impractical. > > Can anyone help me with this? There is also a "get.gantt.info" function for > creating a gantt object but the help on this is almost next to nothing ! > > Any help you can provide on this would be great. > > There is another R package called "plan" which is very user friendly but for > my purpose this doesn't have all the functionality I am looking for. > > Thanks > indr > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.