From nicolas.turenne at jouy.inra.fr  Mon Jun 12 18:25:03 2006
From: nicolas.turenne at jouy.inra.fr (Nicolas Turenne)
Date: Mon, 12 Jun 2006 18:25:03 +0200
Subject: [Rd] about integration of a  library into package creation
In-Reply-To: <Pine.LNX.4.64.0606121652510.31903@gannet.stats.ox.ac.uk>
References: <448D81F9.8040406@jouy.inra.fr> <448D864F.2070704@stats.uwo.ca>
	<Pine.LNX.4.64.0606121652510.31903@gannet.stats.ox.ac.uk>
Message-ID: <448D955F.9050201@jouy.inra.fr>

in that sense, it is useless to load the library from R source code 
making my package
which is supposed to include it and load it

so if i understand the R philosophy it is not possible to load dll from 
outside ;
the user has to load my package  and manually has to load the necessary 
libraries
each time he has to use my library,  right ?

--
Nicolas

Prof Brian Ripley a ?crit :

>
> And also to load  the package, maybe with
>
> rterm R_DEFAULT_PACKAGES=NULL
>
>> library(svcR)
>
>
> as these messages often indicate missing package dependencies.
>
>>> * checking package subdirectories ... WARNING
>>> Subdirectory 'src' contains no source files.
>>> * checking R files for syntax errors ... OK
>>> * checking R files for library.dynam ... OK
>>> * checking S3 generic/method consistency ... WARNING
>>> Erreur : le chargement du package / espace de noms a echoue' pour 
>>> 'svcR'
>>> Sequence d'appel :
>>> 2: stop(gettextf("package/namespace load failed for '%s'",
>>> libraryPkgName(packag
>>> e)),
>>>        call. = FALSE, domain = NA)
>>> 1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose =
>>> FALSE)
>>> Execution arrete'e
>>> See section 'Generic functions and methods' of the 'Writing R 
>>> Extensions'
>>> manual.
>>> * checking replacement functions ... WARNING
>>> Erreur : le chargement du package / espace de noms a echoue' pour 
>>> 'svcR'
>>> Sequence d'appel :
>>> 2: stop(gettextf("package/namespace load failed for '%s'",
>>> libraryPkgName(packag
>>> e)),
>>
>



[Rd] about integration of a library into package creation
Nicolas Turenne