Displaying 20 results from an estimated 712 matches for "rgl".
Did you mean:
rg6
2006 Dec 11
2
updating rgl on debian stable
Running: R Version 2.3.1 (2006-06-01), debian stable
I'm testing an application that uses rgl (installed with apt-get install
r-cran-rgl)
but fails, at least partly because that application uses a more current
version.
There is also a mysterious error msg from Xlib:
> library(car)
> library(rgl)
> iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length,
Petal.Width)...
2016 Jan 08
5
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Hello,
As an example, I ran the following code:
library("rgl")
example(plot3d)
rgl.snapshot("test.png")
The full plot is visible in the window titled RGL dev...
2016 Jan 08
5
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Hello,
As an example, I ran the following code:
library("rgl")
example(plot3d)
rgl.snapshot("test.png")
The full plot is visible in the window titled RGL dev...
2016 Jan 30
2
Best way for rgl's .onLoad to fail?
On OSX and Linux, the rgl package currently requires X11 libs to be
available for linking. Recent versions of OSX don't include them by
default, so I'd like rgl to fail nicely.
Ideally, it will load a library that doesn't need to link to the X11
libs but will still allow WebGL code to work, but that's c...
2008 Dec 04
1
rgl.snapshot() on Vista
Dear Daniel (and Duncan):
back in January you reported that you were having trouble saving an rgl
movie on Vista. I don't know if you ever got that resolved, but a
student of mine is now having a similar problem, not specific to dynamic
graphics (which would have to be a problem outside of rgl anyway). He
may report more on the symptoms, but essentially rgl.snapshot produces
black or funk...
2008 Mar 16
3
rgl build warnings and loading error on Linux
Dear useRs,
I have several problems in using rgl-0.77 (and recent earlier
versions) on Gentoo Linux with a custom-built v. 2.6.22 kernel.
Currently I use R-2.6.1.
When I build rgl,
# R CMD INSTALL "/home/liviu/inst/dwn/R/rgl_0.77.tar.gz"
or
install.packages("rgl", dependencies=TRUE, method ="wget"),
I notice the fo...
2010 Dec 15
3
Help with RGL package problem
Hello,
I have been experiencing an odd error with the RGL package that I cannot
figure out. I have searched without luck for fixes to this problem on
Rseek, Google, and the R-help-list.
RGL used to work on my machine about a month ago. It was a very useful
tool. The graphics device will not initialize now, and I cannot figure out
why.
When I try to...
2023 Jan 26
1
Failing to install the rgl package
Hi,
I try to execute the seven lines of code below to plot a graph. But I
am failing as the messages below show. Where am I going wrong?
install.packages("rgl")
library(rgl)
y_hat = X%*%B_hat
open3d(windowRect = c(100,100,900,900),family = "serif")
color = rainbow(length(y_hat))[rank(y_hat)]
plot3d(educ,exper,wage,col = color,type = "s",size = 0.5,xlim =
c(0,20),ylim = c(0,60),zlim = c(-10,70),box = FALSE,axes = TRUE)
planes3d(B_...
2006 Aug 23
3
rgl: exporting to pdf or png does not work
Hej,
When exporting a image from rgl, the following error is encountered:
> rgl.postscript('testing.pdf', fmt="pdf")
RGL: ERROR: can't bind glx context to window
RGL: ERROR: can't bind glx context to window
Warning messages:
1: X11 protocol error: GLXBadContextState
2: X11 protocol error: GLXBadContextSta...
2009 Sep 21
1
Three dimensional view of the profiles using 'rgl' package (example of 3 dimensional graphics using rgl package).
...esnt make that much sense at the end.
#Let's say that these are the data we would like to plot:
A<-c(62,84,53)
B<-c(64,82,55)
C<-c(56,74,41)
D<-c(46,68,38)
E<-c(71,98,72)
data<-rbind(A,B,C,D,E)
colnames(data)<-c("One", "Two","Three")
library(rgl)
# First set of code which gives 3-D picture
rgl.lines(c(0,1.2),c(0,0),c(0,0))
rgl.lines(c(0,0),c(0,1.2),c(0,0))
rgl.lines(c(0,0),c(0,0),c(0,1.2))
rgl.lines(c(0,0),c(0,1),c(1,0),size=2)
rgl.lines(c(0,1),c(1,0),c(0,0),size=2)
rgl.lines(c(0,1),c(0,0),c(1,0),size=2)
# Second set of code which gives...
2015 Sep 12
3
rgl/webGL complains about Javascript, even in recent online docs?
On 12/09/2015 7:37 AM, Duncan Murdoch wrote:
> On 11/09/2015 10:14 PM, Dominick Samperi wrote:
>> Hello,
>>
>> The recently created online "rgl Overview" at
>> https://cran.r-project.org/web/packages/rgl/vignettes/rgl.html
>> illustrates a problem that I am trying to resolve.
>>
>> At the bottom of each image block on that page appears the
>> advisory: You must enable Javascript to view this page properly...
2019 Jun 02
3
rgl install for R 3.7
...this:
CC=/usr/local/clang8/bin/clang
CXX=/usr/local/clang8/bin/clang++
LDFLAGS=-L/usr/local/clang8/lib
CPPFLAGS=-I/usr/local/clang8/include -I/opt/X11/include/freetype2
FC=/usr/local/gfortran/bin/gfortran
FLIBS=-L/usr/local/gfortran/lib -lgfortran
As usual, the last challenge seems to be to get rgl installed. Compilation _seems_ to go
smoothly, but I now see:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/Library/Frameworks/R.framework/Versions/3.7/Resources/library/00LOCK-rgl/00new/rgl/libs/rgl.so':
dlopen(/Library/Frameworks/R.framework/Vers...
2016 Feb 01
2
Best way for rgl's .onLoad to fail?
...BH> I think the 2nd option will be more palatable to
BH> inexperienced users, but both do state the important
BH> detail. Bryan
>> On Jan 30, 2016, at 4:11 PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>>
>> On OSX and Linux, the rgl package currently requires X11
>> libs to be available for linking. Recent versions of OSX
>> don't include them by default, so I'd like rgl to fail
>> nicely.
>>
>> Ideally, it will load a library that doesn't need to link
>>...
2011 Jul 07
4
rgl movimiento
Hola a todos:
Estoy intentando visualizar unos resultados de un programa en R de forma
dinámica. Dichos resultados se pueden representar, básicamente, con un plano
que gira sobre uno de sus ejes: para dar sensación de movimiento he
utilizado la función rgl.clear(), ya que no encuentro los equivalentes en
rgl de los parámetros add o new. El problema es que al limpiar la pantalla
con rgl.clear la imagen aparece "*flasheada*". Un ejemplo de lo que digo se
puede ver, ejecutando:
ang <- pi/180
cont <- 1
while(cont < 360) {
# Vertic...
2007 Dec 11
1
Error with rgl loading in BATCH mode
Dear all,
I'm trying to run a script that requires KernSmooth in BATCH mode but I get
an error while loading rgl library that is needed by KernSmooth. Actually I
have to run several batch files through a queue of a cluster, so I wouldn't
need graphics at all.
I installed the latest releases of R (2.6.1) and rgl on my CentOS 4.2 Linux
(clone of Red Hat EL) endowed with Rocks 4.2.1 suite for clusters.
If...
2009 Nov 26
13
How to display an image on RGL plot?
Hi all.
It's been a long time since I wrote to this list. Glad to see the R project
well and working.
I am working with a 3D plot similar to this:
http://old.nabble.com/file/p26525177/rgl-device.png rgl-device.png
The underlying picture is a JPEG image, loaded with the rimage package and
coerced to the matrix.
Spheres denote control points, collected from this picture and must be
situated over the certain points of the image.
I display the image with rgl.points.
In case of the s...
2008 Oct 27
3
Pkg rgl: installation fails because of x11
Hello
Im trying to install package rgl in a freshly installed Ubuntu 8.04
system. I have a problem (actually is has been reported three times on
the R-list but the answers were too complicated for me) when
installing:
configure: using libpng dynamic linkage
checking for X... no
configure: error: X11 not found but required, configure ab...
2008 Oct 08
1
rgl_081.708: rgl.snapshot fails, causing persistent problems
*Summary*: The latest Windows binary version of rgl_081.708 from
R-Forge has some problem that
causes rgl.snapshot() to fail, at least on my system.
Thereafter, *all* rgl 3D graphics are rendered without any text labels.
The last problem remains even after (a) removing rgl and re-installing
from CRAN, (b) re-starting
with a fresh installation of a...
2015 Sep 12
2
rgl/webGL complains about Javascript, even in recent online docs?
Hello,
The recently created online "rgl Overview" at
https://cran.r-project.org/web/packages/rgl/vignettes/rgl.html
illustrates a problem that I am trying to resolve.
At the bottom of each image block on that page appears the
advisory: You must enable Javascript to view this page properly.
I am using Safari under MacOS with Javasc...
2016 Jan 11
2
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Dear R-SIG-Fedora,
I'm finding that on CentOS 7, rgl.snapshot (a function in the R package rgl, which provides an R interface to the OpenGL 3-d graphics library) only captures a small portion what's visible in the RGL device window. This does not happen with the same R and rgl versions on CentOS 5.3 (see details below).
The maintainer of rgl, Du...