2020-11-01から1ヶ月間の記事一覧

abort("stat_bin() can only have an x or y aesthetic.")の対処法

R言語で以下のようなエラーが出た際の対処法 abort("stat_bin() can only have an x or y aesthetic.") 以下のサイトを見ると良いが、消されたら困るので、一応ここにも記す。 https://stackoverflow.com/questions/39679057/r-ggplot2-stat-count-must-not-…

import cv2でImportError: libGL.so.1: cannot open shared object file: No such file or directoryエラーが出たとき

pythonコードで import cv2 とインポートしようとすると ImportError: libGL.so.1: cannot open shared object file: No such file or directory というエラーが出た。 その際の対処法は以下のサイトにあるが、一応ここにも記述する。 python - ImportError:…