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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Clark Allan
Sent: Friday, October 14, 2005 7:06 AM
To: [email protected]
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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to