Re: [R] Reading file

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Tue, 01 Jun 2010 23:01:34 -0400

On Jun 1, 2010, at 3:19 PM, Robert Tsutakawa wrote:

> I am trying to read a source program into a mac pro laptop, which
> uses Snow Leopard. R is unable to find the file containing my
> source program. I'm using the function source(" file name"). I
> need some examples or detailed instructions. I have no problem
> reading the file using PC.
> Bob

Just drag the file from a Finder window to the console to get the full path name.

A cross-platform solution would be file.choose()

-- 
David

______________________________________________
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 Wed 02 Jun 2010 - 03:04:59 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 Wed 02 Jun 2010 - 03:10:28 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