Skip to content

Run an r file from the console

2 messages · anna, David Winsemius

#
Hello everybody, I am writing an r file in the same R working directory and I
would like to know how can I just run the whole file by just entering the
file?s name on the console. I put the file in the working directory but it
didn?t  work saying that the "file_name" object wasn?t  found. In matlab I
could do this very simply, just write an m code and run it from the console
by  entering the file name. I?m new in R, thank you in advance :)
#
On Nov 12, 2009, at 12:41 PM, anna_l wrote:

            
?source
David Winsemius, MD
Heritage Laboratories
West Hartford, CT