rgl Questions
8
Solved
I am trying to install rgl package (0.92.858) for R (2.14.2) under Mac OS X (Lion 10.7.3). When I try to load it (library(rgl)), I get the following error:
Error : .onLoad failed in loadNamespace...
Timbale asked 26/3, 2012 at 19:48
2
I installed the rgl package (0.104.16) in R (3.6.3), but it does not load. I don't get any errors. It just never ends loading. I tried reinstalling R and RStudio and also Xquartz. Nothing is workin...
Adumbral asked 2/2, 2021 at 14:41
3
Solved
I normally don't have a problem viewing plots in RStudio (version 1.0.44), but when I try to view a 3D plot created with the "rgl" package, nothing appears in my RStudio plot viewer.
I am able to...
2
Solved
Using knitr it is possible to embed a rgl 3D graphics in a html document from a Rmarkdown source file:
```{r setup}
library(rgl)
knit_hooks$set(rgl = hook_rgl)
x <- sort(rnorm(1000))
y <- rn...
Foliose asked 14/2, 2013 at 16:16
3
While the view3d(theta, phi,...) function can be used to rotate the viewing point to a suitable location while taking snapshot of 3d charts/objects, it's quite hard to guess which theta and phi val...
4
Solved
6
Solved
In the world of the R statistics package, rgl allows me to generate 3d plots that I can rotate with my mouse. Is there a way I can export these plots in a portable format, load them in a web browse...
0
I have been trying to install the rgl package in my macOS Big Sur, but I have failed each time.
I have downloaded R from the CRAN website, and have also installed Xquartz. After rebooting the compu...
Lanham asked 25/7, 2021 at 10:39
4
3
Solved
I'm trying to simulate some data (x1 and x2 - my explanatory variables), calculate y using a specified function + random noise and plot the resulting observations AND the true regression surface. H...
4
It seems that I have troubles isntalling the rgl package on Ubuntu.
When running
install.packages("rgl")
I got the following error
checking for gcc... gcc -std=gnu99
checking whether the C comp...
3
Solved
plot3d() produces a 3d plot that I can twist around and rotate. But when I call plot3d() again, the previous plot goes away and is replaced by this one.
How can I make it so that a new XQuartz win...
7
Solved
I have seen this question here: Error in loading rgl package with Mac OS X but there is no mentioning about installation error, which is my case. I cannot install rgl package, using this command in...
2
Solved
Following this question (including a interactive 3D figure with knitr) and this example by Yihui (https://dl.dropboxusercontent.com/u/15335397/misc/webgl-rmd.html), I can include a 3D interactive f...
Vibration asked 17/11, 2014 at 5:12
4
Solved
The curve function in R provides a simple way to plot a function. For example, this will plot a straight line
f1 <- function(x) x
curve(f1, from=-1, to=1)
Is there an equivalent function in R...
6
Solved
When I use rgl::spheres3d(), the rendered spheres have clunky facetted edges.
spheres = data.frame(x = c(1,2,3), y = c(1,3,1),
color = c("#992222" , "#222299", "#229922"))
open3d()
spheres3d(sphe...
4
I'm new to programming in R so I apologise in advance if I seem naive. I want to be able to do some principal components analysis on my data in 3D. I read that the "pca3d" function is good for this...
Why asked 10/11, 2015 at 16:30
1
Solved
2
Solved
I am using
plot3d(x,y,z, col=test$color, size=4)
to plot a 3d scatterplot of my dataset with R, but with rgl the size argument only takes one size.
Is it possible to have different sizes for...
Kushner asked 26/4, 2012 at 21:53
2
Solved
I have a 3D scene generated with the R rgl package.
I can save it in RTL and OBJ format via the rgl functions, but these functions don't support colors.
I can save it in WebGL, but then I can't f...
1
Solved
In R, using the rgl and htmlwidgets libraries, I'm trying to extract an HTML file having a widget with toggle buttons.
The following example does what I want in the RStudio Viewer. The HTML export...
Phyl asked 21/12, 2017 at 8:19
1
Solved
Just a short moment ago my question on how to embed an rgl in shiny was answered by Mike, but we seem to have stumbled into another issue,
This is the code example:
library(rgl)
library(car)
li...
Marleenmarlen asked 22/5, 2017 at 11:47
1
Solved
I'm looking at implementing 3D interactive plots in my shiny App, and so far I've been using plotly. However, plotly has one major disadvantage, it's extremely slow when rendering.
I've done check...
2
Whenever I do a re-plot on a RGL plot3D it causes the view orientation of the plot to be reset to it's default.
Does anyone know how to save these settings so that I can reapply them after a plot ...
2
Solved
I'm using scatter3d and the 3 axes just have two endpoint values. how can I get labels throughout the entire axis, just like the normal plot() function does?
Clericalism asked 20/11, 2011 at 21:41
1 Next >
© 2022 - 2024 — McMap. All rights reserved.