Displaying 20 results from an estimated 1000 matches similar to: ".Renviron and Renviron.site (on Windows XP)"
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 =
2003 Feb 01
2
Apparent parser problem (PR#2520)
Let me first admit: I am experiencing this bug on a precompiled binary
of R for windows, and I know these are not supported. I am not asking
for support, but I thought the R developers would want to know about
this.
# Define:
foo.page <- function(x) x
# Then,
foo.page("a")
# actually invokes the pager (!) on object named "a" (if one is
defined).
# same thing happens
2003 Oct 27
2
[[<-.data.frame with POSIXt replacement (PR#4808)
Hi,
The following seems to be a bug introduced with version 1.8.0 (it worked
without error on my installation of version 1.7.0):
> test <- data.frame(time = I(c("2003-08-19:22:55:57")))
> test[["time"]] <- strptime(test[["time"]], format =
"%Y-%m-%d:%H:%M:%S")
Error in "[[<-.data.frame"(`*tmp*`, "time", value =
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.
>
2003 Apr 29
1
Specifying search position for attached package
When I load an add-on package, is there any way to specify where it ends
up in the search path (as with the pos argument to attach())? From the
documentation for library(), this doesn't seem like an option.
(I know I can detach packages and then reload them in the order I want;
I'm looking for a less clumsy way.)
Thanks,
Jim
James A. Rogers, Ph.D. <rogers at cantatapharm.com>
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 .
2003 Feb 28
2
Lexical scoping question
Hello,
Could someone please tell me what I am thinking about incorrectly:
f <- function(y) {
g <- function(x) x + y
g
}
In the following, I get what I expect based on my understanding of
lexical scoping:
(f(1))(3) # 4
(f(2))(3) # 5
But now,
fs <- lapply(c(1, 2), f)
fs[[1]](3) # 5 (Why not 4 ?)
fs[[2]](3) # 5
Checking the environments of these functions, I see that
2002 Dec 06
2
Mutiple page trellis plots with relation = "free" or "sliced"
Hello,
Has anyone out there encountered a problem like this:
xyplot(Plasma ~ Serum | Analyte,
data = sp.df,
aspect = 1,
layout = c(1, 1, 200),
scales = list(relation = "free")
)
Gives the error:
Error in pretty(x[is.finite(x)], ...) : x must be numeric
On the other hand, this works (but I don't want the default of having
everything on the same
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?
2003 Oct 31
2
Creating packages in 1.8
Hi,
I decided to upgrade to 1.8 today... :-)
Anyway, we are writing our own package that is dependent on a
bioconductor library - 'affy'.
I've checked and when I fire up R, library(affy) behaves as expected...
so it all seems to be installed and OK...
In the DESCRIPTION file in my package source I have the line:
Depends: affy
When I run R CMD check simpleaffy
I get 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"
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='~/.Rprofile')"
and launch
2010 Jun 04
0
Renviron settings for Linux Distributions: please tell me R Core's advice
Dear R-devel:
i have noticed a little wrinkle in R packaging for RPM systems 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:
2008 May 07
0
how to define .Renviron to work with different R-versions
Hi,
I have a simple R script 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 >
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
2015 Mar 30
2
Debian Testing: ~/.Renviron seems to not being read (R_LIBS not set)
Dear Johannes, Dear Dirk,
Thanks a lot for helping. Here is the missing information.
Here is how I installed R. This is basically how Martin Maechler
showed me to install R under Ubuntu (in several versions so that they
are also recognized by ESS). My goal is to adjust this to make it work
for Debian:
1) sudo emacs /etc/apt/sources.list # then add:
deb
2017 Jul 03
1
/etc/R/Renviron doesn't set R_LIBS_USER anymore
On Mon, 03-07-2017, at 12:18:36, Dirk Eddelbuettel <edd at debian.org> wrote:
> On 3 July 2017 at 13:05, Ramon Diaz-Uriarte wrote:
> | If I might chime in, I'd like to add my vote to the "users should be able
> | to use install.packages and should be able to install bioconductor
> | packages with biocLite".
> |
> | Longer story
> | ============
> |
>
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
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),
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