What I suggest you do is
1) Put the R bin directory in your path.
2) cd to your working directory, and start Rterm.exe from there.
3) Then
dat <- read.csv("InitialDataAnalysis.csv")
should work. Note, there is no 'read.file', and of the many read.*
functions you want to read a .csv file so
MAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Williams, Robin
Sent: 22 July 2008 03:25 PM
To: r-help@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
Maybe the spelling is slightly differently than you think.
List all filenames ending in csv:
dir(patt = "csv$")
If there is only one then:
fn <- dir(patt = "csv$")
read.csv(fn)
or if there are many and its the second
read.csv(fn[2])
On Tue, Jul 22, 2008 at 9:24 AM, Williams, Robin
<[EMAIL PRO
Hi Robin,
read.table() is the general import function, and read.csv() and read.csv2() are
very similar but have different defaults.
For learning the ins and outs of R, the keyword help search is very useful:
help.search("csv") would have sent you to read.table for data input.
There are also some
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 m
5 matches
Mail list logo