patzaw / neo2r Goto Github PK
View Code? Open in Web Editor NEWThis R package provides simple connectors for querying neo4j graph databases.
This R package provides simple connectors for querying neo4j graph databases.
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
Windows 10
WSL2 Ubuntu 20:04
R v4.0.5
neo2r v2.1.0
Running Neo4J using
docker run -d -p 7473:7473 -p 7474:7474 -p 7687:7687 --name neo4j-server neo4j-server
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")
)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.