Skip to content

R: source

2 messages · Clark Allan, Gabor Grothendieck

#
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
#
On 10/14/05, Clark Allan <Allan at stats.uct.ac.za> wrote:
I am able to source files from folders whose names have a space
in them so I suspect you have the path or filename wrong.  I am using
Windows XP with R 2.2.0.  The file.choose suggestion already given
will work around that or you may wish to double check it
using dir/b/s/p from the Windows console.