Hi Gene, Your cue to the profile was right. This line in my .Rprofile is the culprit: makeActiveBinding(".",function() .Last.value,env=.GlobalEnv)
It's unfortunate, because I really like that feature (typing . to get the value returned by the last executed command). Thanks Dominic > Are you doing something in your profile.site file or loading a package that > masks "load"? > It seems that you're deparsing (or parsing, I can never remember which is > which) the literal results of the load function. > > Does it work if you do this? > save(a, file='a.RData') On Thu, Sep 8, 2011 at 12:24 PM, Monsieur Do <nonaupourr...@yahoo.ca> wrote: I've seen a number of issues with the loading of workspaces discussed previously, but here's another one... I simply can't load any saved workspace at all... Here's an example, starting with an empty workspace and creating a single variable "a". > >> a<-1:5 >> save.image("a.Rdata") >> rm(a) >> load("a.Rdata") >Error in function () : unused argument(s) (quote(1:5)) > >Any clue? I'm using R 2.13.1 on WinXP. > >Thanks in advance > >Dominic [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org 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.