similar to: automatic cleaning of workspace

Displaying 20 results from an estimated 20000 matches similar to: "automatic cleaning of workspace"

2008 Aug 07
3
how to save an R object selectively?
Hi, How to save an R object for example a matrix or vector and not all objects created in a session (which is usually performed by save.image or q("yes"))? Best, Carol [[alternative HTML version deleted]]
2007 Oct 30
1
postscript(), used from a pre R-2.6.0 workspace
I find that if start R-2.6.0 in a workspace with no .RData file, load one of my workspaces from R-2.5.1 or earlier into R-2.6.0, and then before doing anything else type postscript(file="z.ps"), I get:: > ls() character(0) > load(url("http://www.maths.anu.edu.au/~johnm/r/test5.RData")) > postscript(file="z.ps") Error in postscript(file = "z.ps")
2007 May 16
2
'attach workspace' on R console File menu
Quite often I save misc functions and data objects as .RData files that I can use in other sessions. Although I could 'Load Workspace" these files, most of the times I prefer attaching them. It would be really convenient to have a menu item under the File menu on the Windows R Console to allow attaching workspaces, e.g. -------------------- Attach Workspace... Load Workspace... Save
2001 May 10
4
Passing a workspace file as argument
What is the best way (if possible) to pass the name of a workspace file to R when it starts so it is loaded instead of .RData ? I would like to know this for Linux and windows version. For windows I would like to associate the .RData extension so doubleclicking the file starts R and loads it. Thanks -- Victor Moreno V.Moreno at ico.scs.es Servei
2010 May 31
3
How to delete the previously saved workspace restored
Dear all, I am a new user of R, here I have a question about remove the previous restored workspace. I saved the workspace last time, but R always automatically load the workspace when I open it. I try to remove the object and then close R without saving. But next time when I open R, it always load the previous workspace. I want to delete the .RData in the directory, but I have no clue
2002 Dec 18
3
workspace vs. image
Hello [R]ians, I'm hoping someone can clarify the difference between a Workspace Image and Working Directory. I created a directory on my PC, say, "C:\Program Files\R\Project1" and then saved my objects in "C:\Program Files\R\Project1\.Rdata". Then, in a subsequent session, I reloaded these objects using > load("C:/Program Files/R/Project1/.RData") At
2010 Mar 09
4
Transfer R workspace on another PC
Hi list! I have recently tried to take my office work home, meaning that I tried to transfer my "... .RData" workspace from my PC on my laptop. The office PC runs on Windows XP and my laptop runs on Windows Vista. I have saved the workspace at the office PC and kept it in a usb drive. When I tried to open it on my laptop I got an error: "Fatal Error: Unable to restore saved data in
2013 Mar 31
1
Storage of automatically loaded workspace and command files
When I close R and answer yes to save workspace, R automatically loads it and apparently also the command history at start up. I would like to know where R stores this information. I know that I can save .RData and .Rhistory files, but I would like to know how(where) R stores this information automatically. I have not found any .RData or .Rhistory files associated with start up. I am running
2010 Nov 14
3
How to permanently remove [Previously saved workspace restored]
Win 7 64 bit R version 2.11.1 (2010-05-31) How to permanently remove; [Previously saved workspace restored] > rm (list = ls( )) On next start it still displays; ..... [Previously saved workspace restored] There is a file keeping the previous data on Linux .Rdata How about on Windows? TIA B.R. Stephen L
2011 Sep 08
3
Can't load workspaces
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
2012 Jul 23
2
Workspace Question.
I recently installed R version 2.14.1. After a session (not my first) in 2.14.1, I saved the 'workspace image'. I then opened earlier R versions, 2.14.0 & 2.12.0, and the only objects listed were from the 2.14.1 session. All the work under those previous versions were gone, to my dismay. This did not happen when I was working in 2.14.0, as 2.12.0 objects were not affected when
2007 Jul 11
2
Previously saved workspace restored
hi there, i an beginner of R. some one have sent me a file (extension is .Rdata). i have installed R in my computer and i just double clicked the data. then it automatically opened R programme and displayed that [previously saved workspace restored]. the following message was displayed. Type 'demo()' for some demos, 'help()' for on-line help, or'help.start()' for an
2009 Jun 05
2
Show location of workspace image on quit?
When I quit R, it says: > q() Save workspace image? [y/n/c]: and since I've probably got 3 R sessions running in however many different directories and I might have jumped around with setwd() , I forget exactly where R wants to save its workspace image. So could q() be changed to say what file it is going to save to before it does? Currently I have to hit 'c', then do
2005 Mar 08
5
removing message: [Previously saved workspace restored]
Dear All, I saved by mistake the environment I was working in after typing q(), and now I get the annoying message: [Previously saved workspace restored] I have already deleted all the objects in the environment, saving it as an empty environment, so it's just a matter of nitpicking I suppose. The message does not appear if I start R from any other place in the directory tree. I am
2007 Aug 22
6
Synchronzing workspaces
How do people go about synchronizing multiple workspaces on different workstations? I tend to wind up with projects spread around the various machines I work on. I find that placing the directories on a server and reading them remotely tends to slow things down. thanks, Eric -- Eric Turkheimer, PhD Department of Psychology University of Virginia PO Box 400400 Charlottesville, VA 22904-4400
2013 Apr 12
3
Error loading workspaces after upgrade
An embedded and charset-unspecified text was scrubbed... Name: nem el?rhet? URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130412/f2e12b77/attachment.pl>
2007 Jun 15
2
Problem with workspace loading after languageR use
Hello R, To analyze multi-level data, I started learning and using lmer. So far so wonderful. I then found some useful functions in package languageR. But then the following problem ocurred: Whenever I load and use the languageR package, then save the workspace - or quit R with saving the workspace - I am unable to reload that workspace in a later session. That is, R doesn't start at all
2007 Feb 12
1
'Save Workspace' gives "recursive default argument reference" -- workaround?
When signing off R or trying to save a workspace in Windows XP pro SP2, I receive the following error message - save.image("C:\\Program Files\\R\\R-2.4.1\\Responses3.RData") Error in save.image("C:\\Program Files\\R\\R-2.4.1\\Responses3.RData") : recursive default argument reference Everything else seems to work fine, and the only function I have written
2011 Sep 14
4
I cannot load my workspace in R
I was trying to open up the workspace that you help me write last night, but for some reasons, when I tried to load the saved file R reads "load("C:\\Users\\Documents\\Statistical Learning\\HW1 #3 hint") and then it basically just stopped. I changed the file to a .Rdata file but the problem still persist, any ideas how to fix this? Thank you. -- View this message in context:
2007 Apr 24
4
Size of an object in workspace
Hi folks, Is there a function to show the size of an R object? eg. in Kbytes? Couple months ago Bendix Carstensen posted this marvelous little function lls(), which shows all objects in the current workspace by mode, class and 'size'. This is a wonderful enhancement to the build-in ls() already and I now have it sourced in my Rprofile.site at startup. The only drawback is,