Re: [R] Gantt Chart Using Plotrix

2018-04-23 Thread bbb_aaa
re the columns in the spreadsheet are named "starts", "ends" , etc. before exporting in order for this to work). So, once again thank you (and also Jim and David). Regards Indr -Original Message- From: Sarah Goslee To: bbb_aaa Cc: r-help Sent: Mon, Apr 23, 20

Re: [R] Gantt Chart Using Plotrix

2018-04-23 Thread Sarah Goslee
quot; >> dput(cdfg) > 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 = &quo

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread David Winsemius
1L, 3L, 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

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread bbb_aaa
00), class = 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),

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 read.csv

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread Sarah Goslee
) > Error in `$<-.data.frame`(`*tmp*`, priorities, value = numeric(0)) : > replacement has 0 rows, data has 3 >> > > Manually adding the required tasks and dates (as given in the help file > example) is not practical for my situation > > > > > >

Re: [R] Gantt Chart Using Plotrix

2018-04-22 Thread bbb_aaa
vid Winsemius To: bbb_aaa Cc: r-help 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 trying to generate a complex Gantt chart using the gantt.chart function > in the plotrix pa

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 fun

[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