Displaying 20 results from an estimated 500 matches similar to: "Cross-compilation"
2003 Jul 06
2
cross-compiling for windows with linux
Dear List,
I am (still) trying to use the makefile advertised in R-News
(the Makefile is a wrapper around other tools).
When I try to build a package using the (fairly recent)
'install.R' mecanism, the output leaves me not so confident
about the the usability of the pack built for Windows
(I am currently unable to verify it):
---------- Making package splicegear ------------
installing
2003 Jun 23
1
Cross-compiling R packages
Hi,
I tried to use the 'make' file discussed in the last R-news.
The step 'make R' dies with:
make[2]: Entering directory `/home/laurent/these/R/RCrossBuild/WinR/R-1.7.1/src/gnuwin32'
sed -e s/@RVER@/`cut -d' ' -f1 ../../VERSION | sed -n 1p`/g -e s/@RWVER@/rw1071/g rw-FAQ.texi | \
makeinfo --no-headers --number-sections -o rw-FAQ
makeinfo --no-split --html
2006 Oct 27
1
Overloading functions
Hi Everyone
I have a function f which does something using a function g. Function f
is in a library and g has a default stub in the library but will be mainly
overloaded in a later R script. For example:
########## In a compiled package 'P' #################
g <- function() {
cat("Original function g");
}
f <- function( newGsource=NULL ) {
if(
2007 Jan 19
2
pcre library in R (PR#9319)
I have the same problem, trying to cross-compile.
I'm running Ubuntu Edgy, kernel 2.6.17-10-generic, on an IBM T60.
I downloaded the Makefile from CRAN and ran make CrossCompileBuild
with the following error messages (also ran each make one at the time
and the problem occurs in make R):
../extra/pcre/libpcre.a(pcre_dfa_exec.o):pcre_dfa_exec.c:(.text+0x1703):
undefined reference to
2005 Mar 25
0
Re: Cross-building R packages
Jun hi again!
Sorry for bothering. Although I had no problem with building Windows
package under Linux, I noticed that man pages are not processed as they
should or maybe I have a problem with my setup.
My package is called 'GeneticsPed'. Instead of HTML or text files I just
got a GeneticsPed.Rd.gz in man directory of a package (this is within
GeneticsPed_0.1.zip file!). The file
2003 Apr 22
2
full upload happening even though only a timestamp has changed
Hello,
For no apparent reason Rsync is uploading the whole file even though the
the remote file is identical to the local file. Here is a transcript to
demonstrate what is going wrong:
tomg@nova:~/mylibrary$ rsync -rtlPvessh /extra/library teep:/extra/tomg
building file list ...
46349 files to consider
wrote 1358812 bytes read 20 bytes 44551.87 bytes/sec
total size is 5240249974 speedup is
2007 Jan 30
4
Speed of for loops
Hi Everyone,
I have a question about for loops. If you have something like:
f <- function(x) {
y <- rep(NA,10);
for( i in 1:10 ) {
if ( i > 3 ) {
if ( is.na(y[i-3]) == FALSE ) {
# some calculation F which depends on one or more of the previously
generated values in the series
y[i] = y[i-1]+x[i];
} else {
y[i] <- x[i];
}
}
}
y
}
e.g.
>
2007 Jan 30
4
Speed of for loops
Hi Everyone,
I have a question about for loops. If you have something like:
f <- function(x) {
y <- rep(NA,10);
for( i in 1:10 ) {
if ( i > 3 ) {
if ( is.na(y[i-3]) == FALSE ) {
# some calculation F which depends on one or more of the previously
generated values in the series
y[i] = y[i-1]+x[i];
} else {
y[i] <- x[i];
}
}
}
y
}
e.g.
>
2010 Jul 28
1
[LLVMdev] Adding code to LLVM
Good morning everybody, I am integrating some modifications in the LLVM
parser (specifically in the LLParser.cpp file), by adding calls to functions
that I have defined elsewhere in a file called MyLibrary.cpp. How can I
integrate such library in the overall tree? I would like to have a MyLibrary
folder under lib/ so that I can access it from different parts of the code.
Where should I put
2008 May 16
2
Getting JRI/rJava to work
Hello All
I am trying to get the JRI examples from rJava to work on Windows XP and
failing. (And as a more general and connected question is there any
review/summary of front-end software for R?)
I have installed rJava from the Windows binary supplied. I compile and
run the example supplied (rtest.java) and get the results below. I do
not think the notes about a deprecated API are a problem. But
2005 Jan 28
1
error in gmake CrossCompileBuild
Dear all,
I expect that I am on thin ice trying to build this on
freeBSD 4.10, however, after tweaking Makefile-rcb v11Oct04
/* MAKE=gmake; MINGW_CROSS = mingw-cross4 */, I encounter:
mingw32-gcc -isystem ~/RCrossBuild/cross-
tools/mingw32/include -O2 -Wall -pedantic -I../include -I. -
DHAVE_CONFIG_H -DR_DLL_BUILD -c dynload.c -o dynload.o
dynload.c: In function `R_loadLibrary':
2006 Dec 20
5
writing R extension
I'd like to develop a simple library in R in which to save my
particular functions.
I have read the manual on "Writing R Extensions" but it's too
difficult. Someone could help me?
I want only save my personal function (recorded in R-code, not in C) in
"myLibrary" and I want to call it with:
>library (myLibrary).
After this, the functions should be available
2007 Oct 11
2
R260 cross-compilation
Hi,
I'm trying to cross compile R260 in a ubuntu 6.06 linux. I downloaded
the Makefile for 251 and simply replaced the R version by 260. However
I'm getting an error about mingw.
ernesto at gandalf:~/ipimar/devel/R/ccompile260$ make R
export
2004 Mar 01
2
dynamic linking
Hi,
I want to set up a dynamic link between a library e.g. myLibrary.a and a
C++ file myProgram.cc to use in R. Is this possible? If so how does one
go about doing it?
Any help will be greatly appreciated.
Cheers,
Sam.
2008 Feb 29
4
help
Dear Sir/Madam,
I got some problem about using R.
I am a student, and need to use R a lot. But sometimes when I am working in
computer lab, we can not install some particular pacakges by ourselves because
of the previliges.
Can the folder of Librabry of R, move to, for instance the personal folder, my
documents... then we can install any specified package?
Best regards,
2008 Feb 19
4
How to join path with arguments
Hi, all
How to format and join strings ?
For example, like following short python examples.
*********
name1 = 'sample-plot'
filename = '%s.png' % name1
inputdir = '/path/to/dir'
os.path.join(inputdir, filename)
**********
Best,
Hyunchul Kim
[[alternative HTML version deleted]]
2009 Oct 03
2
[LLVMdev] Internalize pass
Well, after some investigation I have a few more clues as to what is
going on.
I have a module which contains a call to an external native function.
This native function lives in a static library, and there is an external
declaration for it in the module.
I find that I can run "llvm-ld -disable-opts -native -l mylibrary
test.bc" and it works fine. That is, llvm-ld is able to
2009 Oct 03
0
[LLVMdev] Internalize pass
Sounds like LLVM thinks the calling conventions or declarations are
mismatched. See:
http://llvm.org/docs/FAQ.html#callconvwrong
Reid
On Sat, Oct 3, 2009 at 1:16 AM, Talin <viridia at gmail.com> wrote:
> Well, after some investigation I have a few more clues as to what is
> going on.
>
> I have a module which contains a call to an external native function.
> This native
2003 Nov 25
2
O2 optimization produces wrong code (PR#5315)
Full_Name: jean coursol
Version: 1.7.1, 1.8.0
OS: linux & Windows-XP
Submission from: (NULL) (129.175.52.7)
Binary MS-Windows akima module from CRAN (1.8.0 version) produces wrong results
with some data.
Installing akima source in linux, with same data:
-with gcc-2.95.3 -O2 : give correct results (under R 1.7.1);
-with gcc-3.2.3 -O2 : give wrong results (under R-1.7.1 and R-1.8.0);
-with
2018 Feb 15
0
Nice way to add load shared library for use in JIT
Hi all,
After some time looking through the docs for this, I figured perhaps
someone here would know a quick fix for my problem.
I want to be able to use functions from a shared library in a JIT which is
not linked to my JIT binary.
I can use
sys::DynamicLibrary::LoadLibraryPermanently("/specific/path/to/mylibrary",
&err) to load the library, if I know its path.
However, I