Re: [R] Gantt Chart Using Plotrix

2018-04-23 Thread bbb_aaa
b_...@verizon.net> Cc: r-help <r-help@r-project.org> Sent: Mon, Apr 23, 2018 10:34 am Subject: Re: [R] Gantt Chart Using Plotrix Hi, Your attempt didn't work because you didn't do what I suggested, which was make sure that your data frame matched the example given in the help for gantt.char

Re: [R] Gantt Chart Using Plotrix

2018-04-23 Thread Sarah Goslee
t; structure(list(c1d1 = structure(c(1L, 3L, 2L), .Label = c("task 1", > "task 3", "task2"), class = "factor"), c2d1 = structure(c(1522555200, > 1523764800, 1527825600), class = c("POSIXct", "POSIXt"), tzone = ""), > c3d1

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread David Winsemius
, 2L), .Label = c("task 1", > "task 3", "task2"), class = "factor"), c2d1 = structure(c(1522555200, > 1523764800, 1527825600), class = c("POSIXct", "POSIXt"), tzone = ""), >c3d1 = structure(c(1523764800, 1527739200, 15303312

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread bbb_aaa
= c("POSIXct", "POSIXt"), tzone = ""), c3d1 = structure(c(1523764800, 1527739200, 1530331200), class = c("POSIXct", "POSIXt"), tzone = "")), .Names = c("c1d1", "c2d1", "c3d1" ), row.names = c(NA, -3L), class = &qu

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread Jim Lemon
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

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread Sarah Goslee
-Original Message- > From: David Winsemius <dwinsem...@comcast.net> > To: bbb_aaa <bbb_...@verizon.net> > Cc: r-help <r-help@r-project.org> > Sent: Sun, Apr 22, 2018 4:31 pm > Subject: Re: [R] Gantt Chart Using Plotrix > > >> On Apr 22, 2018, at 11:50

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread bbb_aaa
avid Winsemius <dwinsem...@comcast.net> To: bbb_aaa <bbb_...@verizon.net> Cc: r-help <r-help@r-project.org> Sent: Sun, Apr 22, 2018 4:31 pm Subject: Re: [R] Gantt Chart Using Plotrix > On Apr 22, 2018, at 11:50 AM, bbb_...@verizon.net wrote: > > Hi > > I am

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread David Winsemius
> On Apr 22, 2018, at 11: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

[R] Gantt Chart Using Plotrix

2018-04-22 Thread bbb_aaa
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