Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with initializing session #13

Closed
laurinis opened this issue Jan 29, 2017 · 2 comments
Closed

Issue with initializing session #13

laurinis opened this issue Jan 29, 2017 · 2 comments

Comments

@laurinis
Copy link

Hello,

I am trying to reproduce the Lighting data demo (http://rpubs.com/jlehtoma/210761)

but command init_session(API_KEY) returns,

Error: could not find function "init_session"

(I am running this on R Studio 1.0.136 , OS X 10.12.2 and R 3.3.2.)

I had some problems with ogr2ogr and gdal but manage to solve those issues thank to the help from previous issues described here :

OSGeo/PROJ#351
rOpenGov/fmi#6

@jlehtoma
Copy link
Contributor

jlehtoma commented Jan 29, 2017

This is actually an issue with fmi package, not rwfs. The division of functionality between the packages is confusing, so I can certainly understand the confusion.

Previously init_session() was still not merged to the master branch and hence not available unless fmi was installed from a different branch. However, this has now been fixed in fmi release 0.2.0. Try installing fmi again by:

devtools::install_github("ropengov/fmi")

Let me know if the lightning data demo doesn't work for you for some reason.

Note also, that on Mac you can avoid using ogr2ogr completely by installing the development version of rwfs:

devtools::install_github("ropengov/fmi", ref = "develop")

This should be enough, as using ogr2ogr is disabled by default (it's still available, though).

@jlehtoma
Copy link
Contributor

No recent updates here so I'm closing the issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants