Displaying 20 results from an estimated 407 matches for "renviron".
Did you mean:
environ
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 in...
2002 Sep 11
1
.Renviron and Renviron.site (on Windows XP)
Hello,
Could someone please tell me why the following doesn't work:
I have a file C:\Program Files\R\rw1051\etc\Renviron.site, which
contains the line:
R_LIBS= "C:/Jim/LocalR-Libraries/FromCran";
"C:/Jim/LocalR-Libraries/Cantata"
>From the documentation, I gather that I have put this file in the
default location, but to be safe I also explicitly set the R_ENVIRON
environment variable. Now I...
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...
2015 Mar 30
2
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
Hi,
I have Debian Testing running on a Lenovo Thinkpad X1
Carbon (2015, 3rd gen.). I would like to have a package library
independent of the installed R version. Under Ubuntu, I used to
have the following line in ~/.Renviron:
R_LIBS=/usr/local/R/library:/usr/lib/R/site-library This worked
fine and /usr/local/R/library showed up in .libPaths().
However, under Debian (with the same ~/.Renviron), my .libPaths()
just shows "/usr/local/R/R-3.1.3-build/library" which is the
version-dependent library (this used to...
2020 Sep 03
2
Rgui never processes ~/.Renviron
ISSUE:
It looks like Rgui.exe never processes ~/.Renviron - only ./.Renviron.
REPRODUCIBLE EXAMPLE:
On Windows, create the following ~/.Renviron and ~/.Rprofile files:
C:\Users\alice> Rscript -e "cat('FOO=123\n', file='~/.Renviron')"
C:\Users\alice> Rscript -e "cat('print(Sys.getenv(\'FOO\'))',
file=&...
2015 Mar 30
2
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
...ESSAGES=en_CA.UTF-8
[7] LC_PAPER=en_CA.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_CA.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Interestingly, under Ubuntu, I find /etc/R/Renviron, under Debian, it
does not exist... hmmm... what's flawed in the above installation
process (?)
Cheers,
Marius
On Mon, Mar 30, 2015 at 7:39 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
>
> Hi Marius,
>
> On 30 March 2015 at 02:24, Marius Hofert wrote:
> | I have Debi...
2006 Oct 23
5
Poll: Does R_PAPERSIZE in /etc/R/Renviron matter?
...d my regexp didn't
notice.
Does anybody use this, or is it ok if I simply disable this in Debian? In
that case we simply do what everybody else does, so you all get to live by
the 'letter' setting that comes from my compile-time choice. It is easy
enough to override either in /etc/R/Renviron or in ~/.Renviron.
Opinions either way? Let me know. For now, I intend to simply comment this
out in the next release (presumably a rc for 2.4.1).
Thanks, Dirk
--
Hell, there are no rules here - we're trying to accomplish something.
-- Thom...
2009 Jul 21
1
Customization options with .Renviron, R_LIBS, .Rprofile etc
...e 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
a number of environmental variables can be set. I would first like to
know if the file to be created is Renviron or .Renviron. Both versions
are mentioned in the manual. By the way, many functions in R start with
a period. Is there any special...
2019 Jan 06
2
change default path for installing r-cran packages by sudo apt r-cran...?
dear dirk,
i am following up on our thread on r-help-mailinglist. you advised me to
bring it over here.
when installing packages from within R, they usually go to a directory
defined in R_LIBS_USER, which i have it set in .Renviron.
when installing packages via sudo apt install r-cran-.., they go to
/usr/lib/R/site-library.
is there a possibility to have packages installed to the R_LIBS-USER
directory by using the second possibility?
dirk, you pointed me to the comments in Renviron.site:
i tried to set R_LIBS_USER in Renvi...
2010 Jun 04
0
Renviron settings for Linux Distributions: please tell me R Core's advice
...and
have communicated with the package maintainer at RedHat Tom Callaway
(see far below).
Here is the question:
Where does R Core Team want packagers to fiddle around with R library paths?
Currently, the RPM Spec file used for EPEL's R (For
Fedora/Redhat/Centos,etc) adds a line in R_HOME/etc/Renviron like
this:
R_LIBS=${R_LIBS-'"'%{_libdir}/R/library:%{_datadir}/R/library'"'}'
Setting R_LIBS has some bad effects. It seems to block R_LIBS_USER, so
users who try to install packages are not invited to install them in
~/R/i386... as they are invited to do on Ubuntu....
2011 Nov 21
1
Setting hostname in the .Renvironment
This is a follow-up to a question I asked a few years back. We have a pair
of computers that share a common home directory (and therefor a common
.Renviron) with identical hardware, but very different sets of libraries
such that using a "shared" R_LIBS between two computers does not work.
They both use this as the default library for user installations:
'~/R/x86_64-pc-linux-gnu-library/2.13'
I would like to mod the .Renviron in su...
2009 Jan 25
2
.Renviron for multiple hardwares...
...b has a lot of different unix boxes, with different hardware, and
I'm assuming (perhaps wrongly) that by setting a per-user package
installation directory, the packages will only work on one type of
hardware. Our systems are all set up to share the same home directory
(and, thus, the same .Renviron file) -- so, is there a way to set, in
the .Renviron file, per-computer or per-hardware settings? The idea is
to have a different package installation directory for each computer
(e.g. "~/R/computer1/packages" and "~/R/computer2/packages".
Thoughts? Ideas? Thanks!
--j
-...
2002 Jan 24
2
Renviron and Rprofile
Regarding user's home and working directories,
is Rprofile just an old name of Renviron?
or (can) should we have both files with different type
of definitions?
(talking about R.1.4.0 in linux).
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
-.-.-.-.-.-.-....
2008 May 07
0
how to define .Renviron to work with different R-versions
...cript for printing arguments
cat > printargs.R << EOF
args = commandArgs()
print(args)
q()
EOF
To run this script, first I set PATH to ~/src/R-2.6.2 and execute >
R --no-save < printargs.R
I want to run this script with different R versions by defining an
.Renviron file in the same directory as printargs.R
cat > .Renviron << EOF
R_VERISON=R-2.7.0
R_HOME=~/src/${R_VERSION}
PATH=${R_HOME}/bin:${PATH}
R_LIBS=${R_HOME}/library
EOF
Now when I run > R --no-save < printargs.R, I get
Error in gzfile(file, "rb") : can...
1999 Dec 16
1
R-0.90.1 buglet in R shell (PR#375)
I recently took "." off my PATH for security reasons and now find
that R does not work in my home directory where the .Renviron
file resides.
The fix is simple. In the R shell startup section replace
". .Renviron" by ". ./.Renviron". The relevant section is:
# Startup
if ${USE_R_ENVIRON}; then # use the one in current dir, or default
if [ -r .Renviron ]
then . ./.Renviron # <<-- change...
2013 May 18
2
R CMD config for R >= 3.0.1
...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:
berwin at bossiaea:~$ R-3.0.0 CMD config CC
gcc -std=gnu99
I noticed now that my installations of the development and
patched version of R have the same problem (since I usually do not install
packages in those versions that query the configuration, I...
2003 Mar 15
2
Help.start, .Renviron , and .Rprofile
...ms.
1) When I use help.start() netscape comes up OK and all links are accessible except "Search Engine & Keywords" : search doesn't work and the keywords from base doesn't respond either. ?command within R gets netscape running and works OK.
2) I haven't been able to get Renviron.site, Rprofile.site, .Renviron, and .Rprofile to work and affect my sessions. To the best of my knowledge I have handled these files according to "Invoking R under Unix" in Rintro. .First within R works OK and this is the way I customize R at the present time.
Hopefully someone out there...
2013 Jan 16
1
R CMD check not reading R_LIBS from ~/.R/check.Renviron
Dear List,
Further to my earlier email, I note that, for me at least, R CMD check
is *not* reading R_LIBS from ~/.R/check.Renviron on R 2.15.2 patched
(r61228) and R Under Development (r61660). The only way I can get R CMD
check to look for packages in a user-supplied library is by explicitly
exporting R_LIBS set to the relevant directory.
R CMD build *does* read R_LIBS from ~/.R/build.Renviron for the same
versions of R on t...
2002 Sep 12
0
(PR#2005) R_HOME/etc/Renviron.site not interpreted on windows
ligges@statistik.uni-dortmund.de wrote:
>
> Was on R-help:
>
> Subject: Re: [R] .Renviron and Renviron.site (on Windows XP)
> Date: Thu, 11 Sep 2002
> From: "James Rogers" <jrogers@cantatapharm.com>
>
> At least on the windows version of R the file
> ...../etc/Renviron.site
> won't be interpreted as mentioned in, e.g., ?.Renviron.
>
>...
2002 Oct 17
1
Startup on Windows 2000
...the Startup file:
"In R, the startup mechanism is as follows.
Unless --no-environ was given, R searches for user and site files to
process for setting environment variables. The name of the site file is
the one pointed to by the environment variable R\_ENVIRON; if this is
unset, `$R_HOME/etc/Renviron.site' is used. The user files searched for
are `.Renviron' in the current or in the user's home directory (in that
order). See Details for how the files are read."
How can I tell if "--no-environ" was given? I cannot find either
Renviron.site or .Renviron on my system....