Re: [R] R: source

From: Doran, Harold <HDoran_at_air.org>
Date: Fri 14 Oct 2005 - 21:13:22 EST


Use file.choose() instead

> source(file.choose())

This will open a dialogue box and might be easier for you to find your file.

-----Original Message-----
From: r-help-bounces@stat.math.ethz.ch
[mailto:r-help-bounces@stat.math.ethz.ch] On Behalf Of Clark Allan Sent: Friday, October 14, 2005 7:06 AM
To: r-help@stat.math.ethz.ch
Subject: [R] R: source

hi all

i have a quick question

i would like to use the source command but i keep on getting an error

eg

source("c:/research file/model.txt")

the problem seems to be because of the space in the file name but this is how windows references the folder name.

i dont want to change the folder name

??/

allan



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Oct 14 21:33:37 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:53:53 EST