On Mon, 28-Nov-2011 at 12:07PM +0100, Ana wrote:

|> How can i replicate this in Linux:
|> source(file.choose())
|> 

As the Mac people used to say ungrammatically: Think Different.

There are many ways of using Linux that can't be done in Windows and
we know nothing of your setup, so it's not obvious what's most
appropriate for you.  Maybe something like the following:

Start R from the directory you wish to use, preferably using ESS which
will give you a separate Emacs window where you run your R commands.
Otherwise open a second tab in your terminal window (which will
automatically be the same directory).  A Terminal window will thus be
available where you can list your files, say with ls or ll.  Paste the
file name (using only the mouse) into your R command window.  

Takes lots of words to describe, but very easy to do.  There are many
variations on that idea.

HTH

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_                 Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)                              ..... Eleanor Roosevelt
          
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

______________________________________________
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.

Reply via email to