Two backslashes...
----------------Contact Details:------------------------------------------------------- Contact me: tal.gal...@gmail.com | 972-52-7275845 Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) | www.r-statistics.com/ (English) ---------------------------------------------------------------------------------------------- On Fri, Dec 11, 2009 at 12:45 AM, David Winsemius <dwinsem...@comcast.net>wrote: > > On Dec 10, 2009, at 5:19 PM, Lisa wrote: > > >> Dear all, >> >> How can I open my own function in the R console window? For example, I >> have >> a function called my.function.r saved at the following directory >> >> >> >> > Try: > > source(file="E:/My documents/R files/my.function.r") > > Note that I changed the backslashes to forward slashes. R grew up on Unix > machines and the backslash is used as an escape character. You could, of > course, escape the backslashes, but I can never remember whether you need > two or three backslashes in a row to get the desired effect. > > > > Now I want to input a command in the R console window to open >> my.function.r. >> How can I do it? Thank you in advance. >> > -- > David Winsemius, MD > Heritage Laboratories > West Hartford, CT > > > ______________________________________________ > R-help@r-project.org mailing list > 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.