{"action":"created","comment":{"url":"https://api.github.com/repos/vertica/DistributedR/pulls/comments/36237343","id":36237343,"diff_hunk":"@@ -443,3 +443,37 @@ check_dr_version_compatibility<-function(){\n   return (TRUE)\n }\n \n+dload <- function(x, trace = FALSE){\n+\n+  number_of_executors <- sum(distributedR_status()$Inst)\n+  y <- lapply(x, dloadHelper, trace=trace, num_of_Exec = number_of_executors)\n+\n+}\n+\n+dloadHelper <- function(x, trace = FALSE, num_of_Exec) {","path":"platform/master/R/master.R","position":11,"original_position":11,"commit_id":"8218ab7d754afa55cf9677aeea7b417b192d7e96","original_commit_id":"8218ab7d754afa55cf9677aeea7b417b192d7e96","user":{"login":"shreya2k7","id":8183076,"avatar_url":"https://avatars.githubusercontent.com/u/8183076?v=3","gravatar_id":"","url":"https://api.github.com/users/shreya2k7","html_url":"https://github.com/shreya2k7","followers_url":"https://api.github.com/users/shreya2k7/followers","following_url":"https://api.github.com/users/shreya2k7/following{/other_user}","gists_url":"https://api.github.com/users/shreya2k7/gists{/gist_id}","starred_url":"https://api.github.com/users/shreya2k7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shreya2k7/subscriptions","organizations_url":"https://api.github.com/users/shreya2k7/orgs","repos_url":"https://api.github.com/users/shreya2k7/repos","events_url":"https://api.github.com/users/shreya2k7/events{/privacy}","received_events_url":"https://api.github.com/users/shreya2k7/received_events","type":"User","site_admin":false},"body":"Pls make helper functions hidden and possible to change the name to be more specific to loading libraries?","created_at":"2015-08-04T20:29:27Z","updated_at":"2015-08-04T20:29:27Z","html_url":"https://github.com/vertica/DistributedR/pull/27#discussion_r36237343","pull_request_url":"https://api.github.com/repos/vertica/DistributedR/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/vertica/DistributedR/pulls/comments/36237343"},"html":{"href":"https://github.com/vertica/DistributedR/pull/27#discussion_r36237343"},"pull_request":{"href":"https://api.github.com/repos/vertica/DistributedR/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/vertica/DistributedR/pulls/27","id":41369277,"html_url":"https://github.com/vertica/DistributedR/pull/27","diff_url":"https://github.com/vertica/DistributedR/pull/27.diff","patch_url":"https://github.com/vertica/DistributedR/pull/27.patch","issue_url":"https://api.github.com/repos/vertica/DistributedR/issues/27","number":27,"state":"open","locked":false,"title":"Load C++ library on executors","user":{"login":"pratikdhandharia","id":12831171,"avatar_url":"https://avatars.githubusercontent.com/u/12831171?v=3","gravatar_id":"","url":"https://api.github.com/users/pratikdhandharia","html_url":"https://github.com/pratikdhandharia","followers_url":"https://api.github.com/users/pratikdhandharia/followers","following_url":"https://api.github.com/users/pratikdhandharia/following{/other_user}","gists_url":"https://api.github.com/users/pratikdhandharia/gists{/gist_id}","starred_url":"https://api.github.com/users/pratikdhandharia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pratikdhandharia/subscriptions","organizations_url":"https://api.github.com/users/pratikdhandharia/orgs","repos_url":"https://api.github.com/users/pratikdhandharia/repos","events_url":"https://api.github.com/users/pratikdhandharia/events{/privacy}","received_events_url":"https://api.github.com/users/pratikdhandharia/received_events","type":"User","site_admin":false},"body":"Adding a Wrapper API to load/unload C++ library on all executors. \r\n\r\n@afard @shreya2k7 Can you guys take a look ?","created_at":"2015-07-31T18:49:38Z","updated_at":"2015-08-04T20:29:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ee16c1872b8ccb85f225dfd6ed3a719a21878ac","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vertica/DistributedR/pulls/27/commits","review_comments_url":"https://api.github.com/repos/vertica/DistributedR/pulls/27/comments","review_comment_url":"https://api.github.com/repos/vertica/DistributedR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vertica/DistributedR/issues/27/comments","statuses_url":"https://api.github.com/repos/vertica/DistributedR/statuses/8218ab7d754afa55cf9677aeea7b417b192d7e96","head":{"label":"vertica:load-library-on-executors","ref":"load-library-on-executors","sha":"8218ab7d754afa55cf9677aeea7b417b192d7e96","user":{"login":"vertica","id":10060,"avatar_url":"https://avatars.githubusercontent.com/u/10060?v=3","gravatar_id":"","url":"https://api.github.com/users/vertica","html_url":"https://github.com/vertica","followers_url":"https://api.github.com/users/vertica/followers","following_url":"https://api.github.com/users/vertica/following{/other_user}","gists_url":"https://api.github.com/users/vertica/gists{/gist_id}","starred_url":"https://api.github.com/users/vertica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertica/subscriptions","organizations_url":"https://api.github.com/users/vertica/orgs","repos_url":"https://api.github.com/users/vertica/repos","events_url":"https://api.github.com/users/vertica/events{/privacy}","received_events_url":"https://api.github.com/users/vertica/received_events","type":"Organization","site_admin":false},"repo":{"id":22511128,"name":"DistributedR","full_name":"vertica/DistributedR","owner":{"login":"vertica","id":10060,"avatar_url":"https://avatars.githubusercontent.com/u/10060?v=3","gravatar_id":"","url":"https://api.github.com/users/vertica","html_url":"https://github.com/vertica","followers_url":"https://api.github.com/users/vertica/followers","following_url":"https://api.github.com/users/vertica/following{/other_user}","gists_url":"https://api.github.com/users/vertica/gists{/gist_id}","starred_url":"https://api.github.com/users/vertica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertica/subscriptions","organizations_url":"https://api.github.com/users/vertica/orgs","repos_url":"https://api.github.com/users/vertica/repos","events_url":"https://api.github.com/users/vertica/events{/privacy}","received_events_url":"https://api.github.com/users/vertica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vertica/DistributedR","description":"","fork":false,"url":"https://api.github.com/repos/vertica/DistributedR","forks_url":"https://api.github.com/repos/vertica/DistributedR/forks","keys_url":"https://api.github.com/repos/vertica/DistributedR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vertica/DistributedR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vertica/DistributedR/teams","hooks_url":"https://api.github.com/repos/vertica/DistributedR/hooks","issue_events_url":"https://api.github.com/repos/vertica/DistributedR/issues/events{/number}","events_url":"https://api.github.com/repos/vertica/DistributedR/events","assignees_url":"https://api.github.com/repos/vertica/DistributedR/assignees{/user}","branches_url":"https://api.github.com/repos/vertica/DistributedR/branches{/branch}","tags_url":"https://api.github.com/repos/vertica/DistributedR/tags","blobs_url":"https://api.github.com/repos/vertica/DistributedR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vertica/DistributedR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vertica/DistributedR/git/refs{/sha}","trees_url":"https://api.github.com/repos/vertica/DistributedR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vertica/DistributedR/statuses/{sha}","languages_url":"https://api.github.com/repos/vertica/DistributedR/languages","stargazers_url":"https://api.github.com/repos/vertica/DistributedR/stargazers","contributors_url":"https://api.github.com/repos/vertica/DistributedR/contributors","subscribers_url":"https://api.github.com/repos/vertica/DistributedR/subscribers","subscription_url":"https://api.github.com/repos/vertica/DistributedR/subscription","commits_url":"https://api.github.com/repos/vertica/DistributedR/commits{/sha}","git_commits_url":"https://api.github.com/repos/vertica/DistributedR/git/commits{/sha}","comments_url":"https://api.github.com/repos/vertica/DistributedR/comments{/number}","issue_comment_url":"https://api.github.com/repos/vertica/DistributedR/issues/comments{/number}","contents_url":"https://api.github.com/repos/vertica/DistributedR/contents/{+path}","compare_url":"https://api.github.com/repos/vertica/DistributedR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vertica/DistributedR/merges","archive_url":"https://api.github.com/repos/vertica/DistributedR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vertica/DistributedR/downloads","issues_url":"https://api.github.com/repos/vertica/DistributedR/issues{/number}","pulls_url":"https://api.github.com/repos/vertica/DistributedR/pulls{/number}","milestones_url":"https://api.github.com/repos/vertica/DistributedR/milestones{/number}","notifications_url":"https://api.github.com/repos/vertica/DistributedR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vertica/DistributedR/labels{/name}","releases_url":"https://api.github.com/repos/vertica/DistributedR/releases{/id}","created_at":"2014-08-01T13:36:49Z","updated_at":"2015-08-03T14:39:18Z","pushed_at":"2015-08-04T20:10:59Z","git_url":"git://github.com/vertica/DistributedR.git","ssh_url":"git@github.com:vertica/DistributedR.git","clone_url":"https://github.com/vertica/DistributedR.git","svn_url":"https://github.com/vertica/DistributedR","homepage":null,"size":100573,"stargazers_count":89,"watchers_count":89,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":16,"forks":32,"open_issues":16,"watchers":89,"default_branch":"master"}},"base":{"label":"vertica:master","ref":"master","sha":"33077b4591695e03679a0fafb6c07590492d8620","user":{"login":"vertica","id":10060,"avatar_url":"https://avatars.githubusercontent.com/u/10060?v=3","gravatar_id":"","url":"https://api.github.com/users/vertica","html_url":"https://github.com/vertica","followers_url":"https://api.github.com/users/vertica/followers","following_url":"https://api.github.com/users/vertica/following{/other_user}","gists_url":"https://api.github.com/users/vertica/gists{/gist_id}","starred_url":"https://api.github.com/users/vertica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertica/subscriptions","organizations_url":"https://api.github.com/users/vertica/orgs","repos_url":"https://api.github.com/users/vertica/repos","events_url":"https://api.github.com/users/vertica/events{/privacy}","received_events_url":"https://api.github.com/users/vertica/received_events","type":"Organization","site_admin":false},"repo":{"id":22511128,"name":"DistributedR","full_name":"vertica/DistributedR","owner":{"login":"vertica","id":10060,"avatar_url":"https://avatars.githubusercontent.com/u/10060?v=3","gravatar_id":"","url":"https://api.github.com/users/vertica","html_url":"https://github.com/vertica","followers_url":"https://api.github.com/users/vertica/followers","following_url":"https://api.github.com/users/vertica/following{/other_user}","gists_url":"https://api.github.com/users/vertica/gists{/gist_id}","starred_url":"https://api.github.com/users/vertica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vertica/subscriptions","organizations_url":"https://api.github.com/users/vertica/orgs","repos_url":"https://api.github.com/users/vertica/repos","events_url":"https://api.github.com/users/vertica/events{/privacy}","received_events_url":"https://api.github.com/users/vertica/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vertica/DistributedR","description":"","fork":false,"url":"https://api.github.com/repos/vertica/DistributedR","forks_url":"https://api.github.com/repos/vertica/DistributedR/forks","keys_url":"https://api.github.com/repos/vertica/DistributedR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vertica/DistributedR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vertica/DistributedR/teams","hooks_url":"https://api.github.com/repos/vertica/DistributedR/hooks","issue_events_url":"https://api.github.com/repos/vertica/DistributedR/issues/events{/number}","events_url":"https://api.github.com/repos/vertica/DistributedR/events","assignees_url":"https://api.github.com/repos/vertica/DistributedR/assignees{/user}","branches_url":"https://api.github.com/repos/vertica/DistributedR/branches{/branch}","tags_url":"https://api.github.com/repos/vertica/DistributedR/tags","blobs_url":"https://api.github.com/repos/vertica/DistributedR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vertica/DistributedR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vertica/DistributedR/git/refs{/sha}","trees_url":"https://api.github.com/repos/vertica/DistributedR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vertica/DistributedR/statuses/{sha}","languages_url":"https://api.github.com/repos/vertica/DistributedR/languages","stargazers_url":"https://api.github.com/repos/vertica/DistributedR/stargazers","contributors_url":"https://api.github.com/repos/vertica/DistributedR/contributors","subscribers_url":"https://api.github.com/repos/vertica/DistributedR/subscribers","subscription_url":"https://api.github.com/repos/vertica/DistributedR/subscription","commits_url":"https://api.github.com/repos/vertica/DistributedR/commits{/sha}","git_commits_url":"https://api.github.com/repos/vertica/DistributedR/git/commits{/sha}","comments_url":"https://api.github.com/repos/vertica/DistributedR/comments{/number}","issue_comment_url":"https://api.github.com/repos/vertica/DistributedR/issues/comments{/number}","contents_url":"https://api.github.com/repos/vertica/DistributedR/contents/{+path}","compare_url":"https://api.github.com/repos/vertica/DistributedR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vertica/DistributedR/merges","archive_url":"https://api.github.com/repos/vertica/DistributedR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vertica/DistributedR/downloads","issues_url":"https://api.github.com/repos/vertica/DistributedR/issues{/number}","pulls_url":"https://api.github.com/repos/vertica/DistributedR/pulls{/number}","milestones_url":"https://api.github.com/repos/vertica/DistributedR/milestones{/number}","notifications_url":"https://api.github.com/repos/vertica/DistributedR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vertica/DistributedR/labels{/name}","releases_url":"https://api.github.com/repos/vertica/DistributedR/releases{/id}","created_at":"2014-08-01T13:36:49Z","updated_at":"2015-08-03T14:39:18Z","pushed_at":"2015-08-04T20:10:59Z","git_url":"git://github.com/vertica/DistributedR.git","ssh_url":"git@github.com:vertica/DistributedR.git","clone_url":"https://github.com/vertica/DistributedR.git","svn_url":"https://github.com/vertica/DistributedR","homepage":null,"size":100573,"stargazers_count":89,"watchers_count":89,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":16,"forks":32,"open_issues":16,"watchers":89,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vertica/DistributedR/pulls/27"},"html":{"href":"https://github.com/vertica/DistributedR/pull/27"},"issue":{"href":"https://api.github.com/repos/vertica/DistributedR/issues/27"},"comments":{"href":"https://api.github.com/repos/vertica/DistributedR/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/vertica/DistributedR/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/vertica/DistributedR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vertica/DistributedR/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/vertica/DistributedR/statuses/8218ab7d754afa55cf9677aeea7b417b192d7e96"}}}}