Re: [R] define stuff to be only usable in the same file

2012-07-11 Thread Jessica Streicher
Thanks Barry, that helped a lot, modified it a bit and it does pretty much what i wanted. On 11.07.2012, at 15:08, Barry Rowlingson wrote: > On Tue, Jul 10, 2012 at 4:02 PM, Jessica Streicher > wrote: > >> >> Forget about that, i'm stupid and can't use the tools available... >> > > Here's s

Re: [R] define stuff to be only usable in the same file

2012-07-11 Thread Barry Rowlingson
On Tue, Jul 10, 2012 at 4:02 PM, Jessica Streicher wrote: > > Forget about that, i'm stupid and can't use the tools available... > Here's something I wrote specially for all you wonderful stupid people out there... https://gist.github.com/3025606 What it tries to do is to wrap all the messy

Re: [R] define stuff to be only usable in the same file

2012-07-11 Thread Jessica Streicher
Packaging ist still too complicated for my level i guess, can't get it to work properly, and it seems a lot of work. However apparently putting a "." in front of functions will hide them, saw that in another script, don't know what its about, but it works, so who cares.. On 10.07.2012, at 17:02

Re: [R] define stuff to be only usable in the same file

2012-07-10 Thread Jessica Streicher
On 10.07.2012, at 16:45, Jessica Streicher wrote: > > On 10.07.2012, at 15:24, Duncan Murdoch wrote: > >> On 12-07-10 9:13 AM, Jessica Streicher wrote: >>> Hello R-Help! >>> >>> I've looked around and have not found: >>> >>> A simple(short) way to hide functions and variables from the global

Re: [R] define stuff to be only usable in the same file

2012-07-10 Thread Jessica Streicher
On 10.07.2012, at 15:24, Duncan Murdoch wrote: > On 12-07-10 9:13 AM, Jessica Streicher wrote: >> Hello R-Help! >> >> I've looked around and have not found: >> >> A simple(short) way to hide functions and variables from the global >> environment. What i want is for a few of them to only be acc

Re: [R] define stuff to be only usable in the same file

2012-07-10 Thread Duncan Murdoch
On 12-07-10 9:13 AM, Jessica Streicher wrote: Hello R-Help! I've looked around and have not found: A simple(short) way to hide functions and variables from the global environment. What i want is for a few of them to only be accessable from the scriptfile they're in. I probably could do fun th