search for: rhistory

Displaying 20 results from an estimated 95 matches for "rhistory".

Did you mean: history
2004 Jul 28
2
problem with the .Rhistory
Hello, The history function doesn't seems to work when I am working with R. I have a .Rhistory file in my working directory and I have tried savehistory(file = ".Rhistory") or the command given in the history help : .Last <- function() if(interactive()) try(savehistory(".Rhistory")) and I get the same error message Error in savehi...
2009 Dec 09
3
.Rhistory in R.app
...e done: R>Preferences>Startup>History: Read history file on startup is checked; R history file directory is specified with a path to my preferred directory (~/Documents/...). I've tried it with the default setting, too--it makes no difference. I've checked the permissions on the .Rhistory file. The default .Rhistory file created by R has the permissions set at -rw-r--r--. I've moved the .Rhistory file to a different location (Desktop), so that R would create a new one. Makes no difference--command history is still empty at startup. R has kept track of history on my system in t...
2000 Jun 29
3
Overal plot title after mfrow and .Rhistory questions.
...a few questions that I have not been able to figure out despite a lot of reading. 1) Adding a title to a multiplot figure: If I plot multiple plots with >par(mfrow=c(2,6)) how do I add an overall title to the figure, not the individual plots? 2) Saving histories on the fly: Is there a .Rhistory equivalent to >save.image() ? I would like to be able to save the .RData and .Rhistory files and move to another machine. Right now I have to quit R which looses the plots I am working on. 3) Setting the size .Rhistory: What is the maximum size of .Rhistory and where is it set? Thanks in...
1999 Feb 23
2
rw0632 makes stray .Rhistory orphans
If you start Rterm/Rgui from the cmd (NT4.4) command line, the .Rhistory and .RData files are created/used in the current directory. I think, R should honor HOME or even the USERPROFILE variable. Regards Karl PS: is this the correct list for such reports or would it be better to use r-devel? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
1999 Feb 23
2
rw0632 makes stray .Rhistory orphans
If you start Rterm/Rgui from the cmd (NT4.4) command line, the .Rhistory and .RData files are created/used in the current directory. I think, R should honor HOME or even the USERPROFILE variable. Regards Karl PS: is this the correct list for such reports or would it be better to use r-devel? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2006 Mar 16
1
autoloading .RData files / .Rhistory file
......\data\raw ...\data\derived ...\prog ...\lst ...\log In the \prog directory I have put an RGui.exe shortcut and "pointed it" at \prog as the "Start In" location. In the same directory I have created .Rprofile and .Renviron per the rw-FAQ. In \log I have created .Rhistory. .Renviron sets up several directory references that allow me to "point" R at the \lst, \log, \data\derived, and \data\raw directories without using full pathnames. My three questions: (1) Is it possible to have R use \data\derived as its default data storage location? (2) R...
2003 Jun 12
3
defaults in R: packages, .Rhistory
...me default? > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1 minor 7.0 year 2003 month 04 day 16 language R A separate question also related to defaults: Is there a way to get R to refrain from truncating the .Rhistory file (removing the earliest saved commands), so that .Rhistory might serve as a permanent record of every command issued? Thanks for any info Jake
2002 Sep 19
3
savehistory directories and quitting R (PR#2038)
# # r-bugs@r-project.org # ###################################################### Because I work in different directories, but always want to save my .Rhistory in the same place, I have changed the system function savehistory to this: function (file = "D:/R50/.Rhistory") invisible(.Internal(savehistory(file))) When I use q() to quit R, and it asks me whether I want to "save current workspace", a response of YES means that the .Rhist...
2003 Nov 20
1
Hidden Rhistory files
Hi all, I've ecountered a problem in the last few days with my .Rhistory file not being able to be updated when I quit an R session because its file attributes under Windows have been set as "Hidden". Recently, I put the following line in my global Rprofile file:- history(max.show=Inf) so that I automatically open the entire history file for a project when I...
2009 Dec 25
0
problem with .Rhistory
Dear R People: I just updated to R-2.10.1 on an Ubuntu Karmic Koala and am getting the following with saving .Rhistory erin at erin-desktop:~$ R R version 2.10.1 (2009-12-14) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence...
2010 Apr 11
2
".Rhistory in Mac OS X"
Dear R'ers, I use R version 2.10.1 (2009-12-14) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 and Mac OS X 10.5.8 and use to work in different dierectories. When doing so it appears as if the .Rhistory file from my home directory always is loaded even when I want the file from the directory where I'm working. I have tried to fix it through preferences under R but ... How should this be tweeked? Fredrik ######################## Fredrik Lundgren fredrik.bg.lundgren at gmail.com Engelbrektsg...
2001 Sep 08
1
.Rhistory
It seems that when I choose not to save the workspace, R then chooses not to update the command history saved in the file .Rhistory. I can see a rationale for this, but I find it annoying; I might well want to be able to get at previous commands, even if I don't want to keep the objects created by these commands. Is there anyway of changing this behaviour --- i.e. to get R to save the commands but not the workspace?...
2011 Jan 20
1
Question on RData and Rhistory extentions
Hi, It seems simple but I could not find the solution on the R site. I can't save properly ".RData" and ".Rhistory" in Windows 7 folders. I get files with no extension. Thanks in advance for your help. JP Jean-Philippe Puyravaud 9A Frederic Osanam Street Colas Nagar Puducherry 605001 E-mail: <mailto:jp.puyravaud@gmail.com> jp.puyravaud@gmail.com Phone: 91-413-23 53 944 Mobil...
2012 Jan 12
3
remoting ESS/R with tramp
...e minibuffer: >>> > ESS [S(R): R (newest)] starting data directory? /scpc:t:/home/me/ >>> If I accept that (i.e., hit Enter) I get >>> *Messages* >>> > Type C-h m for help on ESS version 5.14 >>> > Cannot read history file /scpc:t:/home/me/.Rhistory >>> > Tramp: Opening connection for t using scpc... >>> > >>> > Opening connection for t using scpc... \ >>> > Tramp: Opening connection for t using scpc...done >>> > trying to (re)start process R for language S ... >>> followe...
2011 Sep 14
2
Difficulty with saving .Rhistory
...se firewall and filesystem log data.? Everything to my knowledge regarding R installed correctly.? I saw no warnings until saving THE WORKSPACE. NON-ROOT OUTPUT CURRENTLY YIELDS THE FOLLOWING ERROR > q() Save workspace image? [y/n/c]: y Warning message: problem in saving the history file '.Rhistory' [Object at localhost R]$ The sitrep... ------------------------------------------------------------------------------ INITIAL NON-ROOT OUTPUT WAS THE FOLLOWING > q() Save workspace image? [y/n/c]: y Error in gzfile(file, "wb") : cannot open the connection In addition: Warning...
2013 Feb 07
1
Saving history across sessions
I have an environment variable `$R_HISTFILE` pointing to `/home/my.username/.RHistory` and the following code in my `.Rprofile` in my home directory: .Last <- function() { if (!any(commandArgs()=='--no-readline') && interactive()){ require(utils) try(savehistory(Sys.getenv("R_HISTFILE")))...
2000 Jun 19
1
Up-arrow on rw1010
A quick summary. The reported problem appears to be with (some) previous histories. If you find that neither up arrow nor ctrl-P work in the Rgui console, please delete .Rhistory and try again. We don't know the exact cause, and nothing I can think of can reproduce this. I have no problem taking histories made with rw1001 and reading them in rw1010 and vice versa. If the .Rhistory is really important, you could try reading it into an editor and adding a couple of blan...
2013 Mar 31
1
Where does R store workspace and commands that load on startup
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 2.15.3 on Ubuntu operating system on PC (Zorin). If there is a difference between Windows and Debian, I will also ask the Debian...
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 2.15.3 on Ubuntu operating system on PC (Zorin) via GUI JGR. Thank you, Roy Robertson [[alternative HTML version deleted]...
2007 Oct 05
3
Mac GUI and .Renviron
...and then in Finder I doubleclick temp.RData. Then an R GUI session opens up. But this approach has the following limitations. (a) .First function has not been run. I must manually type .First() at the R prompt. (b) The commands I type at the R prompt do not go into history.txt. (c) A brand new .Rhistory file is created, clobbering any previously existing .Rhistory file. (d) The commands I type at the R prompt do not go into .Rhistory. That is, after I quit R with the option "save workspace image", the brand new .Rhistory file in my directory does not contain the commands I typed. Is R...