search for: r_profiling

Displaying 20 results from an estimated 43 matches for "r_profiling".

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
2004 Aug 08
1
Use of R_PROFILE.R / install.R
According to R-exts: The second purpose for @file{install.R} is to hold code that needs to be executed each time the package is attached, after the image is loaded. Few packages have a need for such code so @file{install.R} is normally an empty file. The optional file @file{R_PROFILE.R} is executed before the code in the @file{R} subdirectory and should be used to set up an
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
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
2006 Feb 01
1
The install.R and R_PROFILE.R files
R-exts says Both install.R and R_PROFILE.R should be viewed as experimental; the mechanism to execute code before attaching or installing the package may change in the near future. With the other facilities available as from R 2.0.0 they should be removed if possible. Every usage of these on CRAN is unnecessary. If you want to save the image, say so in the SaveImage field in
2008 Jan 16
3
Rprofile.site not executed?
It seems that my Rprofile.site file is not executed when I start R. To test this I included the following code in that file: .First <- function(){ cat("\nWelcome at", date(), "\n") flush.console() } When I start R the message above is not displayed. I am running R 2.6.1 (rgui.exe) under Vista Home Premium. The Rprofile.site is in the etc folder and the R_PROFILE
2003 Oct 01
1
installing DBI_0.1-6.tar.gz
Dear, I tried to install the DBI package in R-1.7.1, but this gave the following error: /volume1/scratch/jallemee/R/lib/R/bin/INSTALL: line 1: 1856 Done ( echo "options(save.image.defaults=${save_image_defaults})"; if test -s R_PROFILE.R; then cat R_PROFILE.R; fi; echo
2007 Sep 03
1
Snow on Windows Cluster
Hello, the package snow is not working on a windows cluster with MPICH2 and Rmpi. There is an error in makeCluster: launch failed: CreateProcess(/usr/bin/env "RPROG="C:\Programme\R\R-2.5.1\bin\R" "OUT=/dev/null" "R_LIBS=" C:/Programme/R/R-2.5.1/library/snow/RMPInode.sh) on 'cl1' failed, error 3 - Das System kann den angegbenen Pfad nicht finden. I
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
2008 Oct 02
4
Load a program at the front end
I want to run a R program, prog.R, interactively. My question is, is there a way I can start prog.R on the shell terminal when invoking R, instead of using source() inside R? TIA, Gang
2017 Apr 06
3
failure of make check-all
This run was done this AM on my linux box, and older 32 bit Dell optiplex (core 2 duo). The failure message is at the very end. (It's due to be replaced in a couple of weeks.) The sequence of steps was svn up tools/rsync-recommended ./configure make make check-all |& tee zzz Terry T. Result of ./config R is now configured for i686-pc-linux-gnu Source directory: .
2017 Apr 06
0
failure of make check-all
You may want to retry that after a make distclean, in case anything changed in the toolchain. -pd > On 6 Apr 2017, at 14:43 , Therneau, Terry M., Ph.D. <therneau at mayo.edu> wrote: > > This run was done this AM on my linux box, and older 32 bit Dell optiplex (core 2 duo). The failure message is at the very end. (It's due to be replaced in a couple of weeks.) The sequence
2001 Nov 23
0
eval.c: possible issue with profiling for Windows
...oc = GetCurrentProcess(); .......... wait = interval/1000; if(!(ProfileEvent = CreateEvent(NULL, FALSE, FALSE, NULL)) || (_beginthread(ProfileThread, 0, &wait) == -1)) Here the address of wait is given to the thread R_Suicide("unable to create profiling thread"); R_Profiling = 1; Here you leave your function, invalidating "wait" by freeing its memory. } Depending on the compiler (and/or hardware!) used, this can lead to a race condition: You have invalidated "wait" by leaving R_InitProfiling, before your new thread had a chance to copy it to it...
2004 Apr 12
0
Windows startup question
I would like to be able to double click on an R source file and by that start R and have the file sourced in R. I am using WinXP Pro. So I created an association for file type R and tye following Run action: "C:\Program Files\R\rw1090beta\bin\Rgui.exe" R_PROFILE=%1 I have an R file with the following lines at the beginning. library(vcd) votes<-array(0,10*7*9*2)
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?
1999 Nov 04
1
R_OpenSiteFile: Do not use a null ptr as filename in fopen (PR#312)
I get crashes when I call R without any arguments and having no environment variables R_PROFILE and RPROFILE. The reason is, that in unix/sys-common.c in R_OpenSiteFile() fopen is called with a null ptr as filename (because this is the outcome of getenv()). Although most compilers seem to interpret this as "file not found", this is an undefined behavior concerning to all C standards
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 Apr 12
2
Schedule R script using cron
I am trying to schedule my R script using cron, but it is not working. It seems R can not find packages in cron. Anyone can help me? Thanks. The following is my bash script # source my porfile . /home/winie/.profile # script.R will load packages R CMD BATCH /home/script.R -- View this message in context: http://r.789695.n4.nabble.com/Schedule-R-script-using-cron-tp4550729p4550729.html Sent
2003 Jul 28
3
Recommended way to change defaultPackages under Windows
What is the recommended way to change the default set of packages that are loaded at startup by R for Windows? I am writing vignettes for the Devore6 package which my introductory engineering statistics students will use and I would like to describe how the R environment can be changed so that this package is loaded by default. I understand from the R for Windows FAQ that one way would be to
2004 Aug 12
3
The Depends: field of a package is now used by library()
In R-devel, the Depends: field in the DESCRIPTION file is now used by library() to load the named packages before the current package, and also to set up the environment to save images and prepare for lazy loading. Would authors please use a minimally necessary set of packages in Depends, and put others in Suggests: -- the distinction is made in `Writing R Extensions'. On the other hand,