Giter Club home page Giter Club logo

neo2r's People

Contributors

patzaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

neo2r's Issues

Error importing from dataframe

I'm following the example to import from a dataframe and I'm getting this error:

> import_from_df(
+   graph=graph,
+   cql='MERGE (n:TestNode {name:row.name, value:toFloat(row.value)})',
+   toImport=nodes
+ )
Neo.ClientError.Statement.ExternalResourceFailed
Couldn't load the external resource at: file:/var/lib/neo4j/import/file385055f926f8
Error in cypher(graph = graph, query = cql, ...) : neo4j error

System information

Windows 10
WSL2 Ubuntu 20:04

R information

R v4.0.5
neo2r v2.1.0

Neo4J

Running Neo4J using
docker run -d -p 7473:7473 -p 7474:7474 -p 7687:7687 --name neo4j-server neo4j-server

Note

I set all of the environment variables this way:

Sys.setenv(HOME="C:/Users/balter")

Sys.setenv(
  CONTAINER=neo4j_cont,
  NJ_VERSION="4.3.4",
  NJ_HTTP_PORT=7474,
  NJ_BOLT_PORT=7687,
  ### Authorization
  ### ---set to 'none' if you want to disable authorization
  NJ_AUTH="neo4j/n4jpw",  
  ### APOC download
  ### --- should already be installed in the docker image
  # export NJ_APOC=https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/4.0.0.2/apoc-4.0.0.2-all.jar
  # export NJ_APOC=https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.5.0.7/apoc-3.5.0.7-all.jar
)

Sys.setenv(
  ### Change the location of the Neo4j directory
  NJ_HOME=file.path(Sys.getenv("HOME"), "neo4j_home"),
  NJ_IMPORT=file.path(Sys.getenv("HOME"), "neo4jImport"),
  NJ_PLUGINS=file.path(Sys.getenv("HOME"), "neo4j_home", "neo4jPlugins"),
  NJ_DATA=file.path(Sys.getenv("HOME"), "neo4j_home", "neo4jData")
)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.