How tinstall RMeCab to RStudio Cloud


I have a question about RStudio Cloud.
I can't install RMeCab.
Message will appear below.

install.packages ("RMeCab", repos = "", type = "source")

When you run

downloaded 1.4 MB

  • installing * source * package ‘RMeCab’ ...
    ** using staged installation
    ** libs
    g ++ -std = gnu ++ 14 -I "/opt/R/4.1.0/lib/R/include" -DNDEBUG -I / usr / local / include -fpic -g -O2 -c Ngram.cpp -o Ngram .o
    In file included from Ngram.cpp: 2:
    RMeCab.h: 25:10: fatal error: mecab.h: No such file or directory

RMeCab performs morphological analysis on Japanese sentences.

This package requires a system dependency, sadly there is no way to install system libraries at user level. Is up to RStudio Cloud system admins to decide whether to install or not a system dependency.

1 Like

I look forward to future support by adminis.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.