stansent icon indicating copy to clipboard operation
stansent copied to clipboard

Permission denied

Open Lucinho91 opened this issue 7 years ago • 3 comments

Dear Mr. Rinker,

when I used the check_stanford_installed(), I received:

"Stanford coreNLP does not appear to be installed in root. Would you like me to try to install it there?"

I accepted and it downloaded the file. However there seems to be an installation problem:

In file.copy(stan, file.path(root, "/"), , TRUE) : Error with creating directory /var/folders/k4/f38ndgfd6s7d40z7t8mmzm3m0000gn/T//Rtmp7QiEOq/stanford-corenlp-full-2017-06-09: Permission denied

I am on a MacBook Pro 2015.

Do you know how to solve this issue?

Lucinho91 avatar Mar 25 '18 18:03 Lucinho91

I do not have a mac to test. I'd appreciate a pull request to ensure eveything works on a mac.

If that is a tall order you can manually installe coreNLP yourself and pass the location into the sentiment function yourself.

trinker avatar Mar 26 '18 00:03 trinker

I'll give this one more day and then close due to inactivity.

trinker avatar Apr 03 '18 23:04 trinker

I am having this same problem but on ubuntu. I have coreNLP installed. How do I pass this location into sentiment?

redapemusic35 avatar Apr 13 '21 21:04 redapemusic35