export files - write.table

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

export files - write.table

Ana Quitério
Hi user

I have a question about export files.

I run my program for different countries and different years.

 

For export files I do this in SAS:

 

(1) Path to data files

%let teste=C:\Documents and Settings\MEALQ\My Documents;

 

(2) Country code;

%let cc=pt;

 

(3) Survey year;

%let yy=03;

 

Output in: &teste\&cc\&yy\cc&yy.txt

 

How can I do a similar command in R?

 

Thanks in advance,

 

Ana Quiterio

Lisbon/Portugal

 


        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html