Try this:

as.list(scan("your_txt_file"))

On Tue, Nov 23, 2010 at 3:05 PM, Guido Leoni <guido.leoni@gmail.com> wrote:

> Dear List I'm a newbie R user.
> I'm utilizing the list function in order to make a var like this:
> clusters<-list(a=var1,b=var2....) My problem is that the total numer of
> variables that I need to include in my list is up to 200. I've the text
> string with the complete list of my variables but is too long to cut and
> paste in my bash shell.
> So is there a way too import the list from a text file?
> Thank you very much for any kind of help
> Guido
>
>
> --
> Guido Leoni
> National Research Institute on Food and Nutrition
> (I.N.R.A.N.)
> via Ardeatina 546
> 00178 Rome
> Italy
>
> tel     + 39 06 51 49 41 (operator)
>        + 39 06 51 49 498 (direct)
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]

