Displaying 3 results from an estimated 3 matches for "sourceto".
Did you mean:
sourcety
2007 Jan 09
4
A question about R environment
Hi all,
I created environment "mytoolbox" by : mytoolbox <- new.env(parent=baseenv())
Is there anyway I put it in the search path ?
If you need some background :
In a project, I often write some small functions, and load them into my workspace directly, so when I list the objects
with ls(), it looks pretty messy. So I am wondering if it is possible to creat an
2010 Feb 22
3
relative file path
Hello,
Is there a way to find where a script is located within a script? getwd()
doesn't do what I want because it depends on where R was called from. I want
something like source("randomFile") and within randomFile there is a
function called whereAmI() which returns c:\blah\blah2\randomFile.R
In perl there is a library called FindBin and $FindBin::Bin has the
directory of the file
2010 Jan 08
2
how to organize a lot of R source files
Hi,
I wonder what is a better way to organize a lot of R source files. I have
a lot of utility functions written and store them in several source files
(e.g util1.R, util2.R,..utilN.R). I also have a master file in which the
source command is used to load all the util.R files. When I need to use
the utility functions in a new project, I create a new R file (e.g main.R)
in which I