Displaying 20 results from an estimated 30000 matches similar to: "RFC: Loading packages at startup"
2002 Oct 22
3
Loading packages at startup
> 4) One problem with saving an R session and then restoring it is that
> the packages in use are not reloaded. Quitting an R session and
> saving could write .Rpackages in the current directory (with the
> library recorded if it were not the default). Then restarting a
> session in that directory would restore the loaded packages
> automatically.
I've been
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:
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
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
2015 Jul 28
2
Installing/updating packages on a lab network
I'm the faculty member in my department who advises our IT staff on the
details of installing R for
students and faculty on our Windows 7 lab network. We are about to
upgrade from R 3.1.1 to
R 3.2.1, and once that is done, this version of R and all installed
packages will be frozen in the
image that appears in C:/Program Files/R/R-3.2.1/ on every lab computer,
and this image is
refreshed
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
2015 Jul 29
1
Installing/updating packages on a lab network
On 7/28/2015 1:32 PM, Uwe Ligges wrote:
> Just add the line
>
> R_LIBS_SITE=F:/R/library
>
> to the file R_HOME/etc/x64/Renviron.site
Thanks, Uwe
I have no way to test this and our IT people who do the installation
know nothing of R, so follow-up questions:
* There is no R_HOME/etc/x64/Renviron.site file, but there is a
R_HOME/etc/Rprofile.site I can modify and
ask them to
2011 Mar 04
1
Environment variable PATH in Windows
Colleagues,
I am trying to understand how R (2.12.1) obtains the PATH environment variable in Windows (7 or Vista). Startup {base} directs one to:
"R_ENVIRON" -- which equals "" in my systems
R_HOME/etc/Renviron.site -- which does not exist
Next, it directs to:
R_HOME/etc/Rprofile.site -- which also does not exist (the expected behavior in a "factory-fresh"
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
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?
2001 Feb 06
3
RWin 1.2.1: Can't access sample datasets, e.g. MASS
I'm pretty sure I'll feel like [more of] an idiot but...
Using Rgui working in a fresh, blank directory.
> require(MASS)
Loading required package: MASS
[1] TRUE
> data(cabbages)
Warning message:
======> Data set `cabbages' not found in: data(cabbages) <=====
> ls()
[1] "last.warning"
> search()
[1] ".GlobalEnv" "package:MASS"
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
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.
2002 Oct 16
1
Documentation for .Renviron (PR#2175)
Hi everyone,
Two minor points about ?.Renviron.
1) If R_ENVIRON is not set then R defaults to `${R_HOME}/etc/Renviron',
not `${R_HOME}/etc/Renviron.site' as stated.
2) In the details, there is a missing "way" in "`value' is processed
in a similar to a Unix shell."
Cheers, Jonathan.
--please do not edit the information below--
Version:
platform =
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
2003 Apr 22
1
R 1.7.0: Startup error: Error in "class<-"(*tmp*, value = Class) : couldn't find function "objWithClass"
Dear R-List member,
I have installed the new version of R on my PC (see system details below). I
can start the RGui with http_proxy succesfully. However, I do encounter two
problems:
1)
After starting the Rgui the following error message is displayed (vertical
dots represent omissions of output):
R : Copyright 2003, The R Development Core Team
Version 1.7.0 (2003-04-16)
.
.
.
.
Error in
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
Full_Name: Murray Stokely
Version: 2.10.1
OS: Linux
Submission from: (NULL) (216.239.45.4)
The Defn.h header includes limits.h for PATH_MAX and then checks if it hasn't
been defined and if not sets something manually. Some of the R code uses
PATH_MAX but a lot of other functions in unix/sys-unix.c and main/startup.c just
hardcodes a limit of 256 characters.
In my environment this is not
2013 May 18
2
R CMD config for R >= 3.0.1
Dear all,
When installing the usual packages that I use, after installing R
3.0.1, I noticed that the installation of some packages that query R about
its configuration did not succeed. The problem is exemplified by:
berwin at bossiaea:~$ R-3.0.1 CMD config CC
/opt/R/R-3.0.1/lib/R/bin/config: 222: .: Can't open /opt/R/R-3.0.1/lib/R/etc/Renviron
Prior to R 3.0.1 such commands worked fine:
2007 Nov 12
2
separate window for help/newbie
hi,
is there a way to make r open the help file in a separate window?
i'm quite new to linux(kubuntu) and used to work with r under windows...
thanks,
katharina