{"action":"created","comment":{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments/80191792","id":80191792,"diff_hunk":"@@ -75,8 +75,8 @@ Public Class dlgTwoVariableUseModel\n     Private Sub Model()\r\n         If Not ucrReceiverUseModel.IsEmpty And Not ucrSelectorUseModel.ucrAvailableDataFrames.cboAvailableDataFrames.SelectedItem = \"\" Then\r\n             clsRModel.SetRCommand(\"formula\")\r\n-            clsRModel.AddParameter(\"\", clsRFunctionParameter:=clsRCommand)\r\n-            'strDataTypes = frmMain.clsRLink.RunInternalScriptGetValue(clsRModel.ToScript()).AsCharacter.AsList(0).ToString\r\n+            clsRModel.AddParameter(\"x\", clsRFunctionParameter:=clsRCommand)\r\n+            'strModel = frmMain.clsRLink.RunInternalScriptGetValue(clsRModel.ToScript()).AsCharacter().ToList().ToString()\r","path":"instat/dlgTwoVariableUseModel.vb","position":null,"original_position":7,"commit_id":"e69537a1dfac66ba98415d2676c513a01c85ecad","original_commit_id":"e69537a1dfac66ba98415d2676c513a01c85ecad","user":{"login":"dannyparsons","id":11214914,"avatar_url":"https://avatars.githubusercontent.com/u/11214914?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyparsons","html_url":"https://github.com/dannyparsons","followers_url":"https://api.github.com/users/dannyparsons/followers","following_url":"https://api.github.com/users/dannyparsons/following{/other_user}","gists_url":"https://api.github.com/users/dannyparsons/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyparsons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyparsons/subscriptions","organizations_url":"https://api.github.com/users/dannyparsons/orgs","repos_url":"https://api.github.com/users/dannyparsons/repos","events_url":"https://api.github.com/users/dannyparsons/events{/privacy}","received_events_url":"https://api.github.com/users/dannyparsons/received_events","type":"User","site_admin":false},"body":"Try `.AsCharacter(0)`. It depends what clsModel returns in R? If it's a string then this should work.","created_at":"2016-09-23T07:10:34Z","updated_at":"2016-09-23T07:10:34Z","html_url":"https://github.com/africanmathsinitiative/Instat/pull/1788#discussion_r80191792","pull_request_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788","_links":{"self":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments/80191792"},"html":{"href":"https://github.com/africanmathsinitiative/Instat/pull/1788#discussion_r80191792"},"pull_request":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788"}}},"pull_request":{"url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788","id":86300979,"html_url":"https://github.com/africanmathsinitiative/Instat/pull/1788","diff_url":"https://github.com/africanmathsinitiative/Instat/pull/1788.diff","patch_url":"https://github.com/africanmathsinitiative/Instat/pull/1788.patch","issue_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1788","number":1788,"state":"open","locked":false,"title":"Adding code to the use model dialogue","user":{"login":"stevekogo","id":7780396,"avatar_url":"https://avatars.githubusercontent.com/u/7780396?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekogo","html_url":"https://github.com/stevekogo","followers_url":"https://api.github.com/users/stevekogo/followers","following_url":"https://api.github.com/users/stevekogo/following{/other_user}","gists_url":"https://api.github.com/users/stevekogo/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekogo/subscriptions","organizations_url":"https://api.github.com/users/stevekogo/orgs","repos_url":"https://api.github.com/users/stevekogo/repos","events_url":"https://api.github.com/users/stevekogo/events{/privacy}","received_events_url":"https://api.github.com/users/stevekogo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-22T09:04:32Z","updated_at":"2016-09-23T07:10:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"196f37b3cc75b7d57e1fd0967dde07aaae227481","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788/commits","review_comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788/comments","review_comment_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1788/comments","statuses_url":"https://api.github.com/repos/africanmathsinitiative/Instat/statuses/e69537a1dfac66ba98415d2676c513a01c85ecad","head":{"label":"stevekogo:Use_model","ref":"Use_model","sha":"e69537a1dfac66ba98415d2676c513a01c85ecad","user":{"login":"stevekogo","id":7780396,"avatar_url":"https://avatars.githubusercontent.com/u/7780396?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekogo","html_url":"https://github.com/stevekogo","followers_url":"https://api.github.com/users/stevekogo/followers","following_url":"https://api.github.com/users/stevekogo/following{/other_user}","gists_url":"https://api.github.com/users/stevekogo/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekogo/subscriptions","organizations_url":"https://api.github.com/users/stevekogo/orgs","repos_url":"https://api.github.com/users/stevekogo/repos","events_url":"https://api.github.com/users/stevekogo/events{/privacy}","received_events_url":"https://api.github.com/users/stevekogo/received_events","type":"User","site_admin":false},"repo":{"id":50649127,"name":"Instat","full_name":"stevekogo/Instat","owner":{"login":"stevekogo","id":7780396,"avatar_url":"https://avatars.githubusercontent.com/u/7780396?v=3","gravatar_id":"","url":"https://api.github.com/users/stevekogo","html_url":"https://github.com/stevekogo","followers_url":"https://api.github.com/users/stevekogo/followers","following_url":"https://api.github.com/users/stevekogo/following{/other_user}","gists_url":"https://api.github.com/users/stevekogo/gists{/gist_id}","starred_url":"https://api.github.com/users/stevekogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevekogo/subscriptions","organizations_url":"https://api.github.com/users/stevekogo/orgs","repos_url":"https://api.github.com/users/stevekogo/repos","events_url":"https://api.github.com/users/stevekogo/events{/privacy}","received_events_url":"https://api.github.com/users/stevekogo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stevekogo/Instat","description":"Development of the new version of Instat","fork":true,"url":"https://api.github.com/repos/stevekogo/Instat","forks_url":"https://api.github.com/repos/stevekogo/Instat/forks","keys_url":"https://api.github.com/repos/stevekogo/Instat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stevekogo/Instat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stevekogo/Instat/teams","hooks_url":"https://api.github.com/repos/stevekogo/Instat/hooks","issue_events_url":"https://api.github.com/repos/stevekogo/Instat/issues/events{/number}","events_url":"https://api.github.com/repos/stevekogo/Instat/events","assignees_url":"https://api.github.com/repos/stevekogo/Instat/assignees{/user}","branches_url":"https://api.github.com/repos/stevekogo/Instat/branches{/branch}","tags_url":"https://api.github.com/repos/stevekogo/Instat/tags","blobs_url":"https://api.github.com/repos/stevekogo/Instat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stevekogo/Instat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stevekogo/Instat/git/refs{/sha}","trees_url":"https://api.github.com/repos/stevekogo/Instat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stevekogo/Instat/statuses/{sha}","languages_url":"https://api.github.com/repos/stevekogo/Instat/languages","stargazers_url":"https://api.github.com/repos/stevekogo/Instat/stargazers","contributors_url":"https://api.github.com/repos/stevekogo/Instat/contributors","subscribers_url":"https://api.github.com/repos/stevekogo/Instat/subscribers","subscription_url":"https://api.github.com/repos/stevekogo/Instat/subscription","commits_url":"https://api.github.com/repos/stevekogo/Instat/commits{/sha}","git_commits_url":"https://api.github.com/repos/stevekogo/Instat/git/commits{/sha}","comments_url":"https://api.github.com/repos/stevekogo/Instat/comments{/number}","issue_comment_url":"https://api.github.com/repos/stevekogo/Instat/issues/comments{/number}","contents_url":"https://api.github.com/repos/stevekogo/Instat/contents/{+path}","compare_url":"https://api.github.com/repos/stevekogo/Instat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stevekogo/Instat/merges","archive_url":"https://api.github.com/repos/stevekogo/Instat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stevekogo/Instat/downloads","issues_url":"https://api.github.com/repos/stevekogo/Instat/issues{/number}","pulls_url":"https://api.github.com/repos/stevekogo/Instat/pulls{/number}","milestones_url":"https://api.github.com/repos/stevekogo/Instat/milestones{/number}","notifications_url":"https://api.github.com/repos/stevekogo/Instat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stevekogo/Instat/labels{/name}","releases_url":"https://api.github.com/repos/stevekogo/Instat/releases{/id}","deployments_url":"https://api.github.com/repos/stevekogo/Instat/deployments","created_at":"2016-01-29T08:24:44Z","updated_at":"2016-01-29T08:24:47Z","pushed_at":"2016-09-23T06:14:06Z","git_url":"git://github.com/stevekogo/Instat.git","ssh_url":"git@github.com:stevekogo/Instat.git","clone_url":"https://github.com/stevekogo/Instat.git","svn_url":"https://github.com/stevekogo/Instat","homepage":null,"size":360807,"stargazers_count":0,"watchers_count":0,"language":"Visual Basic","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"africanmathsinitiative:master","ref":"master","sha":"55e8e372137cb8572ebe6ed3d87722628b84fdae","user":{"login":"africanmathsinitiative","id":13917566,"avatar_url":"https://avatars.githubusercontent.com/u/13917566?v=3","gravatar_id":"","url":"https://api.github.com/users/africanmathsinitiative","html_url":"https://github.com/africanmathsinitiative","followers_url":"https://api.github.com/users/africanmathsinitiative/followers","following_url":"https://api.github.com/users/africanmathsinitiative/following{/other_user}","gists_url":"https://api.github.com/users/africanmathsinitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/africanmathsinitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/africanmathsinitiative/subscriptions","organizations_url":"https://api.github.com/users/africanmathsinitiative/orgs","repos_url":"https://api.github.com/users/africanmathsinitiative/repos","events_url":"https://api.github.com/users/africanmathsinitiative/events{/privacy}","received_events_url":"https://api.github.com/users/africanmathsinitiative/received_events","type":"Organization","site_admin":false},"repo":{"id":44009238,"name":"Instat","full_name":"africanmathsinitiative/Instat","owner":{"login":"africanmathsinitiative","id":13917566,"avatar_url":"https://avatars.githubusercontent.com/u/13917566?v=3","gravatar_id":"","url":"https://api.github.com/users/africanmathsinitiative","html_url":"https://github.com/africanmathsinitiative","followers_url":"https://api.github.com/users/africanmathsinitiative/followers","following_url":"https://api.github.com/users/africanmathsinitiative/following{/other_user}","gists_url":"https://api.github.com/users/africanmathsinitiative/gists{/gist_id}","starred_url":"https://api.github.com/users/africanmathsinitiative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/africanmathsinitiative/subscriptions","organizations_url":"https://api.github.com/users/africanmathsinitiative/orgs","repos_url":"https://api.github.com/users/africanmathsinitiative/repos","events_url":"https://api.github.com/users/africanmathsinitiative/events{/privacy}","received_events_url":"https://api.github.com/users/africanmathsinitiative/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/africanmathsinitiative/Instat","description":"Development of the new version of Instat","fork":false,"url":"https://api.github.com/repos/africanmathsinitiative/Instat","forks_url":"https://api.github.com/repos/africanmathsinitiative/Instat/forks","keys_url":"https://api.github.com/repos/africanmathsinitiative/Instat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/africanmathsinitiative/Instat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/africanmathsinitiative/Instat/teams","hooks_url":"https://api.github.com/repos/africanmathsinitiative/Instat/hooks","issue_events_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/events{/number}","events_url":"https://api.github.com/repos/africanmathsinitiative/Instat/events","assignees_url":"https://api.github.com/repos/africanmathsinitiative/Instat/assignees{/user}","branches_url":"https://api.github.com/repos/africanmathsinitiative/Instat/branches{/branch}","tags_url":"https://api.github.com/repos/africanmathsinitiative/Instat/tags","blobs_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/refs{/sha}","trees_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/africanmathsinitiative/Instat/statuses/{sha}","languages_url":"https://api.github.com/repos/africanmathsinitiative/Instat/languages","stargazers_url":"https://api.github.com/repos/africanmathsinitiative/Instat/stargazers","contributors_url":"https://api.github.com/repos/africanmathsinitiative/Instat/contributors","subscribers_url":"https://api.github.com/repos/africanmathsinitiative/Instat/subscribers","subscription_url":"https://api.github.com/repos/africanmathsinitiative/Instat/subscription","commits_url":"https://api.github.com/repos/africanmathsinitiative/Instat/commits{/sha}","git_commits_url":"https://api.github.com/repos/africanmathsinitiative/Instat/git/commits{/sha}","comments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/comments{/number}","issue_comment_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/comments{/number}","contents_url":"https://api.github.com/repos/africanmathsinitiative/Instat/contents/{+path}","compare_url":"https://api.github.com/repos/africanmathsinitiative/Instat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/africanmathsinitiative/Instat/merges","archive_url":"https://api.github.com/repos/africanmathsinitiative/Instat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/africanmathsinitiative/Instat/downloads","issues_url":"https://api.github.com/repos/africanmathsinitiative/Instat/issues{/number}","pulls_url":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls{/number}","milestones_url":"https://api.github.com/repos/africanmathsinitiative/Instat/milestones{/number}","notifications_url":"https://api.github.com/repos/africanmathsinitiative/Instat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/africanmathsinitiative/Instat/labels{/name}","releases_url":"https://api.github.com/repos/africanmathsinitiative/Instat/releases{/id}","deployments_url":"https://api.github.com/repos/africanmathsinitiative/Instat/deployments","created_at":"2015-10-10T12:10:32Z","updated_at":"2016-01-11T15:31:19Z","pushed_at":"2016-09-23T06:52:30Z","git_url":"git://github.com/africanmathsinitiative/Instat.git","ssh_url":"git@github.com:africanmathsinitiative/Instat.git","clone_url":"https://github.com/africanmathsinitiative/Instat.git","svn_url":"https://github.com/africanmathsinitiative/Instat","homepage":null,"size":450594,"stargazers_count":0,"watchers_count":0,"language":"Visual Basic","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":57,"forks":17,"open_issues":57,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788"},"html":{"href":"https://github.com/africanmathsinitiative/Instat/pull/1788"},"issue":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1788"},"comments":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/issues/1788/comments"},"review_comments":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788/comments"},"review_comment":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/pulls/1788/commits"},"statuses":{"href":"https://api.github.com/repos/africanmathsinitiative/Instat/statuses/e69537a1dfac66ba98415d2676c513a01c85ecad"}}}}
{"actor":{"display_login":"dannyparsons"}}