Displaying 1 result from an estimated 1 matches for "bolivia1".
Did you mean:
bolivia
1999 Jul 15
0
attaching directories in R?
Hi!
I'm trying to use R. In S+ I use to have different projects
in different directories. To make
the functions and other objects
from a directory available
and to use that directory as default,
I just do:
attach(directory, pos = 1)
where directory is, for example,
"/home/alobo/S/bolivia1"
Acutually, I have a simpe function
(work) to do this:
> work
function(directorio)
{
if(any(search() == directorio))
detach(what = directorio)
attach(directorio, pos = 1)
options(prompt = paste("Splus/", paste(directorio, ">", sep = ""),
sep = &qu...