Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

188
Vistas
How to fix trailing garbage bug in HighCharts R?

I recently stumble across a problem using highcharts in R. When simply plotting a map of french departments :

hcmap("countries/fr/fr-all-all")

I see the following error in the prompt

Content type 'text/javascript' length 128539 bytes (125 KB)
==================================================
downloaded 125 KB

Error: parse error: trailing garbage
          [[3530,136],[3530,-689]]]}}]};
                     (right here) ------^

I tried the following but it doesn't seem to work :

remotes::install_github("jbkunst/highcharter")
library(highcharter) 
hcmap(map ="custom/world-highres2.js")

I'm not really advanced in JavaScript so I can really dive into low-level details. Furthermore, this error is new, it used to work about 2 weeks ago.

about 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda