Displaying 13 results from an estimated 13 matches for "r_package_dir".
2012 Oct 18
1
R CMD check --force-biarch
...een R and a third-party library (Netica.dll). The vendor supplies this library in both a 32 bit and a 64 bit version.
Under Linux, I use configure to link against the 32 or 64 bit version of libnetica.a as appropriate.
Under Windows, I use configure.win to copy the 32 and 64 bit versions to "$R_PACKAGE_DIR/libs/i386" and "$R_PACKAGE_DIR/libs/x64" respectively.
Installation:
This mostly works. If I run R CMD INSTALL RNetica, R detects the configure.win and only builds the 64 bit version of RNetica. [I'm not entirely clear on why R doesn't at least try to build both architect...
2012 Nov 28
1
R CMD check --force-biarch
...een R and a
third-party library (Netica.dll). The vendor supplies this library in both
a 32 bit and a 64 bit version.
Under Linux, I use configure to link against the 32 or 64 bit version of
libnetica.a as appropriate.
Under Windows, I use configure.win to copy the 32 and 64 bit versions to
"$R_PACKAGE_DIR/libs/i386" and "$R_PACKAGE_DIR/libs/x64" respectively.
Installation:
This mostly works. If I run R CMD INSTALL RNetica, R detects the
configure.win and only builds the 64 bit version of RNetica. [I'm not
entirely clear on why R doesn't at least try to build both architect...
2009 Jun 29
1
Installing DLL elsewhere than in \libs?
...ed 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 tried using a cleanup.win file that contains:
cp src/alib.dll "${R_PACKAGE_DIR}/tklibs/tkpackage/alib.dll"
but it does not work. The Writing R extensions manual explicitly says
not to use ${DPKG}. Yet, the following instruction does the job under R
2.8.0:
cp src/alib.dll "${DPKG}/tklibs/tkpackage/alib.dll"
I become really desperate to get it working!
Thank...
2004 Oct 05
1
R 2.0.0: problem: installing --with-package-versions
Hello R developers,
installing R 2.0.0 from source on a Linux Debian system (gcc 3.2.2)
- which worked just fine - I encountered the following problem when trying to
update/install packages with the option --with-package-versions:
example: RUnit 0.4.0 (also on CRAN)
R20 CMD INSTALL -l /mnt/local/R/R-2.0.x-libs-EpiR --with-package-versions
RUnit_0.4.0.tar.gz
or after untaring
R20 CMD INSTALL
2015 Oct 22
1
Missing parenthesis in R-exts.texi
Line 1204 (right now) of svn/r-devel/doc/manual/R-exts.texi has
dest <- file.path(R_PACKAGE_DIR, paste0('bin', R_ARCH)
which lacks a closing ) -- two open, only one close right now.
Dirk
[1] I would have reported a bug, but I am aware of a recent and
not-so-friendly response when bugzilla was used to report a typo.
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian....
2003 Sep 22
1
anybody running Rggobi on a redhat 9.0 system?
...ackages") was not found
Error in "class<-"(*tmp*, value = Class) :
couldn't find function "objWithClass"
Error in library("methods") : .First.lib failed
Execution halted
/usr/local/lib/R/bin/INSTALL: line 1: 14240 Broken pipe cat
"${R_PACKAGE_DIR}/R/${pkg}"
ERROR: execution of package source for 'Rggobi' failed
many thanks for your help
Christoph
--
Christoph Lehmann <christoph.lehmann at gmx.ch>
2003 Oct 01
1
installing DBI_0.1-6.tar.gz
...ine 1: 1856
Done ( echo
"options(save.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 (Leu...
2004 Jan 28
1
build fails to build help for nlme
...latex example
reStruct text html latex example
/home/sfalcon/sw/R-related/R-1.8.1/bin/INSTALL: line 1: 8133 Segmentation fault ${R_CMD} perl "${R_HOME}/share/perl/build-help.pl" ${build_help_opts} "${pkg_dir}" "${lib}" "${R_PACKAGE_DIR}" "${pkg_name}"
ERROR: building help failed for package 'nlme'
** Removing '/home/sfalcon/sw/R-related/R-1.8.1/library/nlme'
make[2]: *** [nlme.ts] Error 1
make[2]: Leaving directory
`/home/sfalcon/sw/R-related/R-1.8.1/src/library/Recommended'
make[1]: *** [recomm...
2010 Jun 10
1
HOW to install RSQLite database
...on:
1. Simple installation:
R CMD INSTALL RSQLite-.tar.gz
the installation automatically detects whether SQLite is
available in any of your system directories; if it's not
available, it installs the SQLite engine and the R-SQLite
interface under the package directory $R_PACKAGE_DIR/sqlite.
2. If you have SQLite installed in a non-system directory (e.g,
in $HOME/sqlite),
a) You can use
export PKG_LIBS="-L$HOME/sqlite/lib -lsqlite"
export PKG_CPPFLAGS="-I$HOME/sqlite/include"
R CMD INSTALL RSQLite-.tar.gz
b) or you can...
2003 Sep 08
0
Rgobi installation failed, thanks for help
...ackages") was not found
Error in "class<-"(*tmp*, value = Class) :
couldn't find function "objWithClass"
Error in library("methods") : .First.lib failed
Execution halted
/usr/local/lib/R/bin/INSTALL: line 1: 11697 Broken pipe cat
"${R_PACKAGE_DIR}/R/${pkg}"
ERROR: execution of package source for 'Rggobi' failed
--
many thanks for your help
Christoph
--
Christoph Lehmann <christoph.lehmann at gmx.ch>
2006 Jul 10
1
Add .git to SCM excludes for build and INSTALL scripts
...@@ -863,7 +863,7 @@ do_install_source () {
## When installing from a source directory under version control, we
## should really exclude the subdirs CVS, .svn (Subversion) and
## .arch-ids (arch).
- for d in CVS .svn .arch-ids; do
+ for d in CVS .svn .arch-ids .git; do
find "${R_PACKAGE_DIR}" -name ${d} -type d -prune \
-exec rm -rf \{\} \; 2>/dev/null
done
diff --git a/src/scripts/build.in b/src/scripts/build.in
index 15c9e0c..ee880d9 100755
--- a/src/scripts/build.in
+++ b/src/scripts/build.in
@@ -181,6 +181,7 @@ foreach my $pkg (@ARGV) {
print EXCLUDE &quo...
2009 Sep 07
0
R CMD INSTALL --clean
..., href ){
sprintf( '<a href="%s">%s</a>', href, txt )
}
line <- function( link, txt ){
sprintf( '<tr><td width="25%%">%s</td>\n<td>%s</td></tr>\n', link, txt )
}
ooindex.file <- file.path( Sys.getenv( "R_PACKAGE_DIR" ) , "html",
"00Index.html" )
if( file.exists( ooindex.file ) ){
# read the 00Index.html file
ooindex <- readLines( ooindex.file )
bottom <- grep( "^</table>", ooindex)
bottom <- bottom[ length(bottom) ]
# add java specific things
txt <-...
2005 Mar 30
1
Installing GO 1.7.0
...0:00
8421 pts/5 D+ 1:11 /usr/lib/R/bin/exec/R --vanilla
When I kill the 8421 process, I get:
/usr/lib/R/bin/INSTALL: line 381: 8088 Done echo
"invisible(.libPaths(c(\"${lib}\", .libPaths())));
tools:::.install_package_indices(\".\", \"${R_PACKAGE_DIR}\")"
8089 Killed | R_DEFAULT_PACKAGES=NULL LANG=C
"${R_EXE}" --vanilla >/dev/null
ERROR: installing package indices failed
I let this run for over 6 hours, and it didn't seem to complete (or make
any changes).
Unfortunately, lots of Bioconductor s...