[R] print and read.table commands

From: Paul Adams <pma3622_at_yahoo.com>
Date: Mon, 02 Jun 2008 11:33:45 -0700 (PDT)


  Hello to everyone,

I am new to programming in R and am having trouble with the following two commands
1.I am running a simple 1 line script "read.table(file="C:\\Document and Settings\\All Users\\Desktop\\colon cancer.txt) and the error message I get is "Error in file (file, "r"): cannot open the connection In addition warning message In file (file, "r"): cannot open file'C:\Document and Settings\All Users\Desktop\colon cancer..txt
 

2.I am running the simple 1 line script print (file="C:\\Document and Settings\\All Users\\Desktop\\colon cancer.txt) and the error message I get is "error in print.default (file="C:\\ Document and Settings\\All Users\\Desktop\\colon cancer.txt"): argument x is missing,with no default I am not sure what I am supposed to enter as argument x.
 

Any help would be greatly appreciated
paul

      
	[[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. Received on Mon 02 Jun 2008 - 20:16: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 Mon 02 Jun 2008 - 21:30:50 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