Skip to content

Orca error when exporting big plots #1438

@mabreidi

Description

@mabreidi

Hello,

I'm having trouble exporting fairly large plotly plots via orca(). Small plots, however, work just fine.

For example...

testdata <- as.data.frame(matrix(rnorm(20000,30,5),10000,2))
p <- testdata %>% plot_ly(x=~V1,y=~V2,type="scatter",mode="markers")
orca(p,"test.png")

Returns this error:

Error in process_initialize(self, private, command, args, stdin, stdout, :
processx error, create process: #206 File name or extension too long
at 'win/processx.c:1039'

This however runs just fine:

smalltestdata <- as.data.frame(matrix(rnorm(1000,30,5),500,2))
psmall <- smalltestdata %>% plot_ly(x=~V1,y=~V2,type="scatter",mode="markers")
orca(psmall,"smalltest.png")

Does anyone know if and how this can be fixed? Or if there's another option to export my plotly plots (as svg and png)?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions