Message-ID: <3DFB2F83-102D-4C68-99FA-2D94CFCD6303@micromata.de>
Date: 2012-07-10T13:13:19Z
From: Jessica Streicher
Subject: define stuff to be only usable in the same file
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 things with environments , but that seems quite a hassle.
As example: I have a file that gets me stuff from the database and creates an R object from the results, plus some functions on that object. Now i want the objectrelated stuff to be global, while the functions and variables i use for accessing the database shall be hidden.