{"action":"created","issue":{"url":"https://api.github.com/repos/eddelbuettel/rvowpalwabbit/issues/1","labels_url":"https://api.github.com/repos/eddelbuettel/rvowpalwabbit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/eddelbuettel/rvowpalwabbit/issues/1/comments","events_url":"https://api.github.com/repos/eddelbuettel/rvowpalwabbit/issues/1/events","html_url":"https://github.com/eddelbuettel/rvowpalwabbit/issues/1","id":93543958,"number":1,"title":"Using RVowpalWabbit with the latest version of Vowpal Wabbit","user":{"login":"slymore","id":2227272,"avatar_url":"https://avatars.githubusercontent.com/u/2227272?v=3","gravatar_id":"","url":"https://api.github.com/users/slymore","html_url":"https://github.com/slymore","followers_url":"https://api.github.com/users/slymore/followers","following_url":"https://api.github.com/users/slymore/following{/other_user}","gists_url":"https://api.github.com/users/slymore/gists{/gist_id}","starred_url":"https://api.github.com/users/slymore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slymore/subscriptions","organizations_url":"https://api.github.com/users/slymore/orgs","repos_url":"https://api.github.com/users/slymore/repos","events_url":"https://api.github.com/users/slymore/events{/privacy}","received_events_url":"https://api.github.com/users/slymore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-07T14:27:29Z","updated_at":"2015-08-14T16:45:40Z","closed_at":null,"body":"I'm trying to recompile the RVowpalWabbit package with the latest Vowpal Wabbit code.\r\n\r\nWhat I've basically done is:\r\n* create a new package from scratch \"PTEST\" which links to Rcpp\r\n* In the 'src' directory copy all the latest [vowpalwabbit](https://github.com/JohnLangford/vowpal_wabbit/tree/master/vowpalwabbit) source files. \r\n* Copy (as is) the Makefile, Makefile.am and configure.ac files (from [here](https://github.com/JohnLangford/vowpal_wabbit)) into the root path of PTEST\r\n* add the [first part of configure.in](https://github.com/cran/RVowpalWabbit/blob/master/configure.in#L1-L48) at the beginning of  configure.ac. Here is then how the [configure.ac file looks like](https://github.com/slymore/PTEST/blob/master/configure.ac)\r\n* Add [vw.R](https://github.com/cran/RVowpalWabbit/blob/master/R/vw.R) in the R folder and [R_vw.cpp](https://github.com/cran/RVowpalWabbit/blob/master/src/R_vw.cpp) in the src folder of PTEST.\r\n* Add ```useDynLib(PTEST)``` to the NAMESPACE file\r\n\r\nI then run\r\n```\r\ninstall.packages(\"PTEST\", repos = NULL, type=\"source\" )\r\n```\r\n\r\nIt seems that there is no problem of compilation, but the library file PTEST.so is not created. Here is the output error:\r\n```\r\nmake[2]: Leaving directory `PTEST/src'\r\nmake[1]: Leaving directory `PTEST'\r\n** R\r\n** preparing package for lazy loading\r\n** help\r\nNo man pages found in package  ‘PTEST’ \r\n*** installing help indices\r\n** building package indices\r\n** testing if installed package can be loaded\r\nError in library.dynam(lib, package, package.lib) : \r\n  shared object ‘PTEST.so’ not found\r\nError: loading failed\r\nExecution halted\r\nERROR: loading failed\r\n* removing ‘R/x86_64-pc-linux-gnu-library/3.2/PTEST’\r\nWarning in install.packages :\r\n  installation of package ‘PTEST’ had non-zero exit status\r\nError in readRDS(pfile) : error reading from connection\r\n```\r\n\r\nI am far from fluent in configuring/building packages and Rcpp but I hope I have expressed my problem clearly enough. \r\n\r\nHere is the [full R Package](https://github.com/slymore/PTEST) that I am trying to build (basically a fork from RVowpalWabbit and taking the latest source files from VW).\r\n\r\n\r\n\r\n\r\nAny take on what's going wrong ? Thanks !\r\n"},"comment":{"url":"https://api.github.com/repos/eddelbuettel/rvowpalwabbit/issues/comments/131175637","html_url":"https://github.com/eddelbuettel/rvowpalwabbit/issues/1#issuecomment-131175637","issue_url":"https://api.github.com/repos/eddelbuettel/rvowpalwabbit/issues/1","id":131175637,"user":{"login":"eddelbuettel","id":673121,"avatar_url":"https://avatars.githubusercontent.com/u/673121?v=3","gravatar_id":"","url":"https://api.github.com/users/eddelbuettel","html_url":"https://github.com/eddelbuettel","followers_url":"https://api.github.com/users/eddelbuettel/followers","following_url":"https://api.github.com/users/eddelbuettel/following{/other_user}","gists_url":"https://api.github.com/users/eddelbuettel/gists{/gist_id}","starred_url":"https://api.github.com/users/eddelbuettel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddelbuettel/subscriptions","organizations_url":"https://api.github.com/users/eddelbuettel/orgs","repos_url":"https://api.github.com/users/eddelbuettel/repos","events_url":"https://api.github.com/users/eddelbuettel/events{/privacy}","received_events_url":"https://api.github.com/users/eddelbuettel/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T16:45:40Z","updated_at":"2015-08-14T16:45:40Z","body":"R packages are dynamic libraries ..."}}