Re: [Rd] Bug#424696: R CMD INSTALL -l <path> does not create path (PR#9691)

From: <edd_at_debian.org>
Date: Wed, 16 May 2007 23:16:47 +0200 (CEST)

Soeren,

On 16 May 2007 at 23:00, Soeren Sonnenburg wrote:
| Package: r-base-core
| Version: 2.5.1~20070513-1 [ aka R-patched as of 20070513 ]
| Severity: important
|
| R CMD INSTALL -l /path/to/lib
|
| no longer creates /path/to/lib but assumes it does already exist. This
| is a change in behaviour as it has worked with R 2.4.X

Let me pass that on to R Bugs then as it is in no way related to any Debian changes.

Thanks, Dirk  

| looking at /usr/lib/R/bin/INSTALL, the problem seems 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 ?)
| lib=`${GETWD}`
| cd ${startdir}
| fi
|
|
| -- System Information:
| Debian Release: lenny/sid
| APT prefers stable
| APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (1, 'experimental')
| Architecture: i386 (i686)
|
| Kernel: Linux 2.6.21.1-sonne (SMP w/2 CPU cores; PREEMPT)
| Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/dash
|
| Versions of packages r-base-core depends on:
| ii atlas3-base [libblas.so.3 3.6.0-20.6 Automatically Tuned Linear Algebra
| ii atlas3-sse2 [libblas.so.3 3.6.0-20.6 Automatically Tuned Linear Algebra
| ii libbz2-1.0 1.0.3-6 high-quality block-sorting file co
| ii libc6 2.5-7 GNU C Library: Shared libraries
| ii libgfortran1 4.1.2-7 Runtime library for GNU Fortran ap
| ii libice6 1:1.0.3-2 X11 Inter-Client Exchange library
| ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
| ii libpaper-utils 1.1.21 Library for handling paper charact
| ii libpcre3 6.7-1 Perl 5 Compatible Regular Expressi
| ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
| ii libreadline5 5.2-2 GNU readline and history libraries
| ii libsm6 2:1.0.3-1 X11 Session Management library
| ii libx11-6 2:1.0.3-7 X11 client-side library
| ii libxt6 1:1.0.5-2 X11 toolkit intrinsics library
| ii perl 5.8.8-7 Larry Wall's Practical Extraction
| ii refblas3 [libblas.so.3] 1.2-8 Basic Linear Algebra Subroutines 3
| ii tcl8.4 8.4.12-1.1 Tcl (the Tool Command Language) v8
| ii tk8.4 8.4.12-1 Tk toolkit for Tcl and X11, v8.4 -
| ii unzip 5.52-9 De-archiver for .zip files
| ii zip 2.32-1 Archiver for .zip files
| ii zlib1g 1:1.2.3-14 compression library - runtime
|
| Versions of packages r-base-core recommends:
| ii r-base-dev 2.5.1~20070513-1 GNU R installation of auxiliary GN
| ii r-recommended 2.5.1~20070513-1 GNU R collection of recommended pa
|
| -- no debconf information
|

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Wed 16 May 2007 - 21:33:37 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 May 2007 - 20:35:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.