If you are anything like me, then the main
thing that you could do to win the game is
to type the name of the file correctly.
Given that is a near impossibility for me,
when I'm on Windows I use 'file.choose' to
get the correct name. Your command would
look like:
example=read.table(file=file.choose(), header=TRUE,sep=,)
The other likely problem is that you and
R are not agreeing on what the working
directory is. You can see what R thinks it
is by typing:
getwd()
You can change what it thinks it is with
the 'setwd' function (or via the menu --
the file menu in Rgui or session menu in
RStudio).
Welcome to the R world.
Pat
On 23/11/2013 16:49, Juan Manuel Reyes S wrote:
Dear R- project
I am beginning to work in R. When I was trying to read data for external
files with command read.table in R, R was reporting me:
example=read.table(file=example.text, header=TRUE,sep=,)
Error in file(file, rt) : It is not posible to open connection
Además: Mensajes de aviso perdidos
In file(file, rt) :
It is not posible to open the file 'example.text': No such file or
directory
I am using office 365 and my computer has Windows 8.
What can I do?
Thank you members of R- project
Juan Manuel
[[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.
--
Patrick Burns
pbu...@pburns.seanet.com
twitter: @burnsstat @portfolioprobe
http://www.portfolioprobe.com/blog
http://www.burns-stat.com
(home of:
'Impatient R'
'The R Inferno'
'Tao Te Programming')
__
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.