Git Product home page Git Product logo

Comments (7)

simecek avatar simecek commented on July 30, 2024

Same issue here for Karl Broman iplot (testjs package). Possible solution seems to be setting selfcontained=FALSE

from htmlwidgets.

ramnathv avatar ramnathv commented on July 30, 2024

Thanks for reporting this. We will investigate the issue and figure out potential solutions to fix it.

from htmlwidgets.

kbroman avatar kbroman commented on July 30, 2024

The problem can be related to the size of the data being placed in the widget. With R/qtlcharts, I get this stack space overflow error only for the iplotMScanone function, and only with larger data sets. Here's an example (a subset of this gist):

library(qtl)
library(qtlcharts)
library(htmlwidgets)
data(grav)
grav$pheno <- grav$pheno
grav <- calc.genoprob(grav)
out <- scanone(grav, phe=1:nphe(grav), method="hk")

# this is okay
out_plot1 <- iplotMScanone(out, lodcolumn=1:103)
saveWidget(out_plot1, file="tmp1.html")

# this gives "stack space overflow"
out_plot3 <- iplotMScanone(out, lodcolumn=1:104)
saveWidget(out_plot3, file="tmp3.html")

from htmlwidgets.

ramnathv avatar ramnathv commented on July 30, 2024

This should be fixed now. See here

from htmlwidgets.

kbroman avatar kbroman commented on July 30, 2024

Excellent!

from htmlwidgets.

hrbrmstr avatar hrbrmstr commented on July 30, 2024

agreed! #ty for this!

On Thu, Jul 9, 2015 at 12:10 PM, Karl Broman [email protected]
wrote:

Excellent!


Reply to this email directly or view it on GitHub
#81 (comment)
.

from htmlwidgets.

jjallaire avatar jjallaire commented on July 30, 2024

BTW I've subsequently discovered that it's best to increase the pandoc
stack size to ~ 512MB for all pandoc operations:

259bc3c

So you shouldn't require fiddling with the arguments manually any longer.

On Thu, Jul 9, 2015 at 3:39 PM, boB Rudis [email protected] wrote:

agreed! #ty for this!

On Thu, Jul 9, 2015 at 12:10 PM, Karl Broman [email protected]
wrote:

Excellent!


Reply to this email directly or view it on GitHub
<
https://github.com/ramnathv/htmlwidgets/issues/81#issuecomment-120051426>

.


Reply to this email directly or view it on GitHub
#81 (comment)
.

from htmlwidgets.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.