[R-es] uso detach

Carlos Ortega cof en qualityexcellence.es
Jue Nov 21 13:37:43 CET 2013


Hola,

Al hacer "detach()" lo que haces es eliminar la librería solamente.
Si además de cargar una librería lo que has hecho es un
attach(un_data_frame_de_la_librería) has cargado las columnas del
data.frame como si fuesen variables con sus datos. Al hacer
detach(de_la_libreria) estas variables/datos se conservan.

La forma entonces de limpiarlos del workspace completamente es con "rm()".

Saludos,
Carlos Ortega
www.qualityexcellence.es


El 21 de noviembre de 2013 13:18, Juan Bautista <jbautista en neiker.net>escribió:

> Un saludo:
>
>
>
> Estoy intentando con el comando “detach()” eliminar todos los archivos que
> durante la analíticas voy utilizando y “attached” al programa.
>
>
>
> El problema es que usando detach () no me borra todo lo adjuntado. No sé
> si estoy usando mal el comando o estoy usando un comando incorrecto que no
> es para esto.
>
>
>
> Gracias.
>
> *Juan Bautista Relloso Barrio*
> Técnico del Dpto de Producción y Protección Vegetal
> jbautista en neiker.net
>
> Tlfno 945 01 23 79 / 688 62 98 14
>
> [image: logotipo NEIKER - Tecnalia]
>
> [image: http://www.neiker.net/neiker/mail/degradado.jpg]
>
> www.neiker.net
> www.avisosneiker.com
>
>
>
> *Centro de Arkaute-ko Zentroa*
> Campus Agroalimentario de Arkaute - E-01080 Vitoria-Gasteiz (Araba) Tel: (+34)
> 945 121 313 / Fax: (+34) 945 281 422
>
> *Centro de Derio-ko Zentroa*
> Bizkaiko Parke Teknologikoa, 812.L. - E-48160-Derio (Bizkaia) Tel: (+34)
> 944 034 300 / Fax: (+34) 944 034 310
>
> [image: facebook]<http://www.facebook.com/pages/NEIKER-Tecnalia/131992493534220>[image:
> twitter] <http://twitter.com/#!/neikertecnalia>[image: linkedin]<http://www.linkedin.com/in/neikertecnalia>[image:
> youtube] <http://www.youtube.com/user/neikertec>
>
>
>
> _______________________________________________
> R-help-es mailing list
> R-help-es en r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-help-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/20131121/8f71c4e1/attachment-0001.html>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/jpeg
Size: 882 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0006.jpe>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/jpeg
Size: 762 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0007.jpe>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/jpeg
Size: 3094 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0008.jpe>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/gif
Size: 2051 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0001.gif>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/jpeg
Size: 848 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0009.jpe>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/jpeg
Size: 800 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0010.jpe>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: no disponible
Type: image/jpeg
Size: 8873 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help-es/attachments/20131121/8f71c4e1/attachment-0011.jpe>


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