{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaStats/RCall.jl/issues/8","labels_url":"https://api.github.com/repos/JuliaStats/RCall.jl/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/JuliaStats/RCall.jl/issues/8/comments","events_url":"https://api.github.com/repos/JuliaStats/RCall.jl/issues/8/events","html_url":"https://github.com/JuliaStats/RCall.jl/issues/8","id":53758942,"number":8,"title":"ErrorException after install","user":{"login":"robertfeldt","id":3980,"avatar_url":"https://avatars.githubusercontent.com/u/3980?v=3","gravatar_id":"","url":"https://api.github.com/users/robertfeldt","html_url":"https://github.com/robertfeldt","followers_url":"https://api.github.com/users/robertfeldt/followers","following_url":"https://api.github.com/users/robertfeldt/following{/other_user}","gists_url":"https://api.github.com/users/robertfeldt/gists{/gist_id}","starred_url":"https://api.github.com/users/robertfeldt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertfeldt/subscriptions","organizations_url":"https://api.github.com/users/robertfeldt/orgs","repos_url":"https://api.github.com/users/robertfeldt/repos","events_url":"https://api.github.com/users/robertfeldt/events{/privacy}","received_events_url":"https://api.github.com/users/robertfeldt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-01-08T14:58:10Z","updated_at":"2015-01-08T16:09:50Z","closed_at":null,"body":"Thanks for RCall it looks very useful. I followed the installation steps in the README on a fresh Julia 0.3.4 on Mac OS X Yosemite with all packages updated but then get this when trying to load RCall:\r\n\r\n    julia> using RCall\r\n    Warning: error initializing module RCall:\r\n    ErrorException(\"type cannot be constructed\")\r\n\r\nThe deps.jl file looks fine except for the LD_LIBRARY_PATH:\r\n\r\n    feldt:~/feldt/bin$ cat /Users/feldt/.julia/v0.3/RCall/deps/deps.jl\r\n    # This is an auto-generated file; do not edit\r\n\r\n    const libR=\"/usr/local/Cellar/r/3.1.1/R.framework/Resources/lib/libR.dylib\"\r\n    ENV[\"R_HOME\"]=\"/usr/local/Cellar/r/3.1.1/R.framework/Resources\"\r\n    ENV[\"R_DOC_DIR\"]=\"/usr/local/Cellar/r/3.1.1/R.framework/Resources/doc\"\r\n    ENV[\"R_INCLUDE_DIR\"]=\"/usr/local/Cellar/r/3.1.1/R.framework/Resources/include\"\r\n    ENV[\"R_SHARE_DIR\"]=\"/usr/local/Cellar/r/3.1.1/R.framework/Resources/share\"\r\n    ENV[\"LD_LIBRARY_PATH\"]=\"\"\r\n\r\nso I changed it to\r\n\r\n    ENV[\"LD_LIBRARY_PATH\"]=\"/usr/local/Cellar/r/3.1.1/R.framework/Resources/lib\"\r\n\r\nbut with same error. Any ideas on what is wrong here? Thanks in advance."},"comment":{"url":"https://api.github.com/repos/JuliaStats/RCall.jl/issues/comments/69201875","html_url":"https://github.com/JuliaStats/RCall.jl/issues/8#issuecomment-69201875","issue_url":"https://api.github.com/repos/JuliaStats/RCall.jl/issues/8","id":69201875,"user":{"login":"dmbates","id":371258,"avatar_url":"https://avatars.githubusercontent.com/u/371258?v=3","gravatar_id":"","url":"https://api.github.com/users/dmbates","html_url":"https://github.com/dmbates","followers_url":"https://api.github.com/users/dmbates/followers","following_url":"https://api.github.com/users/dmbates/following{/other_user}","gists_url":"https://api.github.com/users/dmbates/gists{/gist_id}","starred_url":"https://api.github.com/users/dmbates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmbates/subscriptions","organizations_url":"https://api.github.com/users/dmbates/orgs","repos_url":"https://api.github.com/users/dmbates/repos","events_url":"https://api.github.com/users/dmbates/events{/privacy}","received_events_url":"https://api.github.com/users/dmbates/received_events","type":"User","site_admin":false},"created_at":"2015-01-08T16:09:50Z","updated_at":"2015-01-08T16:09:50Z","body":"The same error occurs under julia-0.3.4 on Ubuntu, 64-bit and it does appear to be a version 0.3.x versus version 0.4 issue.  In retrospect it would have been better for me to start development under version 0.3.x and then forward-port to version 0.4 instead of the other way around.\r\n\r\nThe __init__ function is defined in RCall/src/Rcall.jl.  Its purpose is to establish certain package-wide identifiers when the package is attached.  Adding some `@show` macro calls in that function to see when the error originates would help. "}}