{"action":"created","issue":{"url":"https://api.github.com/repos/jverzani/gWidgets2/issues/89","repository_url":"https://api.github.com/repos/jverzani/gWidgets2","labels_url":"https://api.github.com/repos/jverzani/gWidgets2/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/jverzani/gWidgets2/issues/89/comments","events_url":"https://api.github.com/repos/jverzani/gWidgets2/issues/89/events","html_url":"https://github.com/jverzani/gWidgets2/issues/89","id":153547342,"number":89,"title":"gdf() has performance issues with Date variables","user":{"login":"landroni","id":1318567,"avatar_url":"https://avatars.githubusercontent.com/u/1318567?v=3","gravatar_id":"","url":"https://api.github.com/users/landroni","html_url":"https://github.com/landroni","followers_url":"https://api.github.com/users/landroni/followers","following_url":"https://api.github.com/users/landroni/following{/other_user}","gists_url":"https://api.github.com/users/landroni/gists{/gist_id}","starred_url":"https://api.github.com/users/landroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landroni/subscriptions","organizations_url":"https://api.github.com/users/landroni/orgs","repos_url":"https://api.github.com/users/landroni/repos","events_url":"https://api.github.com/users/landroni/events{/privacy}","received_events_url":"https://api.github.com/users/landroni/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-06T22:03:39Z","updated_at":"2016-05-12T06:25:27Z","closed_at":null,"body":"I notice that gdf() has extremely poor performance when displaying `Date` variables, even on relatively fast computers. Here's a reproducible example: \r\n\r\n```\r\nX <- mtcars\r\nX$date <- as.Date(format(Sys.time(), \"%D\"))\r\nfor(i in 1:5) X[ , paste0(\"date\", i)] <- X$date\r\nfor(i in 1:5) X <- rbind(X, X)\r\n\r\n\r\n## Layout\r\nw <- gwindow()\r\ng <- gvbox(cont=w)\r\n\r\nd <- gdf(X, cont=g)\r\n```\r\n\r\nNotice how it takes >10s for the CPU to calm down. But to see real slowness, try to maximize the window, scroll down, or even minimize/raise the window. All this on Linux. \r\n\r\nWhat may be causing these performance issues? "},"comment":{"url":"https://api.github.com/repos/jverzani/gWidgets2/issues/comments/218670739","html_url":"https://github.com/jverzani/gWidgets2/issues/89#issuecomment-218670739","issue_url":"https://api.github.com/repos/jverzani/gWidgets2/issues/89","id":218670739,"user":{"login":"landroni","id":1318567,"avatar_url":"https://avatars.githubusercontent.com/u/1318567?v=3","gravatar_id":"","url":"https://api.github.com/users/landroni","html_url":"https://github.com/landroni","followers_url":"https://api.github.com/users/landroni/followers","following_url":"https://api.github.com/users/landroni/following{/other_user}","gists_url":"https://api.github.com/users/landroni/gists{/gist_id}","starred_url":"https://api.github.com/users/landroni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landroni/subscriptions","organizations_url":"https://api.github.com/users/landroni/orgs","repos_url":"https://api.github.com/users/landroni/repos","events_url":"https://api.github.com/users/landroni/events{/privacy}","received_events_url":"https://api.github.com/users/landroni/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T06:25:27Z","updated_at":"2016-05-12T06:25:27Z","body":"Is there perhaps some *additional* formatting going on for `Date` columns? Maybe it can be optionally turned off somehow..."}}