[R-es] Error de markdownToHTML al parsear LATEX

Rubén Gómez Antolí lobo en mucharuina.com
Mie Oct 23 19:30:51 CEST 2013


Saludos:

El 23/10/13 16:20, Maria Elvira escribió:
>
> No me ha funcionado, pero
> muchas gracias Daniel Merino.
> Al final he solucionado mi problema generando el HTML desde una máquina
> vertual Windows, como hacía Jorge Ayuso.

Elvira, mal vamos si para hacer algo hay que cambiar a ese otro s.o.

Para reconfigurar los locales de tu sistema tienes que hacer como 
superusuario, o usando sudo, lo siguiente:

dpkg-reconfigure locales

Una vez ahí eliges los que quieres utilizar.

En cualquier caso siempre puedes utilizar el «viejo truco» de llamar a 
una aplicación con unos locales específicos:

---------- Corte desde la consola ---------------
razer en mac-lobo:~$ R
 

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" 

Copyright (C) 2013 The R Foundation for Statistical Computing 

Platform: powerpc-unknown-linux-gnu (32-bit)

R es un software libre y viene sin GARANTIA ALGUNA.
Usted puede redistribuirlo bajo ciertas circunstancias.
Escriba 'license()' o 'licence()' para detalles de distribucion.

R es un proyecto colaborativo con muchos contribuyentes.
Escriba 'contributors()' para obtener más información y
'citation()' para saber cómo citar R o paquetes de R en publicaciones.

Escriba 'demo()' para demostraciones, 'help()' para el sistema on-line 
de ayuda,
o 'help.start()' para abrir el sistema de ayuda HTML con su navegador.
Escriba 'q()' para salir de R.

 > sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: powerpc-unknown-linux-gnu (32-bit)

locale:
  [1] LC_CTYPE=es_ES.UTF-8       LC_NUMERIC=C
  [3] LC_TIME=es_ES.UTF-8        LC_COLLATE=es_ES.UTF-8
  [5] LC_MONETARY=es_ES.UTF-8    LC_MESSAGES=es_ES.UTF-8
  [7] LC_PAPER=es_ES.UTF-8       LC_NAME=C
  [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_ES.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
 > q()
Save workspace image? [y/n/c]: n
razer en mac-lobo:~$ LC_ALL=C R

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: powerpc-unknown-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

 > sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: powerpc-unknown-linux-gnu (32-bit)

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
 > q()
Save workspace image? [y/n/c]: n
razer en mac-lobo:~$ LC_ALL=de_DE.utf8 R
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (de_DE.utf8)

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: powerpc-unknown-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_MONETARY failed, using "C"
6: Setting LC_PAPER failed, using "C"
7: Setting LC_MEASUREMENT failed, using "C"
 > q()
Save workspace image? [y/n/c]: n
------------ Fin del corte ---------------

Con el alemán falla ya que no lo tengo instalado, tendría que añadirlo 
con el dpkg-reconfigure.


> Gracias a todos por la ayuda :)
> Elvira.

Espero que esto te libre de arrancar esa máquina virtual en próximas 
ocasiones.

Salud y Revolución.

Lobo.
-- 
Libertad es poder elegir en cualquier momento. Ahora yo elijo GNU/Linux,
para no atar mis manos con las cadenas del soft propietario.
Porque la libertad no es tu derecho, es tu responsabilidad.
http://www.mucharuina.com
---------
Desde El Ejido, en Almería, usuario registrado Linux #294013
http://www.counter.li.org



Más información sobre la lista de distribución R-help-es