On 27 December 2009 at 19:05, Ben Goodrich wrote:
| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
|
|
| Hi Dirk,
|
| Dirk Eddelbuettel wrote:
| > Then it is probably Perl related -- see /usr/share/R/share/perl/R/Dcf.pm
|
| That is certainly a possibility, but it appears as if none of the perl
| packages have been updated recently. Just a few lines into read.dcf(),
| it calls return(.Internal(readDCF(file, fields))) , which is a C
| function defined here
|
| https://svn.r-project.org/R/trunk/src/main/dcf.c
|
| that yields the original error message.
|
| So, looking at the list of updated packages, I would have guessed that
| the culprit was libglib2.0-0 (rather than libgfortran3 or
| libpango1.0-0), but neither downgrading libglib2.0-0 down to the version
| in testing nor upgrading to the version in experimental resolves the
| problem.
|
| I can install and use R 2.10.1 from the CRAN source, so it must be
| something with a dependency of r-base-core. Does
|
| apt-get source -b r-base-core
But that's now how I do it -- I use pbuilder (as do the build daemons).
| still succeed on your computer (it doesn't on either of mine)? If so,
| can you tell me if there are any conspicuous differences with the
| versions of the libraries you have installed?
So let's backtrack. It so happens that I had just used read.dcf in the
context of a package. So let's try something simple:
R> read.dcf(system.file("DESCRIPTION", package="lattice"), "Package")
Package
[1,] "lattice"
R>
That works on my testing system just fine, in the running R session or on the
cmdline:
e...@ron:~$ r -p -e'read.dcf(system.file("DESCRIPTION", package="lattice"),
"Package")'
Package
[1,] "lattice"
e...@ron:~$
Dirk
--
Three out of two people have difficulties with fractions.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]