https://www.rayshader.com/
The codes library <https://rdrr.io/r/base/library.html>(ggplot2 <https://ggplot2.tidyverse.org>) <https://www.rayshader.com/#cb29-1>## <https://www.rayshader.com/#cb29-2>## Attaching package: 'ggplot2' <https://www.rayshader.com/#cb29-3> <https://www.rayshader.com/#cb29-4>## The following object is masked from 'package:rayrender': <https://www.rayshader.com/#cb29-5>## <https://www.rayshader.com/#cb29-6>## arrow ggdiamonds = ggplot <https://ggplot2.tidyverse.org/reference/ggplot.html>(diamonds) + stat_density_2d <https://ggplot2.tidyverse.org/reference/geom_density_2d.html>(aes <https://ggplot2.tidyverse.org/reference/aes.html>(x = x, y = depth, fill = stat <https://ggplot2.tidyverse.org/reference/aes_eval.html>(nlevel)), geom = "polygon", n = 200, bins = 50,contour = TRUE) + facet_wrap <https://ggplot2.tidyverse.org/reference/facet_wrap.html>(clarity~.) + scale_fill_viridis_c <https://ggplot2.tidyverse.org/reference/scale_viridis.html>(option = "A")par <https://rdrr.io/r/graphics/par.html>(mfrow = c <https://rdrr.io/r/base/c.html>(1, 2))plot_gg <https://www.rayshader.com/reference/plot_gg.html>(ggdiamonds, width = 5, height = 5, raytrace = FALSE, preview = TRUE)plot_gg <https://www.rayshader.com/reference/plot_gg.html>(ggdiamonds, width = 5, height = 5, multicore = TRUE, scale = 250, zoom = 0.7, theta = 10, phi = 30, windowsize = c <https://rdrr.io/r/base/c.html>(800, 800))Sys.sleep <https://rdrr.io/r/base/Sys.sleep.html>(0.2)render_snapshot <https://www.rayshader.com/reference/render_snapshot.html>(clear = TRUE) On Wed, Sep 13, 2023 at 11:17 AM lina <lina.lastn...@gmail.com> wrote: > Error in socketConnection("localhost", port = port, server = TRUE, > blocking = TRUE, : > all connections are in use > > when I use multicore=TRUE, > > I have above problem, > > when I tried to open > > $ telnet localhost 11017 > Trying ::1... > Trying 127.0.0.1... > telnet: Unable to connect to remote host: Connection refused > > # iptables -L > Chain INPUT (policy ACCEPT) > target prot opt source destination > ACCEPT tcp -- anywhere anywhere tcp dpt:11017 > ACCEPT tcp -- anywhere anywhere tcp dpt:11017 > >