LoginSignup
1
2

More than 1 year has passed since last update.

なんかよくわからないけど、Rでrglライブラリを使う方法

Posted at
options(rgl.useNULL=TRUE)
library(rgl)

plot3d(dat)#datは3次元データ
rglwidget()

普通、rglは実行すると別途ウィンドウを呼ぶが
この方法だと、R studio内の右下に3d散布図を表示させる。

素人なので、適当な予想だけど、rglはxcodeが必要で
それをインストールしていない人の回避方法が上記なのかな。
できたので、何でも良いけど。

参考
https://stackoverflow.com/questions/68517734/how-to-install-the-rgl-package-in-macos-big-sur

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2