Re: [R] selectively importing functions etc. from files

2008-11-30 Thread Charles C. Berry
On Sun, 30 Nov 2008, Faheem Mitha wrote: Hi Charles, Thanks for the reply. On Sun, 30 Nov 2008, Charles C. Berry wrote: On Sat, 29 Nov 2008, Faheem Mitha wrote: > > Hi, > > If I want to import the contents of a R file into another one, I can do > > source("foo.R") > > However, thi

Re: [R] selectively importing functions etc. from files

2008-11-30 Thread Faheem Mitha
Hi Charles, Thanks for the reply. On Sun, 30 Nov 2008, Charles C. Berry wrote: On Sat, 29 Nov 2008, Faheem Mitha wrote: Hi, If I want to import the contents of a R file into another one, I can do source("foo.R") However, this imports everything from foo.R, including all functions and g

Re: [R] selectively importing functions etc. from files

2008-11-30 Thread Charles C. Berry
On Sat, 29 Nov 2008, Faheem Mitha wrote: Hi, If I want to import the contents of a R file into another one, I can do source("foo.R") However, this imports everything from foo.R, including all functions and global variables. Is there a way of selectively importing individual functions etc.,

[R] selectively importing functions etc. from files

2008-11-29 Thread Faheem Mitha
Hi, If I want to import the contents of a R file into another one, I can do source("foo.R") However, this imports everything from foo.R, including all functions and global variables. Is there a way of selectively importing individual functions etc., in a similar fashion to Python's from fo