Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

344
Views
r2d3: error al cambiar el tamaño del gráfico en el panel "visor" en R

Tengo un gráfico que construí usando d3 (r2d3 en R). Esto es d3 v3. El gráfico se muestra bien, pero cada vez que cambio el tamaño del panel del visor, aparece el siguiente error:

 Error: t.slice is not a function in (script.js#301:6) TypeError: t.slice is not a function at Jn (d3.min.js:1:18267) at e (d3.min.js:1:15373) at Function.t.parse (d3.min.js:1:14782) at r2d3-script-642:308:21 at Array.forEach (<anonymous>)

La(s) línea(s) en cuestión:

 var format = d3.time.format("%Y-%m-%d") data.forEach(function (d) { d.letter = format.parse(d.letter); console.log(d.letter) }); console.log(data)

Nuevamente, en el panel del visor en R Studio, funciona absolutamente bien, pero solo da este error cuando se cambia el tamaño del visor. En HTML, puede cambiar el tamaño sin problema y sin error.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!