search for: r_arch

Displaying 20 results from an estimated 91 matches for "r_arch".

Did you mean: i_arch
2009 Jul 23
1
problem building R 2.9.1 from source on RHEL 4 (x86_64)
...pages. However, there may be other problems from any older libraries or other missing software. I asked Kurt Hornik about this. Here are his comments: According to Kurt Hornik <Kurt.Hornik at wu.ac.at> on Sun, 07/19/09 at 12:02: > > You have: > > BLAS_LIBS = -L$(R_HOME)/lib$(R_ARCH) -lRblas > LAPACK_LIBS = -L$(R_HOME)/lib$(R_ARCH) -lRlapack > > so you really use the BLAS and LAPACK code that comes with R ... > so I am somewhat clueless on this. > > Perhaps you can ask on the r-devel mailing list whether others > have had similar problems? Can anyone sh...
2009 Jun 29
1
Installing DLL elsewhere than in \libs?
Hello, Its a couple of days I am fighting with this problem, and cannot find a solution. I need to compile a DLL that is not directly used by R, but must be installed elsewhere (it is indeed part of a Tcl/Tk package). So, I want to install it in /tklibs/tkpackage/alib.dll (under Windows) in my compiled package. I do manage to compile it in /src, but cannot copy it at the right place. I
2009 Aug 25
1
Cannot make 3 different R installations for 3 different valgrind-instrumentation levels
...vanilla < myPkg.R or R --arch=valgrind2 -d valgrind --vanilla < myPkg.R R-2.9.1.tar.gz is unzipped to /usr/local/src/R-2.9.1 and I have tried executing (several variations of) the following code from that directory sudo ./configure --enable-memory-profiling --with-valgrind-instrumentation=2 r_arch=vg2 --with-recommended-packages=no sudo make sudo make install rhome=/usr/local/lib/R-2.9.1_vg2 sudo ./configure --enable-memory-profiling --with-valgrind-instrumentation=1 r_arch=vg1 --with-recommended-packages=no sudo make sudo make install rhome=/usr/local/lib/R-2.9.1_vg1 sudo ./configure --enab...
2009 Feb 21
1
Install failure (PR#13545)
..."r-bugs at R-project.org" | #define PACKAGE "R" | #define VERSION "2.8.1" | #define R_PLATFORM "x86_64-unknown-linux-gnu" | #define R_CPU "x86_64" | #define R_VENDOR "unknown" | #define R_OS "linux-gnu" | #define Unix 1 | #define R_ARCH "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:5558: result: gcc -E configure:5587: gcc -E -I/usr/local/include conftest.c configure:5593: $? = 0 configure:5624: gcc -E -I/usr/local/include conftest.c conftest.c:16:28: error: ac_nonexistent.h: No such file or di...
2008 Jul 03
1
--enable-BLAS-shlib conflict with --with-lapack in configure?
...>From config.log, it seems configure is trying to link with libRblas when testing for LAPACK -- but that has not been built yet: configure:37825: checking for zgeev_ configure:37889: gcc -std=gnu99 -o conftest -g -O2 -fpic -I/usr/local/include -L/usr/local/lib64 conftest.c -L$(R_HOME)/lib$(R_ARCH) -lRblas -lg2c -lm -ldl -lm >&5 /usr/bin/ld: cannot find -lRblas [...] configure:37924: checking for zgeev_ in -L/site/intel/cmkl/8.1/lib/em64t -lmkl_lapack64 -lmkl configure:37962: gcc -std=gnu99 -o conftest -g -O2 -fpic -I/usr/local/include -L/usr/local/lib64 conftest.c -L/site/intel/...
2009 Apr 24
1
Can't install package "glmnet"
Hi, I was trying to install package glmnet in R, but failed and it show such messages: * Installing *source* package glmnet ... This package has only been tested with gfortran. So some checks are needed. R_HOME is /home/username/R/R-2.9.0 Attempting to determine R_ARCH... R_ARCH is Attempting to detect how R was configured for Fortran 90.... Unsupported Fortran 90 compiler or Fortran 90 compilers unavailable! Stop! ERROR: configuration failed for package glmnet * Removing /home/username/R/R-2.9.0/library/glmnet The downloaded packages are in /tmp...
2010 Mar 05
2
[PATCH] R ignores PATH_MAX and fails in long directories (PR#14228)
...*R_OpenSiteFile(void) { - char buf[256]; + char buf[PATH_MAX]; FILE *fp; fp = NULL; @@ -90,10 +90,10 @@ if ((fp = R_fopen(getenv("R_PROFILE"), "r"))) return fp; if ((fp = R_fopen(getenv("RPROFILE"), "r"))) return fp; #ifdef R_ARCH - snprintf(buf, 256, "%s/etc/%s/Rprofile.site", R_Home, R_ARCH); + snprintf(buf, PATH_MAX, "%s/etc/%s/Rprofile.site", R_Home, R_ARCH); if ((fp = R_fopen(buf, "r"))) return fp; #endif - snprintf(buf, 256, "%s/etc/Rprofile.site", R_Ho...
2011 Aug 09
2
build 32-bit R on x86_64?
...machine and would like to have both the 32-bit and 64-bit versions of R built from source. By default, following the usual build procedures yields 64 bit R. Looking at [these](http://cran.r-project.org/doc/manuals/R-admin.html#Sub_002darchitectures), I thought I could build 32-bit R by executing r_arch=32 ./configure and building R like usual (make). However, after seeing this error message, /usr/bin/install: cannot create regular file `../../include/32/Rconfig.h': No such file or directory I realize I am misunderstanding the instructions. Could someone please clarify how I could go abou...
2019 Sep 12
2
Fw: Calling a LAPACK subroutine from R
...y loaded > X1 <- diag(2,2) > x1 <- rep(2,2) > # X1;x1 > z <- solve(X1,x1) > </code> another way is to use directly dyn.load(): lapack.path <- paste0(file.path(R.home(), ifelse(.Platform$OS.type == "windows", ???????? file.path("bin", .Platform$r_arch, "Rlapack"), file.path("lib", "libRlapack"))), ???????? .Platform$dynlib.ext) dyn.load(lapack.path) followed by your code. Best, Serguei. > > followed by the rest of your script. > You will get a warning (I do) that "passing a character vector to ....
2008 Jul 26
1
64-bit R on Mac OS X 10.4.5
Hello I have a Mac OS X 10.4.5. I am trying to build a 64-bit R by following the directions on this page: http://r.research.att.com/building.html r_arch=x86_64 \ CC="gcc -arch x86_64 -std=gnu99" \ CXX="g++ -arch x86_64" \ OBJC="gcc -arch x86_64" \ F77="gfortran -arch x86_64" \ FC="gfortran -arch x86_64" PATH=/usr/X11/bin:/usr/local/bin:$PATH export PATH LANG=C export LANG svn co https://svn.r-proje...
2011 Jun 23
1
gcc-4.5.2 and install.packages("glmnet")?
...lication/x-gzip' length 522888 bytes (510 Kb) opened URL ================================================== downloaded 510 Kb * installing *source* package ?glmnet? ... This package has only been tested with gfortran. So some checks are needed. R_HOME is /usr/lib64/R Attempting to determine R_ARCH... R_ARCH is Attempting to detect how R was configured for Fortran 90.... Unsupported Fortran 90 compiler or Fortran 90 compilers unavailable! Stop! ERROR: configuration failed for package ?glmnet? How can I get more information, what a problem has happened? Otherwise I have no problem t...
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
...{PERLLIB}" export PERLLIB fi ## Append 'share/texmf' to TeX's input search path. if test -z "$TEXINPUTS}"; then TEXINPUTS=".:${R_SHARE_DIR}/texmf:" else TEXINPUTS=".:${TEXINPUTS}:${R_SHARE_DIR}/texmf:" fi export TEXINPUTS . "${R_HOME}/etc${R_ARCH}/Renviron" export `sed 's/^ *#.*//; s/^\(.*\)=.*/\1/' "${R_HOME}/etc${R_ARCH}/Renviron"` extra= case "${1}" in perl) cmd="${PERL}" ;; awk) cmd="${AWK}" ;; ## this was a separate command prior to 2.10.0 Rd2txt) cmd="${R_HO...
2006 Jun 01
0
HELP Running R
Under the below section it talks about X86_64 architecture for Linux. 1. tar -zxvf R-2.3.0.tar.gz 2. changed the directory to the newly created directory R-2.3.0 3. Typed ./configure 'r_arch=name' 4. Typed make 5. Make check 6. make check-all 7. Typed make install 8. Typed R I still get the same error message. Fatal error: unable to open the base package 2.5 Sub-architectures Some platforms can support closely related builds of R which can share all but the executables and dynami...
2009 Aug 11
0
sub-architecture installation difficulty with various valgrind-instrumentation levels
...valgrind1 -d valgrind --vanilla < myPkg.R or R --arch=valgrind2 -d valgrind --vanilla < myPkg.R R-2.9.1.tar.gz is unzipped to /usr/local/src/R-2.9.1 and I have tried executing the following code from that directory sudo ./configure --enable-memory-profiling --with-valgrind-instrumentation=2 r_arch=vg2 --with-recommended-packages=no sudo make sudo make install rhome=/usr/local/lib/R-2.9.1_vg2 sudo ./configure --enable-memory-profiling --with-valgrind-instrumentation=1 r_arch=vg1 --with-recommended-packages=no sudo make sudo make install rhome=/usr/local/lib/R-2.9.1_vg1 sudo ./configure --en...
2011 Aug 02
0
png() broken in R-devel
...iff -r 56568:56569 Index: cairo/Makefile.in =================================================================== --- cairo/Makefile.in (revision 56568) +++ cairo/Makefile.in (revision 56569) @@ -38,7 +38,8 @@ R: Makefile @$(MAKE) $(cairo_la) - @cp $(cairo_la) $(R_HOME)/library/grDevices/libs$(R_ARCH) + @$(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)/libs at R_ARCH@ + @cp $(cairo_la) $(top_builddir)/library/$(pkg)/libs at R_ARCH@ $(top_builddir)/src/modules/X11/rbitmap.o: (cd $(top_builddir)/src/modules/X11; $(MAKE) rbitmap.o) With R-devel r56578: > png() Warning messages: 1: In pn...
2006 Jun 01
0
HELP Running R [Broadcast]
...last 25 lines or so of output from running configure)? Andy From: Pramod Anugu > > Under the below section it talks about X86_64 architecture for Linux. > 1. tar -zxvf R-2.3.0.tar.gz > 2. changed the directory to the newly created directory > R-2.3.0 3. Typed ./configure 'r_arch=name' > 4. Typed make > 5. Make check > 6. make check-all > 7. Typed make install > 8. Typed R > I still get the same error message. > Fatal error: unable to open the base package > 2.5 Sub-architectures > Some platforms can support closely related builds of R which...
2018 Dec 21
2
Bug report: R.home() cause package Rcpp failed executing sourceCpp, similar bug are labeled "BUG 16660" since 2016 and here I could provide a solution that tested in my laptop.
...uot;R.home", baseenv()) utils::assignInNamespace("R.home",function (component = "home") { rh <- .Internal(R.home()) paste0('"',switch(component, home = rh, bin = if (.Platform$OS.type == "windows" && nzchar(p <- .Platform$r_arch)) file.path(rh, component, p) else file.path(rh, component), share = if (nzchar(p <- Sys.getenv("R_SHARE_DIR"))) p else file.path(rh, component), doc = if (nzchar(p <- Sys.getenv("R_DOC_DIR"))) p else file.path(rh, component), include = if (nzchar(p...
2008 Feb 13
0
On Section 2.5:Sub-architectures in the R Installation and Administration manual
...led for (at least) one sub-architecture. Why should the failure to install it for another sub-architecture remove the complete package, including the successful build for another sub-architecture. 2.) On my machines (running Kubuntu Linux (gutsy)), I usually install a 32 bit version, by specifying r_arch=32 to the configure line, and a 64 version, by specifying r_arch=64 to the configure line. This seems to be in line with the following recommendation in the manual: If you want to mix sub-architectures compiled on different platforms (for example @cputype{x86_64} Linux and @cputype{i686}...
2016 Sep 27
4
src/Makevars ignored ?
...priority is package specific stuff overwrite user configuration that overwrite system default mechanism of Makevars is NOT consistent furthermore diggng in $RHOME/bin/config one can see the following if test "${site}" = "yes"; then : ${R_MAKEVARS_SITE="${R_HOME}/etc${R_ARCH}/Makevars.site"} if test -f "${R_MAKEVARS_SITE}"; then makefiles="${makefiles} -f ${R_MAKEVARS_SITE}" fi fi if test "${personal}" = "yes"; then if test "${R_OSTYPE}" = "windows"; then if test -f "${R_MAKEVARS_U...
2007 Jan 19
3
Problem with loading tkrplot
I asked the maintainer and he indicated that it might be a dll problem. Has anyone see this problem? I had installed the latest copy of tkrplot. I was trying to use teachingDemos when I first got the error. On 1/18/07, Luke Tierney <luke@stat.uiowa.edu> wrote: > Looks like tcl can't find the dll or something along those lines. As > this is windows you'll have to ask