[R] R: source

Doran, Harold HDoran at air.org
Fri Oct 14 13:13:22 CEST 2005


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 at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Clark Allan
Sent: Friday, October 14, 2005 7:06 AM
To: r-help at 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




More information about the R-help mailing list