SCM

Forum: help

Monitor Forum | Start New Thread Start New Thread
RE: Error: could not find function "mfrow3d" [ Reply ]
By: John Beausang on 2015-10-14 16:11
[forum:42843]
Hi Duncan,
Thanks for the speedy reply. after reading your email this morning I poked around a bit more and got it working! In case you're curious I've enclosed more details, although I suspect this is probably mostly the result of my limited competency with R:

Basically, when using install.packages("rgl") command from within Rstudio (CRAN repository) I had to opt for the slightly older binary version (0.95.1247) and NOT compile from the slightly newer version source (0.95.1367)--even though compiling from source seemed to complete without errors.

This may be unrelated, but I also tried to use the suggested R snippet from the Rforge packages page, i.e.,:

install.packages("rgl", repos="http://R-Forge.R-project.org")

but that gave me numerous error messages:

> install.packages("rgl", repos = "http://R-Forge.R-project.org")
curl: (22) The requested URL returned error: 404
Warning in install.packages :
download had nonzero exit status
Warning in install.packages :
cannot open compressed file '/var/folders/6r/8msyb3jx1p74byd03lywz1wh0000gp/T//RtmpHmViy8/file365e51c27a5c', probable reason 'No such file or directory'
curl: (22) The requested URL returned error: 404
Warning in install.packages :
download had nonzero exit status
Warning in install.packages :
cannot open compressed file '/var/folders/6r/8msyb3jx1p74byd03lywz1wh0000gp/T//RtmpHmViy8/file365e51c27a5c', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

RE: Error: could not find function "mfrow3d" [ Reply ]
By: Duncan Murdoch on 2015-10-14 12:36
[forum:42641]
That sort of error usually means mixing versions: you're running some old version, you're trying to execute code from a new one.

Your MacOs version is very old; I'm not sure what versions of rgl are supported there. I would have guessed all of them, but I definitely don't do testing on 10.7.

So I'd suggest running sessionInfo() to confirm that you really are running rgl 0.95.1367. If you are, you're probably on your own to debug this.


Error: could not find function "mfrow3d" [ Reply ]
By: John Beausang on 2015-10-14 06:28
[forum:42640]
I'm using MacOs 10.7 on Rstudio with latest version of R ( 3.2.1). Installation of rgl version 0.95.1367 went fine and most plotting commands seem to work, but in going through the rgl vignette for the mfrow3d function (page 30 of pdf) I get the error message:
Error: could not find function "mfrow3d()"

Similar thing happens for next3d() function.

I've never had a missing function within an otherwise OK package. Am I missing something?
Thanks.

Thanks to:
Vienna University of Economics and Business Powered By FusionForge