Displaying 20 results from an estimated 9000 matches similar to: "f.ex. port in wget"
2004 Feb 29
1
Rcmd SHLIB
Ok, I think I may have a path or permissions problem (below). Anyone know which settings I should check?
When I use
"Rcmd SHLIB <filename>"
I get:
C:\Program Files\R\rw1081\bin>Rcmd SHLIB info.diffusion.c
process_begin: CreateProcess((null), dlltool -k --as as --dllname R.dll --def R.
exp --output-lib libR.a, ...) failed.
make (e=2): The system cannot find the file
2011 Oct 25
1
R fails when converting units using Hershey-Fonts
I run into some problems when trying to convert units using Hershey-Fonts: R chrashes.
> library(grid)
> label <- "some text"
> pushViewport(viewport(gp=gpar(fontfamily="HersheySerif")))
> convertHeight(stringHeight(label), unitTo="mm")
*** caught segfault ***
address 0xadc838f8, cause 'memory not mapped'
Traceback:
1:
2009 Sep 24
1
unexpected behavior of `[<-` method for class unit.arithmetic
Dear list,
Consider the following,
library(grid)
w = unit.c(unit(1, "in"), unit(2, "in"))
w2 = w + unit(1, "mm")
w[2] <- 0
w2[2] <- 0
convertUnit(w, "mm")
#[1] 25.4mm 0mm
convertUnit(w2, "mm")
#Error in grid.Call("L_convert", x, as.integer(whatfrom),
as.integer(whatto), :
# INTEGER() can only be applied to a
2002 Aug 12
1
Error 127 and dlltool
Hello:
Many thanks to Professor Ripley for responding to my earlier post, included below, about trying to use mingw32 gcc.I did put back the original Rinternals.h. I am still crashing R every time I try to use C code.
Here is what I did, basd on readme.packages:
1.) Ensured that C:\Rtools was first in my path, and obtained a new tools.zip from BDR's R tools site.
2.) Ensured that I
2002 Aug 13
1
Rcmd SHLIB under NT
Hello:
I'm trying to use Rcmd SHLIB to compile a single file, sann.c, to
get sann.dll.
I was able to get
make libR.a
to work, after going into MkRules and changing the line
DLLTOOL=$(BINPREF)dlltool -k --as $(AS)
to read
DLLTOOL=C:/MINGW-1.1/bin/dlltool -k --as $(AS)
But now I get:
C:\rw1051\src\gnuwin32>Rcmd SHLIB sann.c
make: make: Command not found
make: *** [libR] Error 127
2004 Jun 11
2
question about Rcmd SHLIB
Dear R People:
I'm trying to use the Rcmd SHLIB to produce a dll.
Rcmd SHLIB -o test2.dll test2.f
make[1]: *** [libR.a] Error 255
make: *** [libR] Error 2
Where do I go to find out about the "make" errors, please?
I suspect that I might be missing something. I have the tools for creating
new packages, but
maybe I left out something.
This is for R version 1.9.0 on Windows.
2003 Dec 10
0
dyn.load for c code
I am learning how to load C code into R-1.8.0 on Windows 98. To this end I wrote
a small c program, downloaded the tools, perl, and mingw on the "building
R for windows" page, and proceeded to create libR.a & libRblas.a as explained
in the readme.packages. I started with a simple c program called mysum.c that can
be found on:
2012 Nov 30
1
compiling R for Windows 64 bit
Dear All,
I'm trying to compile R for Windows 64 bit.
I'm following the instructions of R installation and administration
guide v2.15.2 (3.1; A.3.1.4; C.2.2)
and at the moment I compiled the default version (single threaded,
gcc, without external BLAS) ?on my notebook (windows xp 32 bit)
Now I'm trying to compile it on Windows servers 64 bit with the next
configuration :
1. Windows
2002 Oct 16
0
error in make pkg-...
Hi All,
I am trying to build a couple of packages from source, one of my own and
others. I have had this working under R1.5.0, now trying to set up on a new
machine under R1.6.0. Starting from various places, I am getting an error in
MkRules that I do not understand.
C:\PROGRA~1\R\rw1060\src\gnuwin32>make libR.a libRblas.a
MkRules:91: *** missing separator. Stop.
The example is from the
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
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
(cross-posted on SO: https://stackoverflow.com/questions/78022766)
Hi all,
I'm trying to compile R as a static library with the -fPIC flag so I can use it within java+JNI (is it only possible ?), but I cannot find the right flags in '.configure' to compile R this way.
I tested various flags but I cannot find the correct syntax.
for now, my latest attempt was
```
rm -rvf?
2005 Feb 07
1
Problems encountered/fixed making CrossCompileBuild
Dear All:
I encountered and apparently overcame problems following Yan
and Rossini?s procedure for "Building Microsoft Windows
Versions of R and R packages under Intel Linux"
(http://cran.r-project.org/doc/contrib/cross-build.pdf): I
have successfully cross-compiled R packages for Windows on a
FreeBSD 4.10 i386 system.
My revisions to Makefile-rcb (http://cran.r-
2002 Jan 17
2
Problem building packages from source (WIN32)
Dear List,
I have been experimenting with building packages from sources, having
previously relied upon the binaries.
I downloaded and installed all the tools suggested in
http://www.stats.ox.ac.uk/pub/Rtools/ , including ActivePerl 5.6.1.631.
I also downloaded the HTML Help workshop exe and installed it. During
install though, a message popped up to say that I had a newer version of
the
2018 May 22
3
Trouble building R 3.5.0 under Ubuntu 18.04
I would love to hear from anyone who has successfully built 3.5.0 under
Ubuntu 18.04 (Bionic Beaver). My attempts have failed, including:
export LDFLAGS="$LDFLAGS -fPIC"
export CXXFLAGS="$CXXFLAGS -fPIC"
export CFLAGS="$CFLAGS -fPIC"
./configure --enable-R-shlib --prefix=/usr/lib/R/3.5.0
#### Configure completes normally without errors or warnings
make
#### make
2018 May 23
1
Trouble building R 3.5.0 under Ubuntu 18.04
I suspect the main difficulty the OP is having is building R with shlib
support.
Steve, can you build from source without the --enable-R-shlib flag on
configure?
Kevin
On 05/23/2018 01:58 PM, Ista Zahn wrote:
> On Tue, May 22, 2018 at 6:47 PM, Steve Gutreuter <sgutreuter at gmail.com> wrote:
>> I would love to hear from anyone who has successfully built 3.5.0 under
>>
2002 Jan 07
3
compiling packages
Hello, happy new year to all.
The new Year gave me a new computer with Win98 and promptly I installed
R on it.
I created a directory R, with subdirectories gcc, perl,bin, helpwrk and
rw1040.
I got rw1040 from BDR place, the rest were gotter from the internet in
the last week of the year, i.e. they are the newest versions.
I modified autoexec.bat to put gcc\bin, perl\bin, etc in the path. I put
the
2018 May 23
0
Trouble building R 3.5.0 under Ubuntu 18.04
On Tue, May 22, 2018 at 6:47 PM, Steve Gutreuter <sgutreuter at gmail.com> wrote:
> I would love to hear from anyone who has successfully built 3.5.0 under
> Ubuntu 18.04 (Bionic Beaver).
This is the wrong list, see R-sig-debian. That said,
apt-get update
apt-get build-dep r-base
wget https://cran.r-project.org/src/base/R-3/R-3.5.0.tar.gz
tar -xvf R-3.5.0.tar.gz
cd R-3.5.0
2004 Jun 05
1
Building R as shared library (dll) in Windows
Hello,
I've read that to compile R as a shared library in Linux you have to issue the following command before make:
./configure --enable-R-shlib
How is that done in Windows? There is no 'configure' in src/gnuwin32 and if it has to go somewhere in Mkrules, I could not figure out exactly where.
Help please.
2017 Aug 23
2
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
Thanks again, sorry I didn't specify this. I am loading new libraries to get to this point. The script I run for "configure" is:
#Load the new curl module
module load libs/gcc/4.4.7/curl/7.47.1
#Load the new xzutils module
module load apps/gcc/4.4.7/xzutils/5.2.2
#Load the new zlib module
module load libs/gcc/4.4.7/zlib/1.2.8
#Load the new bzip2 module
module load
2019 Jan 12
2
Error: corrupted double-linked list
Hello,
Not sure if this is the right list of if this is a gdal/sf issue so I
apologize but recently I've been seeing errors that crash R/3.5.1 and throw
a double-linked list error (see below). Has anyone else come across this
issue and if so is there a fix?
> rwhole <- st_transform(rwhole,st_crs(ele.map))
*** Error in `/usr/local/lib64/R/bin/exec/R': corrupted double-linked list: