Skip to content
This repository has been archived by the owner on May 23, 2019. It is now read-only.

shortestPath: Error in file.info(x) : invalid filename argument #43

Closed
nicolewhite opened this issue Nov 20, 2015 · 1 comment
Closed

Comments

@nicolewhite
Copy link
Owner

I believe this is specific to something strange happening in RStudio, as the problem cannot be reproduced in the command line. The shortestPath function completes successfully but this message is inexplicably displayed as an error.

@kkruups
Copy link

kkruups commented May 19, 2016

Hi Nicole,

I also see the same behavior in all three environments commandline (getPaths also indicates the same error), RStudio console/script, R Console. Here is link to code gist/github:
rscript code

Here is my commandline output (I labelled the output in my Rscript code output for convenience):

C:\sandbox\r\rcode_commandline>rscript rneoj_getPath_str_test.R
Warning message:
package 'RNeo4j' was built under R version 3.2.5

XXXX Correct str execution List for Comparison XXXXX
List of 2
$ : num [1:4] 1 2 4 5
$ :function (x)
num [1:4] 1 2 4 5
function (x)

XXXXX Error:Unexpected behavior Below str(p) XXXXX
List of 2
$ :Error in file.info(x) : invalid filename argument
Calls: str ... str -> str.default -> length -> length.path -> file.info
Execution halted

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

No branches or pull requests

2 participants