R Under development (unstable) (2025-04-19 r88162 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(threejs) Loading required package: igraph Attaching package: 'igraph' The following objects are masked from 'package:stats': decompose, spectrum The following object is masked from 'package:base': union > # scatterplots > z <- seq(-10, 10, 0.1) > x <- cos(z) > y <- sin(z) > scatterplot3js(x, y, z, color=rainbow(length(z))) > scatterplot3js(x, y, z, color=rainbow(length(z)), axisLabels=c("a", "b", "c")) > > # graphs > data(LeMis, package="threejs") > g <- graphjs(LeMis, main="Les Misérables") This graph was created by an old(er) igraph version. ℹ Call `igraph::upgrade_graph()` on it to use with the current igraph version. For now we convert it on the fly... > g <- graphjs(LeMis, main="Les Misérables", brush=TRUE) > > proc.time() user system elapsed 0.78 0.15 0.95