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...
Corral asked 18/12, 2016 at 21:10

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...
Persuade asked 7/3, 2014 at 17:50

4

Solved

I am hoping someone with experience can help in how one prepares the shape files from xyz data. A great example of a well-prepared dataset can be seen here for the comet Churyumov–Gerasimenko, alth...
Carmagnole asked 25/3, 2014 at 9:26

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...
Smtih asked 5/10, 2011 at 15:42

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

I have a problem with the fullscreen / non-fullscreen of my rgl device. Currently I use R 3.00 I plot a persp3d plot (library rgl) into my device, it opens in a quite small window: The R code: ...
Delict asked 5/8, 2013 at 18:58

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...
Fast asked 9/8, 2013 at 13:19

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...
Rotarian asked 6/4, 2015 at 20:0

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...
Brakesman asked 5/2, 2013 at 16:43

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...
Darksome asked 4/8, 2015 at 23:9

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...
Doretheadoretta asked 9/8, 2012 at 2:25

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...
Manos asked 29/9, 2016 at 19:2

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

I've followed this tutorial to export a POV-Ray graphic to a STL file, through Meshlab. I've also tried the export to the OBJ format. Everything seems to work fine from the creation of the POV-Ray ...
Bidentate asked 25/3, 2018 at 15:10

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...
Blend asked 27/2, 2015 at 9:53

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...
Pergrim asked 21/5, 2017 at 18:17

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 ...
Manservant asked 3/4, 2015 at 15:43

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

© 2022 - 2024 — McMap. All rights reserved.