addTicket | R Documentation |
Add a ticket to a ticket's list.
addTicket(pTickets)
pTickets |
Daniel Fernandes Henrique
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function (pTickets)
{
tryCatch({
tickets <- getTickets()
x <- c(tickets[1:NROW(tickets)], toupper(pTickets))
write.csv(factor(x), file = "tickets.csv", row.names = FALSE)
}, error = function(e) {
print(e)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.