Well, two steps: download.file() and then file.edit().
Best, Uwe Ligges On 02.02.2016 06:16, Benn Fine wrote:
Hello In R, is it possible to load a script file into the editor via a web address? That is, I have a script file I want people to grab located at http://www.foo.com/bar.R and want to do something like file.edit("http://www.foo.com/bar.R"). But that doesn't seem to work. thanks [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.