Displaying 20 results from an estimated 10000 matches similar to: "R Startup configuration file"
2010 Sep 29
1
location of Rconfig.h when using architecture-dependent subdirs
Hello,
I just tried configuring R to use architecture-dependent subdirs
$ r_arch=x86_64 ./configure --prefix=/u/smat/konis/testdir
on a Debain Squeeze box
$ uname -a
Linux smapc007 2.6.32-5-686 #1 SMP Sat Sep 18 02:14:45 UTC 2010 i686
GNU/Linux
After building and installing, the Rconfig.h ended up in
.../lib/R/include/x86_64 but R.h still includes it as
#include <Rconfig.h>
2000 Apr 26
2
Cross compiling a package for Windows on Linux
I would like to compile for Windows a rather simple R package that
contains some C code. It does not contain any Fortran code.
I tried the cross-compilation route using the pre-built set of tools
from http://www.devolution.com/~slouken/SDL/Xmingw32/, as described in
$R_SRC/src/gnuwin32/INSTALL
Using the sources in r-devel from the rsync site I am able to build
libR.a in src/gnuwin32 but I
2005 Jan 31
2
Startup Files (RProfile) and R-Aqua
Hello,
I'm having some difficulty understanding the documentation relative to
the startup files with R-Aqua 2.0.1 for Mac OS X.
Specifically, I'm wondering: where does R search for the startup files
(my home directory at Users:<me>:?); how should they be named
(.RProfile will be treated by Mac OS X as a system file and be hidden,
so I'm wondering if it should just be
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",
2009 Aug 30
3
Computer Modern Fonts in R graphic
Hello all,
I am trying to use computer modern fonts in my r grahics. I tried to do,
as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html
but unfortunately, it does not work.
First of all I downloaded the cm-lgc package and the AFM and PFB-files
from the page and put them in my R working directory, so far, so good.
Then I tried to run the following code:
> sn <-
2010 Jan 24
1
R-forge getting the wrong package
After accusing someone of typing 'install.packages("weather")' instead
of 'install.packages("webmaps")', I discovered that R-forge really is
currently returning the wrong source tarball for packages after
'Repitools' in the alphabet.
The data returned from available.package in install.packages goes out
of sync at 'Repitools':
RemoteREngine
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:
2004 Apr 16
2
Windows startup menu display problem in 1.9.0 (PR#6783)
Full_Name: Brian J. Smith
Version: 1.9.0
OS: WinXp
Submission from: (NULL) (129.255.217.48)
WinXP; R 1.9.0 running under Rgui.exe.
winMenuAdd calls via my .Rprofile file do not seem to work and, instead, result
in the following error message after the R GUI starts:
Error in eval(expr, envir, enclos) : couldn't find function "winMenuAdd"
Any subsequent calls to winMenuAdd from
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
2012 Jul 25
1
Rconfig.h & unsupported architectures
Hi all,
Recently, when compiling R packages containing C code, I've started
getting the following error:
* installing to library ?/Users/hadley/R?
* installing *source* package ?appdirs? ...
** Creating default NAMESPACE file
** libs
*** arch - i386
gcc -arch i386 -std=gnu99
-I/Library/Frameworks/R.framework/Resources/include
-I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG
2017 Jan 01
3
Definition of uintptr_t in Rinterface.h
On 29/12/2016 15:55, Simon Urbanek wrote:
> The problem is elsewhere - Rinterface.h guards the ultima-ratio fallback with HAVE_UINTPTR_T but that config flag is not exported in Rconfig.h. Should be now fixed in R-devel - please check if that works for you.
Rconfig.h would be appropriate if Rinterface.h is being included from C
code using the same compiler as used for R. But as Rinterface.h
2010 Jun 02
1
Help - C Compiler
Dear Group Members,
First of all thanks for all the great work and effort.
I am trying to compile a part of the Project R, 'pnorm.c' in visual studio
6.0 c++ language.
First i downloaded the standalone R-2.11.0 and tried to compile it. Some
files were missing here such as 'Rconfig.h'.
Then i downloaded the Binary for Windows, and in the installation folder i
found those missing
2003 Mar 05
1
order of package loading and printing messages to console on startup
Recently in R-devel, I've noticed that when I start up R, code in
.Rprofile (in the working directory) gets sourced but any messages printed
out by that code (e.g. by `cat') are printed *before* the introductory
statement about R.
For example, if I put the line
library(KernSmooth)
in my .Rprofile file, I get
artemis:> R
KernSmooth 2.22 installed
Copyright M. P. Wand 1997
R :
2003 Apr 22
2
Weird Windows startup menu display problem in 1.7.0 (PR#2817)
Folks:
Winnt; R1.7.0 (freshly installed) running under Rgui.exe.,MDI=yes.
The following is repeatable:
On startup, in my Rprofile.site file, I use winMenuAdd() etc. to install
some user menus. However, they do not appear when R GUI window opens. If I
minimize and restore the window, the added menus now are present.
The exact same procedure under 1.6.2 with exactly the same Rprofile.site and
2004 Apr 14
1
Re: [R] Execute function at startup
I think you can already do this via .First(). If you start your .First with something like this [give or take some parentheses]
if( !is.null( runfirst <- Sys.getenv( 'RUNFIRST')))
try( eval( parse( text=runfirst))))
then whatever you pass in as RUNFIRST=... should get executed on startup. Could even be a call to source(...) if you want to source a particular file. I have a similar
2017 Jan 02
1
Definition of uintptr_t in Rinterface.h
> On Jan 1, 2017, at 5:12 PM, Laurent Gautier <lgautier at gmail.com> wrote:
>
>
>
> 2017-01-01 8:28 GMT-05:00 Prof Brian Ripley <ripley at stats.ox.ac.uk>:
> On 29/12/2016 15:55, Simon Urbanek wrote:
> The problem is elsewhere - Rinterface.h guards the ultima-ratio fallback with HAVE_UINTPTR_T but that config flag is not exported in Rconfig.h. Should be now
2006 May 04
3
Rgui, Startup, HOME, R_USER, ...
Hi,
Main objective: Let Rgui find my ~/.Rprofile and ~/.Renviron files,
where ~ is equal to getwd("~").
I have few comments/questions:
(A) On my WinXP Pro installation, the system environment variable
'HOME' is not availble to R, e.g. Sys.getenv("HOME") is empty. I
believe this is default case (correct me if I'm wrong). However, if I
set the "Start
2010 Jan 28
2
Missing argument error message
Back in the days of R 2.6, if you did this, you got this:
> z=function(x){x*2}
> z()
Error in z() : argument "x" is missing, with no default
But now in this decade we get (for R 2.9 and 2.10):
> z=function(x){x*2}
> z()
Error in z() :
element 1 is empty;
the part of the args list of '*' being evaluated was:
(x, 2)
Now I can see (after thinking about it)
2005 Jan 05
1
Using the Rprofile file to automatically plot data on Startup of R version 2.0.1.
Dear R Help Members,
I have some R functions that plot semiconductor data. I would like to
automate these plots for individuals in our group such that they don't
have to know R. I have read the R help manuals and postings but have
not found this problem.
I am using R version 2.0.1 under a Windows 2000 operating system.
The following is a simplified version of what I am tring to do:
If
2013 Jul 15
2
suppress startup messages from default packages
Hi all,
several packages print messages during loading. How do I avoid to see
them when the packages are in the defaultPackages?
Here is an example.
With this in ~/.Rprofile
,----[ ~/.Rprofile ]
| old <- getOption("defaultPackages")
| options(defaultPackages = c(old, "filehash"))
| rm(old)
`----
I get as last line when starting R:
,----
| filehash: Simple key-value