Hi, you seem to have mixed 2 different things: 1) changing a working directory - see ?setwd, ?getwd However, this will NOT load another .Rdata file.
2) loading data - see ?load and ?save, ?save.image - loading new data image will erase all currently stored objects. Petr Walter Paczkowski napsal(a): > Good morning, > > I keep copies my .RData file in different directories for different projects > on Windows XP. There is an icon on my desktop for each project so all I have > to do is click on the icon to open R for a specific project, i.e. a specific > .RData file. How do I change to another .RData file from within R without > first closing R? > > Thanks, > > Walt Paczkowski > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Petr Klasterecky Dept. of Probability and Statistics Charles University in Prague Czech Republic ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
