[R] source a script file straight from a subversion repository

Steven McKinney smckinney at bccrc.ca
Sat Aug 2 01:49:23 CEST 2008


Hi useRs

I'm trying to figure out how to source
an R script file straight from a subversion
repository, without having to put a copy
of the script into the local working directory.

Has anyone done this?  

Something such as

  source(file =  paste("svn://myrepo.xxx.org/opt/svn/repos/",
             "/Projects/SMcode/tags/v1.0/SMfuns.R",
             sep = ""))

though this does not work.

Perhaps I need a connection of some sort
instead of just a text string for the
file argument?

I'm not sure if this can work, and have not
found an example searching through the archives
and help manuals as yet.

If anyone has done this and can offer any
tips I'd appreciate it.

Best

Steve McKinney



More information about the R-help mailing list