similar to: Calling library functions from outside R

Displaying 20 results from an estimated 200 matches similar to: "Calling library functions from outside R"

2005 Mar 22
4
trouble building r-devel
I haven't been able to build yesterday's R-devel (or, as a test, R-devel_2005-03-11) on Windows XP. The error message I'm getting is to do with 'arithmetic.c', as shown below. Current R-patched seems to build fine, and I've built previous R-devels from source fairly often in the past-- though I have no understanding whatsoever of what's going on. FWIW the only changes
2009 Jul 17
1
Help with R.oo
Hi! I'm trying to learn about object oriented R, as it seems like it would be very useful. I'm going over an example from the documentation, and I'm very confused: http://www1.maths.lth.se/help/R/R.oo/ [assume you've called library (R.oo)] setConstructorS3("SavingsAccount", function(balance=0) { if (!is.numeric(balance) && length(balance) != 1)
2009 Jul 21
1
Checking on closed file connections
Hi! I'm wondering if there's a smart way around this: fileName= (some valid file on your system) > fileCon=file(fileName, open="rt") > l<-readLines (fileCon, n= 1) > > isOpen(fileCon) [1] TRUE > close(fileCon) > isOpen(fileCon) Error in isOpen(fileCon) : invalid connection How do you test for a file being closed if isOpen gives you an error
2009 Jul 24
1
Simply matrix slice question
Is there any way to force a slice of a matrix to stay a matrix? R tends to convert a single row of a matrix into a vector. Example: z<-matrix (rnorm(20), ncol=5) zz<-z[1,] is.matrix(zz) #FALSE I usually resort to: zz<-matrix(z[1,], ncol=dim(z)[2], dimnames=list(rownames(z)[1], colnames(z))) But that seems horribly kludgy. Thanks! -Jim
2006 Jun 12
1
Link error with glibc-2.4 on linux/PPC (PR#8967)
Full_Name: Luca Barbato Version: 2.3.1 OS: Gentoo Linux/PPC Submission from: (NULL) (151.44.163.144) system informations Portage 2.1 (default-linux/ppc/ppc32/2006.0/G4, gcc-4.1.1, glibc-2.4-r3, 2.6.17-rc5 ppc) ================================================================= System uname: 2.6.17-rc5 ppc 7447A, altivec supported Gentoo Base System version 1.12.1 distcc 2.18.3
2017 Jul 20
2
Installing rpy2 on Red Hat 6
I need to install rpy2 on RHEL6. The version of R in the 6 repos is 3.0, and rpy2 does not work with that version. I installed R 3.3.3 following the directions here: https://oguya.ch/posts/2017-03-18-building-R-on-rhel-6/. But even with 3.3.3 it's still failing. Using pip it fails with: /usr/local/lib64/R/lib/libR.a(CommandLineArgs.o): could not read symbols: Bad value and installing from
2009 Aug 14
1
Package-level access to Rp->R_Quiet ?
I would like to simulate the effect of the command-line option --quiet from user-level scripts and startup code. From src/main/CommandLineArgs.c I learn that Rp->R_Quiet is set, and I see how that is used in main/main.c. I would use this from code in Rprofile.site. In other words, I want to be silent when --quiet is used (as e.g. by littler or Rscript) but not by R itself in normal
2010 Sep 28
1
small inaccuracy in startup warning message
Hi, Cosmetic. Starting R with e.g. --max-ppsize=-10 produces the following warning: WARNING: '-max-ppsize' value is negative: ignored The name of the option displayed in the warning is incorrect. Could that be fixed? See src/main/CommandLineArgs.c (there are 3 places in that file where the name of this option needs to be adjusted). This is with current R-alpha. Thanks! H. --
2017 Jul 20
0
Installing rpy2 on Red Hat 6
> On Jul 20, 2017, at 7:53 AM, Larry Martell <larry.martell at gmail.com> wrote: > > I need to install rpy2 on RHEL6. The version of R in the 6 repos is > 3.0, and rpy2 does not work with that version. I installed R 3.3.3 > following the directions here: > https://oguya.ch/posts/2017-03-18-building-R-on-rhel-6/. But even with > 3.3.3 it's still failing. Using pip it
2011 Mar 02
3
CentOS 5 install won't make with shared libs enabled
Hi, I've been trying to get a shared library version of the R package(version 2.12.1) installed on a CentOS 5 system. (It installs fine without but other packages demand shared libs - namely Rapache). I've tried this with yum but don't know of any flags to set to tell it to installl with shared libs enabled. I then tried a local R install as non-root with source packages: after
2016 May 18
2
Latest R-devel build failing on OS X
Ah, got it. For some ancient reason config.site on that machine had LDFLAGS=-L/usr/X11R6/lib in config.site, and that prevented configure from inserting -L /usr/local/lib, so linked /usr/lib/libreadline.dylib, which is the Apple-supplied one, which possibly is really libedit... -p > On 18 May 2016, at 22:01 , peter dalgaard <pdalgd at gmail.com> wrote: > > gcc
2006 May 01
6
R-2.3.0 make error
Dear list, When compiling the R-2.3.0 on FC4 x86_64, I got the following errors: make[3]: Entering directory `/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main' gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o character.o coerce.o colors.o complex.o
2005 Apr 23
1
R-2.1.0 doesn't compile on FreeBSD6-CURRENT
Dear R-users, is there anyone else with problems to get R-2.1.0 compiled on FreeBSD6-CURRENT? After typing '.configure' and then 'make' I get the following output: ------------------------------------- [...snip...] gcc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o
2005 Apr 23
1
R-2.1.0 doesn't compile on FreeBSD6-CURRENT
Dear R-users, is there anyone else with problems to get R-2.1.0 compiled on FreeBSD6-CURRENT? After typing '.configure' and then 'make' I get the following output: ------------------------------------- [...snip...] gcc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o arithmetic.o apse.o array.o attrib.o
2006 Apr 13
1
R-latest.tar.gz make error
Hi. (MacOSX 10.4.6) I downloaded R-latest.tar.gz just now from src/base- prerelease on CRAN. "make" gave the following error after an apparently successful ./configure: [snip] util.c: In function 'Rf_type2char': util.c:247: warning: return discards qualifiers from pointer target type gcc -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/ pcre
2007 Jan 11
1
R 2.4.0 on Solaris 10 (PR#9441)
Full_Name: Ricardo Aponte Version: R 2.4.0 OS: Solaris 10 Submission from: (NULL) (200.71.37.195) Hello I'm having trouble building R under Unix. I've searched for information about it on google or the R database but I didn't find any answer on my problem. I would be thankful if somebody could help me working that out. ./configure R is now configured for
2005 May 19
1
make fails in errors.c (PR#7881)
Full_Name: Rainer Hurling Version: R-2.1.0 OS: FreeBSD6-CURRENT from May 19 2005 Submission from: (NULL) (213.54.77.26) /configure does well in FreeBSD6-CURRENT. When typing 'make' after a while I get: ------------------------------------- [...snip...] gcc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
2012 Jan 20
1
Building R on RHEL 5
Hello, I am trying to upgrade to the latest R release on a machine running Red Hat el5.? Previously I was successful at building R 2.11, but now I am having troubles with R 2.14. Configure goes fine, but then make throws a lot of errors (output below).? Any idea what I am doing wrong this time around? Thanks in advance, Erik make output: ... gcc -std=gnu99 -I../../src/extra/zlib
2007 Jan 30
1
Solaris 10 compilation issue
I am trying to compile R-2.4.1 in 64-bit on Solaris 10 running on AMD hardware. I am trying to do this with Sun Studio 11. My config.site looks like this: #! /bin/sh AR="/usr/ccs/bin/ar" TEX="/usr/local/teTeX/bin/i386-pc-solaris2.10/tex" LATEX="/usr/local/teTeX/bin/i386-pc-solaris2.10/latex" PDFTEX="/usr/local/teTeX/bin/i386-pc-solaris2.10/pdftex"
2007 Jan 31
1
problem with compilation of R on Solaris 10 in x86
Dear List, we're trying to install R on Solaris10 on a x86 (amd64). During the installation we pass successfully the ./configure but we get an error through the built-in function "_isnan" which we see existing in /lib When passing the command "make" we get : gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2 -I../../src/extra/pcre -I. -I../../src/include