Displaying 20 results from an estimated 10000 matches similar to: "Rprofile.site and check/build (PR#2872)"
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
2019 Sep 08
1
Error: package or namespace load failed for ‘utils
Also, check the settings of R_HOME and/or R_LIBS.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Sun, Sep 8, 2019 at 9:58 AM William Dunlap <wdunlap at tibco.com> wrote:
> Look at section 6.1 of the R Installation and Admin manual.
>
> 6.1 Default packages
>
> The set of packages loaded on startup is by default
>
> > getOption("defaultPackages")
> [1]
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
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
2003 Mar 18
3
Package installation when $RHOME is not writable (win)
I'm using R in a student lab with machines running win XP. $RHOME is not
writable by the students. How do I set this up so that they can install
packages?
Thanks,
Robert.
----
Robert King, Statistics, School of Mathematical & Physical Sciences,
University of Newcastle, Australia
Room V133 ph +61 2 4921 5548
Robert.King at newcastle.edu.au
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
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:
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
2009 Jul 28
1
R --vannilla for install/remove/shlib(Re: R 2.8->2.9 change that breaks some upgrade scenarios)
This is the change I suggested earlier - it should just disable more of user/site customization during package installation/removal, and getting more of R 2.8-like behavior back. Attached and inlined below.
Against svn r48897 (svn HEAD AFAIK).
--------------------------------------------------
diff --git a/src/scripts/INSTALL b/src/scripts/INSTALL
index 42470c2...4c7bae9 100755
---
2008 Jul 14
2
.First and .Rprofile won't run on startup
I'm trying to source a file automatically every time I start R. I tried
adding the following .First function in a file Rprofile.site in my
$R_HOME/etc/ directory (verified $R_HOME by Sys.getenv()) as well as in a
file .Rprofile in my $HOME directory and .Rprofile in the working directory:
.First <- function(){
source(file.path(Sys.getenv("HOME"), "R",
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?
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]]
2001 Sep 27
1
library() and lib.loc
library() takes lib.loc as the third argument. Where is this set? I am
modifying the default library search path and everything seems to be
ok except for this (I want R_HOME/lib/library rather than
R_HOME/library).
--
albert chin (china at thewrittenword.com)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
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 May 03
0
Rprofile.site in R 2.15.0 on Windows?
Hello:
I have so far failed to get Rprofile.site to be processed in R
2.15.0 under Windows 7 as I remember having done it in previous version
of R. For example, I've included "options(max.print=222)" in
"R_HOME/etc/Rprofile.site" (with and without the environmental variable
R_HOME set to the install directory of R 2.15.0 in advanced system
settings): When I
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
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
2007 Oct 29
2
a package depending on other packages does not pass checking on windows
Dear developers,
I am writing a package that depends on some other packages. The
dependencies are stated in the `description' file under "Depends". They
are installed in my private library, which is pointed to by setting
R_LIBS in .Renviron, and are available if R is started normally.
However, when I try to `R CMD check' my package, R complains about the
dependencies being not
2019 Sep 08
6
Error: package or namespace load failed for ‘utils
Hi,
When starting an embedded R I encounter the following issue under certain
conditions:
```
Error: package or namespace load failed for ?utils? in if (.identC(class1,
class2) || .identC(class2, "ANY")) TRUE else {:
missing value where TRUE/FALSE needed
```
(more such errors for grDevices, graphics, and stats)
And in the end:
```
Warning messages:
1: package ?utils? in
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.