Displaying 20 results from an estimated 7000 matches similar to: ".First and .Rprofile won't run on startup"
2001 Nov 28
1
Rprofile etc in Linux
Hi!
I do not have an Rprofile file in $R_HOME/etc, but I do have one
in $R_HOME/library/base/R. I thought I could include a .First()
function in a new $R_HOME/etc/Rprofile file for attaching a couple
files which have custom "always needed" functions. But
would the new $R_HOME/etc/Rprofile create a conflict with
$R_HOME/library/base/R/Rprofile (in particular because the later
also has a
2009 Jul 21
1
Customization options with .Renviron, R_LIBS, .Rprofile etc
Hi,
I am interested in customizing the installation of R. I have
gone through the ?R Installation and Administration? manual. But some
of the stuff is not clear to me and I would like to get clarifications
on the following points (for a Windows installation with
R_HOME=C:\\R\\R-2.9.1 ) :
1. I understand that I need to create a
file, .Renviron with the following path : R_HOME\\etc\\.Renviron where
2012 May 04
1
Rprofile.site under Windows 7?
Hello All:
I'm still unable to get Rprofile.site to set, e.g.,
options(max.print=222), as I did with previous versions of R.
I just found similar questions posed by Trevor Miles and Ross Bowden
with replies by Uwe Ligges and Duncan Murdoch.
In addition to the things I tried documented below, I also copied
Rprofile.site into "R_HOME/etc/i386" and
2002 Jul 12
1
.Rprofile on MacOSX
I'm new to R, so apologies if the answer to my question is very obvious to
everyone else!
I use the carbon version of R (1.5.1), not the Darwin version. After a bit
of a battle, I'm getting to grips with using R, and really getting to like
it, but I'm still having trouble customising startup the way I'd like it.
Reading ?Startup, I see that I can specify some commands to be run
2014 Aug 11
1
Renviron.site and Rprofile.site in Fedora
On Debian/Ubuntu, system wide environment variables and options are
set in respectively /etc/R/Renviron.site and /etc/R/Rprofile.site.
These files are automatically created when r-base is installed, and do
not get overwritten during an upgrade.
On Fedora, there is no /etc/R directory. What is the recommended place
to define system wide environment variables and options on a Fedora
system?
2005 Sep 16
1
Rprofile not executed in R 2.2.0 alpha for Windows
Dear list members (esp. Duncan),
I've run into the following curious problem with Version 2.2.0 alpha for
Windows: Options in the Profile file in R's etc directory don't appear to be
set. (I habitually uncomment options(chmhelp=TRUE), to no effect in this
case.) As far as I can see, the only thing non-standard about my
installation is that I put R 2.2.0 alpha under c:\R rather than
2012 Mar 01
1
Execution of Rprofile.site
Hi everyone. I have recently installed R 2.14.1 on my 64-bit Windows 7
laptop. I am attempting to include some favourite functions in the
Rprofile.site file to run at R start-up as I did with my previous 32-bit
XP machine. I have edited the Rprofile.site file in "C:\Program
Files\R\R-2.14.1\etc\" but the added code doesn't seem to be executed
when I run R, whether through Tinn-R
2013 Oct 03
1
When to use RProfile.site or .Rprofile
I would appreciate some advice on what the preferred contents of RProfile.site vs. .Rprofile should be. A .First() function can reside in either one, but is it preferred to place it in .Rprofile? I currently use .First() in .Rprofile files placed in separate directories used for different RStudio projects.
Thank you
[[alternative HTML version deleted]]
2005 Jan 31
2
Startup Files (RProfile) and R-Aqua
Hello,
I'm having some difficulty understanding the documentation relative to
the startup files with R-Aqua 2.0.1 for Mac OS X.
Specifically, I'm wondering: where does R search for the startup files
(my home directory at Users:<me>:?); how should they be named
(.RProfile will be treated by Mac OS X as a system file and be hidden,
so I'm wondering if it should just be
2003 Jan 13
1
Rprofile.site assignments occur in base package (PR#2448)
Not sure whether this is a feature or bug -- but it does not appear to be
documented.
R1.6.1 on Windows NT 4.00.1381
Objects assigned in the Rprofile.site file (e.g. foo<-'something') are put
into package:base not .GlobalEnv on startup. Objects assigned in the
.Rprofile file are put into .GlobalEnv. This doesn't seem consistent to me.
The objects exist in base only for the
2012 Apr 13
1
Rprofile.site?
Hello:
I've been using "Rprofile.site" for several years to set the
repos environment variable as follows:
options(repos=c(CRAN='http://cran.cnr.berkeley.edu',
CRANextra='http://www.stats.ox.ac.uk/pub/RWin') )
However, R 2.15.0 is not recognizing this. Instead, I get the
following:
options('repos')
$repos
2003 Apr 29
1
Rprofile.site and check/build (PR#2872)
Hi,
Apparently R-1.7.0 (and possibly earlier versions too) do
not care much about what is in $R_HOME/etc/Rprofile.site
when calling 'R CMD check' or 'R CMD build'. This
is annoying when having libraries (packages) in alternative locations.
Cheers,
Laurent
2008 Jul 30
1
setting editor environment variable EDITOR either when configuring R for installation or in .Rprofile
I'm running R on Linux and use emacs as my editor. When doing
"edit(vignette(foo.vignette))" I would like to invoke emacs rather than the
default vi. I am able to manually set this by editing $R_HOME/etc/Renviron
but would like to avoid doing this with each install. I assume this can be
accomplished with a flag to .configure or in .Rprofile but I can't find the
syntax in R-admin.
2006 Aug 30
10
.Rprofile under Windoze.
I am (for my sins) having to do some work using R under Windoze. I
wanted to set up a .Rprofile to control my set-up. The docs on
.Rprofile say that it can/should be placed in ``the user's home
directory''. ``An Introduction to R'' observes lucidly that this
concept needs to be clarified under Windoze.
Following the suggestions in An Introduction to R, I tried
putting a
2005 Jan 05
1
Using the Rprofile file to automatically plot data on Startup of R version 2.0.1.
Dear R Help Members,
I have some R functions that plot semiconductor data. I would like to
automate these plots for individuals in our group such that they don't
have to know R. I have read the R help manuals and postings but have
not found this problem.
I am using R version 2.0.1 under a Windows 2000 operating system.
The following is a simplified version of what I am tring to do:
If
2002 Oct 17
1
Startup on Windows 2000
I am having difficulty coming to grips with Appendix B.2 of the
otherwise very useful "An Introduction to R" and the related help file
for Startup. I am running RGui 1.6.0 on a Windows 2000 machine from the
default installation. How the concepts discussed in B.2 and the Startup
help file relate to what I see on my machine is something of a mystery.
I quote from the Startup file:
1999 Sep 24
2
R's startup : .Rprofile & .Renviron -- info and RFC
[RFC = Request for Comments]
{ Yes, the documentation for .Renviron is really not there (but the FAQ...);
the rest is in ?Startup }
In R's Startup (on Unix only??) {unless --no-environ is specified}
~/.Renviron (if there) is read as an 'sh' script before R is called,
then R looks ((for the site-wide Rprofile and then))
for .Rprofile in the current directory and then for
2010 Feb 11
1
(linux) display messages in R startup screen
Dear guRus,
I'm maintaining central R installation (Linux) for our institute. The
startup screen of R traditionally echoes some messages (starting with "R
version ...Copyright (C).. The R Foundation for Statistical
Computing...") and I'd like to display for example right after these
messages some other messages about our specific setup, how to contact me
etc ...
What
2002 Oct 21
5
RFC: Loading packages at startup
I've been kicking the following idea around for a while, and am now
proposing to put some version into 1.7.0. I'd be interested in
comments on the desirability and the design, before I start writing
any code.
S4 introduced a file .S.chapters which can contain a list of S
chapters (equivalent to R packages) to be loaded on start-up. This
was the germ of this proposal.
Proposal:
Extend
2015 Aug 12
1
enableJIT in Rprofile leads to 'not a proper evaluation environment' on startup
A commenter on SO suggested that I copy my question to R-devel
http://stackoverflow.com/q/31972325/850781
I have had
--8<---------------cut here---------------start------------->8---
library(compiler)
compiler::enableJIT(3)
--8<---------------cut here---------------end--------------->8---
in ~/.Rprofile for years; now that I upgraded to 3.2.1 I get this on startup: