Displaying 20 results from an estimated 8000 matches similar to: "Mac GUI and .Renviron"
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
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
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
2009 Dec 09
3
.Rhistory in R.app
Dear R users,
I am having a minor but annoying issue with R.app. It doesn't retain
the history information from the previous sessions. By "history," I
mean a record of commands/functions entered into R rather than the
list of objects--that is properly recorded in the .Rdata file as well
as in a workspace file I save separately.
System details:
R version 2.9.0
R.app GUI 1.28
Mac OS
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
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 --
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")))
}
}
2002 Oct 21
1
savehistory directories and quitting R (PR#2038)
Thanks-- as Duncan Murdoch also noted, R_HISTFILE can be used to solve my
problem, as below. BTW it's not easy to find out about R_HISTFILE in the
help system or manuals, though, unless you already know it exists-- it only
seems to be described under startup options, not things to do with history.
However, Duncan's reply did hint at an inconsistency, in that savehistory()
defaults to
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
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
2003 May 14
1
savehistory not working properly in R?
Dear R users,
I have a .RData which contains .Last object as follows:
.Last <- function ()
{
savehistory(file = ".Rhistory")
}
In this directory, if I issue the following command
Rterm --save < mycmds.q
to execute commands in mycmds.q and to save results in .RData,
I got the following error message towards the end of the execution:
Error in savehistory(file) :
2004 Feb 03
2
Prompt / Console problem
Hi,
I have R installed under a Mandrake linux system and I don't have shell
utilities any more under my R console such as completion when writing a
file path, back and forth in the history, bindkeys... Moreover when I
quit R by saving, no .Rhistory file is created while the .Rdata is. I
don't get how this work, I thought it was based on the user unix shell
but it does not seem.
Any
2020 Oct 26
4
securing R code....
dear members,
I am a stock trader. I am using R for my research.
I want to service my laptop, wherein resides all my R code, which, for obvious reasons, has to be secured. I am using Windows 7 Ultimate.
I cannot encrypt the R data by Bitdefender, as it encrypts the entire drive. I anyway need to give the key when the system, if at all, gets locked when servicing.
My
2006 Feb 06
1
Error in fun(...) : couldn't find function "assignInNamespace"
I started my laptop, opened a shell and get this error message:
R : Copyright 2005, The R Foundation for Statistical Computing
Version 2.2.1 (2005-12-20 r36812)
ISBN 3-900051-07-0
lines deleted
Error in fun(...) : couldn't find function "assignInNamespace"
Error: .onLoad failed in 'loadNamespace' for 'Matrix'
Fatal error: unable to restore saved data in .RData
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]
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>
1999 Jun 14
1
readline/history size (PR#211)
Full_Name: Russell Senior
Version: 0.64.0
OS: linux-2.2.x
Submission from: (NULL) (198.107.133.11)
It appears that the GNU readline history size is limited to 50 entries. This
is apparently occurring because R is not bothering to override the readline
default value (from readline-4.0):
./history.c:59:#define DEFAULT_HISTORY_GROW_SIZE 50
It appears that it ought to be possible to override
1999 Aug 26
1
moving R objects
Another question:
Is it possible to move R objects from one directory to another
without copying the whole .RData and .Rhistory files?
(I'm running under Linux)
Thanks
Karen Kotschy
Centre for Water in the Environment
University of the Witwatersrand
Johannesburg
Tel: 011 716-2218
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read