{"action":"opened","issue":{"url":"https://api.github.com/repos/openml/r/issues/141","labels_url":"https://api.github.com/repos/openml/r/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/openml/r/issues/141/comments","events_url":"https://api.github.com/repos/openml/r/issues/141/events","html_url":"https://github.com/openml/r/issues/141","id":125954635,"number":141,"title":"is there any way of tagging OML Runs?","user":{"login":"rgmantovani","id":5933552,"avatar_url":"https://avatars.githubusercontent.com/u/5933552?v=3","gravatar_id":"","url":"https://api.github.com/users/rgmantovani","html_url":"https://github.com/rgmantovani","followers_url":"https://api.github.com/users/rgmantovani/followers","following_url":"https://api.github.com/users/rgmantovani/following{/other_user}","gists_url":"https://api.github.com/users/rgmantovani/gists{/gist_id}","starred_url":"https://api.github.com/users/rgmantovani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgmantovani/subscriptions","organizations_url":"https://api.github.com/users/rgmantovani/orgs","repos_url":"https://api.github.com/users/rgmantovani/repos","events_url":"https://api.github.com/users/rgmantovani/events{/privacy}","received_events_url":"https://api.github.com/users/rgmantovani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-11T14:22:26Z","updated_at":"2016-01-11T14:22:26Z","closed_at":null,"body":"Is there any way of tagging OML runs using the openml/r package?\r\n\r\nFor example:\r\n\r\n```R\r\nlibrary(\"mlr\")\r\nlibrary(\"OpenML\")\r\n\r\noml.task = getOMLTask(task.id = 3647)\r\noml.task$input$evaluation.measures = c(\"predictive_accuracy\", \"build_cpu_time\")\r\n \r\nlrn = makeLearner(\"classif.J48\", predict.type = \"prob\")\r\nflow.id = uploadOMLFlow(x = lrn)\r\n \r\nobj = runTaskMlr(task = oml.task, learner = lrn)\r\nobj$flow.id = flow.id\r\n```\r\n\r\nthis way I have a new OML Run.\r\n![screen shot 2016-01-11 at 3 09 54 pm](https://cloud.githubusercontent.com/assets/5933552/12235672/74008bf4-b875-11e5-87ff-d1b20e0c3727.png)\r\n\r\nI tried the commands below and uploaded the new run:\r\n```R\r\nobj$tags = c(\"study_7\", \"mlr-2.7\", \"OpenML-1.0\", \"R\")\r\n> new.run.id = uploadOMLRun(run = obj)\r\n# new.run.id - 505147 \r\n```\r\nIt changes the object: \r\n![screen shot 2016-01-11 at 3 11 50 pm](https://cloud.githubusercontent.com/assets/5933552/12235699/b06f601a-b875-11e5-9012-ff91ae32ac41.png)\r\n\r\nBut not in the object saved on the website:\r\n```R\r\nlast.run.obj = getOMLRun(run.id = new.run.id)\r\nlast.run.obj$tags\r\n[1] NA\r\n```\r\n![screen shot 2016-01-11 at 3 18 16 pm](https://cloud.githubusercontent.com/assets/5933552/12235829/953c7b1a-b876-11e5-8292-0763bb0a1bc6.png)\r\n\r\nIs there any way to do this or is not possible using the package?\r\n\r\nFollows my sessionInfo:\r\n![screen shot 2016-01-11 at 3 19 46 pm](https://cloud.githubusercontent.com/assets/5933552/12235854/d3086fee-b876-11e5-9000-73c59eed778c.png)\r\n\r\nand the complete code:\r\n```R\r\nlibrary(\"mlr\")\r\nlibrary(\"OpenML\")\r\n\r\ntask.id = 3647\r\nlearner = \"classif.J48\"\r\n\r\noml.task = getOMLTask(task.id = task.id)\r\noml.task$input$evaluation.measures = c(\"predictive_accuracy\", \"build_cpu_time\")\r\n \r\nlrn = makeLearner(learner, predict.type = \"prob\")\r\nflow.id = uploadOMLFlow(x = lrn)\r\n \r\nobj = runTaskMlr(task = oml.task, learner = lrn)\r\nobj$flow.id = flow.id\r\nobj$tags = c(\"study_7\", \"mlr-2.7\", \"OpenML-1.0\", \"R\") \r\nnew.run.id = uploadOMLRun(run = obj)\r\n\r\nlast.run.obj = getOMLRun(run.id = new.run.id)\r\nlast.run.obj$tags\r\n```\r\n\r\n"}}