[R-es] En R.4.03 no corre el comando plot.design

Carlos Ortega co| @end|ng |rom qu@||tyexce||ence@e@
Jue Dic 10 10:49:32 CET 2020


Hola,

Puedes hacerlo de varias formas:


   - Lo cambias al vuelo en el propio plot.design.
      - plot.design( PESO ~* as.factor(TRATAMIENTO)*, data=Prueba,
      ylab="PESO", col.lab="blue", col.axis="red", cex.axis=0.4)


   - O, primeramente lo transformas en tu datos y luego ya lo incluyes en
   plot.design()
      - *Prueba$TRATAMIENTO <- factor(Prueba$TRATAMIENTO)*
      - plot.design( PESO ~ TRATAMIENTO, data=Prueba, ylab="PESO",
      col.lab="blue", col.axis="red", cex.axis=0.4)



El jue, 10 dic 2020 a las 10:44, Juan Bautista (<jbautista using neiker.eus>)
escribió:

> Muchas gracias Carlos.
>
> Efectivamente lo he comprobado …y tienes razón.
>
> La columna “TRATAMIENTO” no me la lee como “Factor” si no como “Character”.
>
> Estoy intentando cambiar para que me aparezca como “Factor” Dos formas que
> he probado no me han funcionado. Alguna sugerencia?
>
> Gracias Otra vez
>
>
>
>
>
> Un saludo.
>
> *Juan Bautista Relloso Barrio*
>
> Coordinador de Equipos e Infraestructuras | Técnico de Cultivos del
> Departamento de Producción Vegetal
>
> Talde eta Azpiegitura Koordinatzailea | Laborantza teknikaria Landare
> Ekoizpen Departamentua
>
> jbautista using neiker.eus | M. 688 62 98 14
>
> *www.neiker.eus* <http://www.neiker.eus/>
> <https://www.linkedin.com/company/neiker/>
> <https://twitter.com/neiker_BRTA> <https://www.facebook.com/neikerBRTA>
> <https://www.youtube.com/user/neikertec>
>
> *        [image: ej_ekonomia_garapen_lateral]         * [image:
> https://www.emakunde.euskadi.eus/contenidos/informacion/violencia_puntolila/eu_def/adjuntos/punto.lila.jpg]
>
>
>
> PRIBATUTASUN POLITIKA <https://neiker.eus/eu/pribatutasun-politika/> | POLÍTICA
> DE PRIVACIDAD <https://neiker.eus/es/politica-privacidad/> | LEGAL NOTICE
> <https://neiker.eus/en/privacy-policy/>
>
>
>
> *De:* Carlos Ortega <cof using qualityexcellence.es>
> *Enviado el:* jueves, 10 de diciembre de 2020 10:17
> *Para:* Juan Bautista <jbautista using neiker.eus>
> *CC:* Proyecto R-UCA <r-uca using uca.es>; r-help-es using r-project.org
> *Asunto:* Re: [R-es] En R.4.03 no corre el comando plot.design
>
>
>
> Hola,
>
>
>
> Desde la 4.0 R al importar un dataset, ya no convierte los "strings" a
> "factors" y ese es el error que tienes. Sospecho que la columna
> "TRATAMIENTO" no es factor y aparece el error.
>
> Comprueba la clase de las columnas en la 3.63 antes de entrar en el plot y
> lo mismo con la 4.03.
>
>
>
> Gracias,
>
> Carlos Ortega
>
> www.qualityexcellence.es
>
>
>
> El jue, 10 dic 2020 a las 10:02, Juan Bautista (<jbautista using neiker.eus>)
> escribió:
>
> Hola a todos.
> Acabo de instalar la versión de R 4.03 y hay un comando que no corre. Me
> dá un mensaje de error que no se descifrar
> Este es el comando:
> plot.design( PESO ~ TRATAMIENTO, data=Prueba, ylab="PESO", col.lab="blue",
> col.axis="red", cex.axis=0.4)
> Y el mensaje de error que me da es este:
> Error in .plot.des(xf, ydata[, j], fun = fun, ylab = ylab[j], ylim =
> ylim,  :
>   all columns/components of 'x' must be factors
>
> Lo que me fastidia es que el mismo comando sin cambiar nada en R 3.63
> corre perfectamente sin ningún problema
> ¿Puede que me falte algún paquete o librería de cargar?
>
> Un saludo.
> Juan Bautista Relloso Barrio
> Coordinador de Equipos e Infraestructuras | Técnico de Cultivos del
> Departamento de Producción Vegetal
> Talde eta Azpiegitura Koordinatzailea | Laborantza teknikaria Landare
> Ekoizpen Departamentua
> jbautista using neiker.eus | M. 688 62 98 14
> www.neiker.eus
>
>
> PRIBATUTASUN POLITIKA | POLÍTICA DE PRIVACIDAD | LEGAL NOTICE
>
> -----Mensaje original-----
> De: R-help-es <r-help-es-bounces using r-project.org> En nombre de Proyecto
> R-UCA
> Enviado el: viernes, 27 de noviembre de 2020 10:08
> Para: r-help-es using r-project.org
> Asunto: Re: [R-es] Cargar data frame en app shiny
>
> Hola:
>
> ¿Has comprobado los permisos de las carpetas padre?
>
> Ten en cuenta que shiny tal vez se esté ejecutando por algún usuario de
> sistema con privilegios restringidos como www-data o similar.
>
> Un saludo.
>
> _______________________________________________
> R-help-es mailing list
> R-help-es using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
> _______________________________________________
> R-help-es mailing list
> R-help-es using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-es
>
>
>
> --
>
> Saludos,
> Carlos Ortega
> www.qualityexcellence.es
>


-- 
Saludos,
Carlos Ortega
www.qualityexcellence.es

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0001.html>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 776 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0005.png>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 881 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0006.png>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 716 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0007.png>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image011.png
Type: image/png
Size: 952 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0008.png>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image012.png
Type: image/png
Size: 16139 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0009.png>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image013.jpg
Type: image/jpeg
Size: 3167 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0002.jpg>

------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: image014.jpg
Type: image/jpeg
Size: 1583 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20201210/7e172576/attachment-0003.jpg>


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