Page 1 sur 1

[R] Creation d'un fichier suite recuperation d'information

Posté : lun. 07 déc. 2015 17:03
par africanism
Bonjour a tous,
je voudrais cree un script qui me permetrait de cree un fichier suite a la lecteure d'un autre fichier texte.
Je m'explique.
dans mon fichier info.txt j'ai les chose suivantes.
Prenom1
prenom2
prenom3
etc...
le script irait lire ces info et me les ecrirait dans un autre fichier texte sous cette forme.
je m'apelle Prenom1
je m'apelle Prenom2
je m'apelle Prenom3
etc...
Est ce Possible ?

Merci a vous.

Re: [..] Creation d'un fichier suite recuperation d'informat

Posté : lun. 07 déc. 2015 19:09
par jguinch
Oui, c'est possible : FileOpen + FileReadLine + FileWriteLine

Re: [..] Creation d'un fichier suite recuperation d'informat

Posté : mar. 08 déc. 2015 15:39
par africanism
Merci a tous j'ai réussi.