Displaying 20 results from an estimated 2000 matches similar to: ".Rhistory in R.app"
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
2000 Jun 29
3
Overal plot title after mfrow and .Rhistory questions.
Hello everyone,
I had 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
2006 Mar 16
1
autoloading .RData files / .Rhistory file
NOTE: WinXP, R2.2.0
All,
a while back I posted a question about using relative filereferencing.
The responses have allowed me to successfully set up the following
directory structure:
...\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
2003 Jun 12
3
defaults in R: packages, .Rhistory
With the current version (rw1070), every time I start R it loads a whole
bunch of packages, many of which I do not need in a typical session:
> search()
[1] ".GlobalEnv" "package:methods" "package:ctest" "package:mva"
[5] "package:modreg" "package:nls" "package:ts" "Autoloads"
[9]
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 begin a session, but I
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?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
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?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list --
2012 Aug 27
1
Hidden files in source packages
R-devel has been warning for some time about hidden files (in the Unix
sense, starting with a period) in source packages. We could get R CMD
build and the CRAN incoming scripts to remove these *if* we knew that
they were never needed.
It seems clear that
.Rapp.history
.Rhistory
.Rbuildindex.xxxxx
inst/doc/.build.timestamp
are R leftovers,
._.DS_store
is from an Apple filesystem and
.tex
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
2011 Sep 14
2
Difficulty with saving .Rhistory
Current systems
??? OS: RedHat SE Linux 5.7, fully patched
??? R: R-2.13.1
I am a new R user.
The R installation needs to be very tight because I plan to use it after I am employed on Internet facing systems to analyse 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
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
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>
2008 Oct 21
1
SPSS to R conversion "error in iconv..."
Dear R users,
I am trying to get R to read an .sav data file generated in SPSS 17
for Mac. Here is the command and the error message:
> data = read.spss('/Users/userdir/Desktop/filename.sav')
Error in iconv(names(rval), cp, "") : unsupported conversion
In addition: Warning message:
In read.spss("/Users/userdir/Desktop/filename.sav") :
2012 Feb 23
1
help - history()
Hi Members,
Do exist the possibility to delete a command line into the history?
Fo example. If I' ve typed a line code that is wrong, Can I delete it from
the hostory in reason to do not save it in the .Rhistory file?
Thanks for helping,
Gian
[[alternative HTML version deleted]]
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
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
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
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
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