Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
290 views
in Technique[技术] by (71.8m points)

I am working on GAM models and I am having an error with rgl to work in RStudio, I have downloaded X11 on my Machine

My system environment:

Mac OS: Mac Mojave (10.14.6) X11 (XQuartz 2.7.11) R (3.6.3)

What should I do to get rgl package to work with mgcViz work on my machine. On xterm if I type install.packages("rgl") I get an error syntax error near unexpected token 'rgl'. I am having trouble getting the steps to work. Spent hours together and I am out of luck.

Please help.

question from:https://stackoverflow.com/questions/65545906/i-am-working-on-gam-models-and-i-am-having-an-error-with-rgl-to-work-in-rstudio

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

I was able to update to the latest version of R which was compatible to rgl which required R 4.0.0 or higher. I did install rgl with dependecies. I was able to get the desired output.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...