Displaying 20 results from an estimated 32 matches for "r_exe".
Did you mean:
r_ext
2006 Jul 31
1
building windows packages under wine/linux and cross-compiling.
...ool's cygwin dependency. forking
(as much of make and sh is forking sub-processes)
on posix-on-win32-on-posix currently doesn't work.
(http://wiki.winehq.org/CygwinSupport)
Cross-compiling: The instruction in R/src/gnuwin32/README.packages
essentially works, with one missing detail: "R_EXE=/usr/bin/R" is also
needed. Thus it should be:
make R_EXE=/usr/bin/R PKGDIR=/mysources RLIB=/R/win/library \
pkg-mypkg
make P_EXE=/usr/bin/R KGDIR=/mysources RLIB=/R/win/library \
pkgcheck-mypkg
Hin-Tak Leung
2005 Feb 07
1
Problems encountered/fixed making CrossCompileBuild
...q ($(findstring devel, $(R)), devel)
RURL = ftp://ftp.stat.math.ethz.ch/Software/R
REXT = tar.gz
else
RURL = http://cran.us.r-project.org/src/base/R-2
REXT = tar.gz
endif
R_TCL_URL = http://www.murdoch-sutherland.com/Rtools/R_Tcl.zip
#MINGW_CROSS = mingw-cross2 now:
MINGW_CROSS = mingw-cross4
## R_EXE
LinuxFresh = YES
ifeq ($(strip $(LinuxFresh)),YES)
R_EXE = $(LINUXR)/R/bin/R
else
R_EXE = R
endif
default:
@echo "syntax:"
@echo "make <target>"
@echo "No <Target> Specified. Should be one of:"
@echo " "
@echo "-------------------&quo...
2004 Oct 19
1
Cross compiling in R-2.0.0
...l] Erro 2
make[3]: *** [pkg-base] Erro 2
make[2]: *** [rpackage] Erro 2
make[1]: *** [all] Erro 2
make[1]: SaĆndo do directorio `/home/iago/crossbuild/WinR/R-2.0.0/src/gnuwin32'
The error appears in the call to $(REXE), that was defined in
R-2.0.0/src/gnuwin32/MakePkg (Line 18) as:
REXE = $(R_EXE) --vanilla --slave
I tried substituting REXE with R --vanilla --slave and that did the trick, only
to later fail with a complain about $(R_HOME).
Is there any reason for this failure in the Makefile variables? Anything to do
with the change from 1.9.1 to 2.0.0?
Many thanks,
Iago Mosqueira...
2004 Dec 16
1
Lazy-loading db setup in the R build process
...ion of R (2.0.0) to
another?
I ask this as I'm trying to cross-compile R (for ARM), and need to use R
itself to perform the lazy-loading db setup (and probably other things) as
part of the build process. Therefore I build a native version of R (x86) and
pass the path of the native R binary as R_EXE in the arm cross-build
Makefiles (in src/library and its sub-directories).
This fails with the following error:
| make[3]: Entering directory
`/home/simon/dev/bk/build/tmp/work/r-2.0.0-r0/R-2.0.0/src/library/base'
| building package 'base'
| mkdir -p -- ../../../library/base/demo mkdi...
2008 Nov 18
2
anyone familiar with this error?
...5001 Done
( echo "options(warn=1); invisible(.libPaths(c(\"${lib}\",
.libPaths()))); .getRequiredPackages();
tools:::makeLazyLoading(\"${R_PACKAGE_NAME}\", \"${lib}\")" )
25002 Aborted (core dumped) | R_DEFAULT_PACKAGES=
LC_ALL=C "${R_EXE}" --vanilla --slave
ERROR: lazy loading failed for package 'portfolio.construction'
** Removing '/usr/local/lib64/R/library/portfolio.construction'
** Restoring previous '/usr/local/lib64/R/library/portfolio.construction'
[whit at linuxsvr R.packages]$
I've tried...
2003 Oct 01
1
installing DBI_0.1-6.tar.gz
...image.defaults=${save_image_defaults})"; if test
-s R_PROFILE.R; then
cat R_PROFILE.R;
fi; echo "invisible(.libPaths(c(\"${lib}\", .libPaths())))"; cat
"${R_PACKAGE_DIR}/R/${pkg}" )
1857 Segmentation fault | ${R_EXE} --slave --save
${save_args}
ERROR: execution of package source for 'DBI' failed
Can somebody help me?
Thanks a lot,
Kind regards,
Joke.
Joke Allemeersch
Kasteelpark Arenberg 10
3001 Heverlee (Leuven)
http://www.esat.kuleuven.ac.be/~dna/BioI/
[[alternative HTML ve...
2008 Mar 24
1
make error: ../../../bin/R: bad substitution
...n I run 'make' under src/library/base:
../../../library/base/R/base is unchanged
../../../bin/R: bad substitution
make: *** [all] Error 1
I traced it down to the following line in src/library/base/Makefile:
@cat $(srcdir)/makebasedb.R | \
R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) --slave > /dev/null
I am trying to build R-2.6.2 on a Solaris 9 box.
Can anyone advise on what may go wrong? Thank you.
[[alternative HTML version deleted]]
2005 Apr 15
1
Error Building From Source
...\bin;C:\perl\bin;C:\texmf\miktex\bin;C:\HTMLws\;C:\R201\R201\bin;%System
Root%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\
Common Files\Adaptec Shared\System;C:\LINGO9\
and Mkrules has been edited and reads
# path (possibly full path) to same version of R on the host system
R_EXE=C:/R201/R201/bin
when I type make I get the following:
---------- Making package base ------------
adding build stamp to DESCRIPTION
C:/R201/R201/bin: not found
make[4]: *** [frontmatter] Error 127
make[3]: *** [all] Error 2
make[2]: *** [pkg-base] Error 2
make[1]: *** [rpackage] Error 2
make:...
2010 Jun 23
1
problem to building R (datasets)
...s: <Anonymous> -> <Anonymous> -> dir.create
Execution halted
make[2]: *** [all] Error 1
make[1]: *** [R] Error 1
make: *** [all] Error 2
And it was caused by
@$(ECHO) "tools:::data2LazyLoadDB(\"$(pkg)\", compress=3)" | \
R_DEFAULT_PACKAGES=NULL LC_ALL=C $(R_EXE) > /dev/null
at the Makefile.win in the src/datasets directory
I am using Window XP and tried to compile 2.11.1 version.
I can't imagine how I can solve this problem. Any hints or suggestions will
be appreciated.
Thank you.
Lee.
[[alternative HTML version deleted]]
2006 Jun 02
1
Installation R-2.3.1 on IBM AIX5.3 (PR#8931)
...1506-277 (S) Syntax error: possible missing
';' or ','?
Solution:
add variable argument list in Rvprintf(const char *format, va_list arg, ...)
add ';' in line 591
@echo "tools:::makeLazyLoading(\"$(pkg)\")" | \
R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave > /dev/null
in Makefiles of various packages leads to:
*** caught illegal operation ***
address 10000000, cause 'illegal opcode'
With best regards,
Karsten Tabelow
2007 Jun 29
1
R CMD build with mingw and msys (PR#9766)
...):+/cygdrive/\1+;
}
which does not work if the build environment is a MINGW.
I have added the patch below,
Yours,
Steffen
$ diff -u build build.orig
--- build Fri Jun 29 13:50:16 2007
+++ build.orig Fri Jun 29 08:51:48 2007
@@ -47,7 +47,6 @@
R::Vars::error("R_HOME", "R_EXE");
my $WINDOWS = ($R::Vars::OSTYPE eq "windows");
-my $MSYS = ( $ENV{OSTYPE} eq "msys" );
my @exclude_patterns = R::Utils::get_exclude_patterns();
@@ -222,14 +221,10 @@
my $filepath = &file_path($startdir, $filename);
## under Windows, need separate C...
2004 Aug 05
1
Problem in method's Makefile?
...MDDhhmm[.SS]] file ...
*** Error code 1
I traced this down to the Makefile in methods:
$(top_builddir)/library/$(pkg)/R/$(pkg).rdb: $(top_builddir)/library/$(pkg)/R/all.rda
@echo "tools:::makeLazyLoading(\"$(pkg)\")" | \
R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave >
/dev/null
@cat /dev/null > $(top_builddir)/library/$(pkg)/R/all.rda
@touch $^
I'm not sure what it is about that touch call, but commenting it out
causes things to build normally. When I try to echo '$^', it appears to
be an empty string.
This is all...
2004 Aug 05
1
Problem in method's Makefile?
...MDDhhmm[.SS]] file ...
*** Error code 1
I traced this down to the Makefile in methods:
$(top_builddir)/library/$(pkg)/R/$(pkg).rdb: $(top_builddir)/library/$(pkg)/R/all.rda
@echo "tools:::makeLazyLoading(\"$(pkg)\")" | \
R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave >
/dev/null
@cat /dev/null > $(top_builddir)/library/$(pkg)/R/all.rda
@touch $^
I'm not sure what it is about that touch call, but commenting it out
causes things to build normally. When I try to echo '$^', it appears to
be an empty string.
This is all...
2004 May 10
1
Solve for "Please set TMPDIR to a valid temporary directory"
...re to create a C:\temp directory, or
include $TMP or $TEMP in Var.pm. I did the latter, and it works for me.
I include the fix below.
if($OSTYPE eq "windows"){
## DON'T add R_HOME/bin here: it might contain spaces and will not
## work using system() under Windows 98.
$R_EXE = "Rterm.exe";
$R_CMD = "Rcmd.exe";
getenv("TMPDIR", "TMP", "TEMP", "C:/TEMP"); # Edited to include TMP
and TEMP
print "tmpdir is $TMPDIR\n"; # Edited to include print
if (-d $TMPDIR) {
$TMPDIR = Win32::GetSho...
2002 Apr 08
1
Still having a problem with Rcmd - TMPDIR
...ey's suggestion:
$WINDOWS = ($OS eq "windows");
if($WINDOWS) {
$TMPDIR = R_getenv("TMPDIR", "/TEMP");
print "tmpdir is $tmpdir\n"; # added line
die "Please set TMPDIR to a valid temporary directory\n"
unless (-e $tmpdir);
$R_exe = "Rterm.exe";
$LATEX = "latex";
$MAKE = "make";
}
The output is below:
F:\r\library>f:\r\bin\rcmd check ringsim
tmpdir is
Please set TMPDIR to a valid temporary directory
So it does indeed appear that there is no tmpdir. How can I set this
variable? The...
2008 Jun 04
1
"ignoring environment value of R_HOME" error when installing packages
...\
test "${R_HOME}" != "${R_HOME_DIR}"; then
echo "WARNING: ignoring environment value of R_HOME"
fi
- Here is line 606 of <R_HOME>/bin/INSTALL:
CLINK_CPPFLAGS=`echo
"tools:::.find_cinclude_paths(file='DESCRIPTION')" | \
"${R_EXE}" --vanilla --slave`
The work-around:
First some background. The command sequence "R CMD INSTALL" sets in
motion a sequence of scripts that collectively manage the installation
process.
"R" <R_HOME>/bin/R calls Rcmd script on line
148...
2005 Dec 20
2
Problems with Windows Cross compile
Well, I'm finally getting around to setting up a cross-compiler for Windows on my local Linux box. I'm using the Yan & Rossini's docuimentation and the latest 'http://cran.r-project.org/doc/contrib/Makefile-rcb' , which is working of the R-2.2.0 sources.
After discovering that "cp -p" doesn't work on the filesystem I'm using and removing the
2007 Jun 25
1
problem building first package
...ure and put the
package-to-be "removal" in C:\toBuild
-I edited my path to :
C:\Rtools\bin;C:\perl\bin;C:\Rtools\MinGW\bin;C:\R-2.5.0\bin;...
-I changed the following in the MkRules file:
1)HEADER=C:/Rtools/MinGW/include
2)HELPTYPES = -txt
3)WINHELP = NO
4)HEADER=C:/Rtools/MinGW/include
5)R_EXE=C:/R-2.5.0/bin/R.exe
-Next, I opened up a command prompt and went to c:/toBuild
-Then I ran: R CMD build removal. No problems.
-Then I ran: R CMD INSTALL removal_1.0.tar.gz
and got this:
---------------------
installing to 'c:/R-2.5.0/library'
latex: not found
latex: not found
latex: not f...
2001 Sep 06
4
code/documentation mismatches
Hi,
I would like to get a hint on how to debug in the case of
#> R CMD check pllib
signalling
* checking for code/documentation mismatches ... WARNING
Error in parse(file, n, text, prompt) : syntax error on line 22
I am able to sort out which of the files is the culprit is by swapping
files in and out of the /R and /man directories. But I cannot find the
syntax error, the .Rd file seems
2007 May 23
1
(PR#9691) 'Bug'#424696: R CMD INSTALL -l <path> does not
...ms to be in the block starting at line 298:
> |
> |
> |
> | lib=`tilde_expand "${lib}"`
> | if test -z "${lib}"; then
> | lib=`echo "cat('\n~~~', .libPaths()[1], '\n', sep = '')" | \
> | R_DEFAULT_PACKAGES=NULL "${R_EXE}" --no-save --slave | \
> | grep '^~~~' | sed 's/.*~~~//'`
> | message "Installing to library '$lib'"
> | else
> | lib0=${lib}
> | cd ${lib} <-------------- PROBLEM directory must not exist (call MKDIR_P before ?)
> | li...