similar to: Rprofile.site not executed?

Displaying 20 results from an estimated 6000 matches similar to: "Rprofile.site not executed?"

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
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?
2004 Jun 16
1
start-up problems
Hi, After some reading and experimentation I found that I cannot solve this problem: 1. I am starting R and check: > system("pwd") /home/woodstock/hoffmacw/R/test > system("echo $HOME") /home/woodstock/hoffmacw > system("echo $R_PROFILE") /home/woodstock/hoffmacw/R > system("ls $R_PROFILE/.Rprofile") /home/woodstock/hoffmacw/R/.Rprofile
2005 Dec 13
1
R_PROFILE on Windows
Dear R-devel, There seems to be a bug in the Startup section, regarding the R_PROFILE environment variable in Windows. If not a bug in the Startup itself, perhaps a bug in the documentation. According to ?Startup: Then R searches for the site-wide startup profile unless the command line option '--no-site-file' was given. The name of this file is
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]]
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
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
2012 Jul 17
2
Installing packages from RProfile.site file
I am trying to install custom packages upon starting R. A lot of the code that is written by us right now is available for editing to the users. To try and protect the code, I am packaging the production level code and having the users install it on their machine during start up. However, when I try to install packages in RProfile.site file, the program goes into a loop and R is constantly
2011 Nov 28
3
Rprofile.site
Dear All I inserted a frequently used function (subroutine) right into my Rprofile.site which allows me to run it each time-works great. However, this approach is obviously suitable for a short function or a small number of functions. Instead of inserting the lines in Rprofile.site, is there a way to insert one line pointing to (fetching) the function in a local drive, similar to #include
2023 Mar 21
1
Rprofile.site and automatic installation of missing packages
Dear all. I am trying to install missing (not installed) packages during startup of R through code in Rprofile.site but I miserably failed and I am not sure what I am doing wrong. R is installed to C:Program files but it is not writable for the users, therefore I cannot change Rprofile.site located in root etc directory. I however can put Rprofile.site in users home directory (Documents)
2013 Jan 13
1
Loading circular package from Rprofile.site
Hi, I installed "circular" package and I wanted to load it automatically when R starts up, so I added the following lines in file Rprofile.site, .First <- function() library(circular) When R starts up, it gives me the following error: ---------- Loading required package: boot Loading required package: graphics Loading required package: stats Error : .onAttach failed in
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
2011 Jan 07
1
rprofile.site
Hi all, i just installed R 2.12.1 and Tinn-R 2.3.7.1. My OS is Windows 7 32bit. Here is my question: Do I have to execute the rprofile.site manually every time I start a R/Tinn-R session? Because it seems that way. Here is the error code I receive after sending "selection(echo=TRUE): source(.trPaths[5], echo=TRUE, max.deparse.length=150) It doesn't do that after I configure
2009 Mar 19
2
How to set R_PROFILE conditional on batch or interactive mode
I am running R 2.8.1 on SUSE Linux. I would like to be able to set R_PROFILE to two different possibilities. One when R is called by R CMD BATCH and another any other time. Is this possible? Mark Lyman, Statistician Engineering Systems & Integration, ATK
2023 Mar 21
2
Rprofile.site and automatic installation of missing packages
?Startup says: "Note that when the site and user profile files are sourced only the base package is loaded, so objects in other packages need to be referred to by e.g. utils::dump.frames or after explicitly loading the package concerned." So you need utils::installed.packages and utils::install.packages . Duncan Murdoch On 21/03/2023 8:04 a.m., PIKAL Petr wrote: > Dear all.
2011 Apr 21
1
Package check issue: Rprofile.site is not used
Dear R-users, I am having some issues with a package I am working on (using R 2.12.1 in a Linux environment) and would like to have your opinions/advises. My package - let's call it mypackage for the purpose of this email - passes all checks of R CMD check, except for the following failure message: Error : .onLoad failed in loadNamespace() for 'mypackage', details: call:
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
2009 Oct 04
1
Modify base R functions in Rprofile.site
Hi everyone, I want to modify two base R functions 'parse' and 'deparse' immediately after R has started, so I added some code in the file 'Rprofile.site' under the 'etc' directory. Here is a simple example: parse=function(...){ base::parse(...) } I'll get an error when I start R as follows: Error: cannot change value of locked binding for
2009 Mar 30
1
Can I read a file into my workspace from Rprofile.site?
I am running R version 2.8.1 on Windows XP OS. When I launch R, I would like to automatically read a file containing my database connections, user ids, and passwords into my workspace. I tried including this in my Rprofile.site file: ... local({ old <- getOption("defaultPackages") options(defaultPackages = c(old, "Rcmdr","RODBC", "utils")) }) .First
2023 Nov 10
1
[R] Why Rprofile.site is not built with manual installation of R devel in linux?
On 10 November 2023 at 14:19, Martin Maechler wrote: | >> 2. In the installed R in /where/you/want/R/to/go, there is no even etc folder, there are only the folders bin, lib and share. That would appear to be an error in the locally installed R. What the package does has been discussed before. Per the Linux Filesystem Standard (or Filesystem Hierarchy or whatever it is called), Linux