Skip to content
Back to formatted view

Raw Message

Message-ID: <1336141335307-4608744.post@n4.nabble.com>
Date: 2012-05-04T14:22:15Z
From: diegogiri
Subject: text replacement with a loop in a script file

Hi, i'm a new r user and I will take you a simple (not for me)question.
I have a r script file like this:

text <- c("<ARCHIVIO>                         <name> <definition>")

I have a csv file like:
NAME
alfa
beta 
gamma

how can I replace with a loop statment metadata "<name>" of script file with
the values names in the csv file?
I need have all in a single script file.
thanks a lot for all type of suggestions.
bye
diegogiri 


--
View this message in context: http://r.789695.n4.nabble.com/text-replacement-with-a-loop-in-a-script-file-tp4608744.html
Sent from the R help mailing list archive at Nabble.com.