Re: [R] Opening files from R terminal - appologies

From: Rossouw, Ruan (RF) <Ruan.Rossouw_at_sasol.com>
Date: Tue, 22 Jul 2008 15:41:23 +0200

Hi Robin,
Look at ?read.csv and ?read.table
Regards,
Ruan

Ruan Rossouw                                                          
Sasol Technology R&D                                              
Reaction Technology and Industrial Statistics
Tel: +27 16 960 4717                                               
Fax: +27 11 522 4465
Cell: +27 83 724 4163                                                  
e-mail: Ruan.Rossouw_at_Sasol.Com                                        

[All views expressed are my own and not necessarily that of my employer.]

-----Original Message-----
From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org] On Behalf Of Williams, Robin
Sent: 22 July 2008 03:25 PM
To: r-help_at_r-project.org
Subject: [R] Opening files from R terminal - appologies

Dear all,
  I appologise for cluttering up the list with such a basic question, however I have been unable to find the answer I want (possibly through my poor usage of the R help system).
  As I am visually impaired and using assistive technology, I think I would prefer to use R from the terminal mode, i.e. by running rterm.exe found in the bin directory.
  I have managed to set my working directory, I know this as typing getwd() returns
u:/copd/r
which is the directory I want. In this directory is a file named InitialDataAnalysis.csv which I would like to read in to R. However, I am simply unable to find the surely simple command to do this. Just typing InitialDataAnalysis.csv reports "object not found" etc, as does read.file("InitialDataAnalysis.csv") etc. I am surely making a simple mistake? Please could someone tell me how to read this file in to the terminal window?

  I know the file is in the directory and in the correct format as I am able to open it successfully in the R GUI, in this environment the file works properly, I can subset it, make dataframes etc, but as I say I would like to be able to do this in the terminal rather than the GUI.   I am new to R so please have patients with this request. Many thanks for any help,
Robin.  

Robin Williams
Met Office summer intern - Health Forecasting robin.williams_at_metoffice.gov.uk  

        [[alternative HTML version deleted]]



R-help_at_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.

NOTICE: Please note that this eMail, and the contents thereof, is subject to the standard Sasol eMail legal notice which may be found at: http://www.sasol.com/legalnotices

If you cannot access the legal notice through the URL attached and you wish to receive a copy thereof please send an eMail to legalnotice_at_sasol.com




R-help_at_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. Received on Tue 22 Jul 2008 - 14:06:54 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Jul 2008 - 14:31:59 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive