[Rd] problem to read data into a package

2006-06-15 Thread Nicolas Turenne
Hello i have this following error making a package -- Making package svcR adding build stamp to DESCRIPTION installing NAMESPACE file and metadata installing R files installing data files installing man source files installing indices Error in read.table(zfile, hea

Re: [Rd] about integration of a library into package creation

2006-06-14 Thread Nicolas Turenne
Hello, I dont understand such error coming from my installed package and dont appearing when i load the code source directly . The problem occur when the function capture the path value (FileIn), and so cannot find the file inside the directory. > findModelCluster(MetOpt, MetLab, Nu, q, K=1, G,

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
i solve the problem of masked GlobalEnv which is induced from conflicts with objects in memory removing objects before installing the package solves the warning message Nicolas __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
are masked _by_ .GlobalEnv : findModelCluster thank for help -- Nicolas Duncan Murdoch a écrit : > Nicolas Turenne wrote: > >> i follow your recommendation writing this : >> in the description file >> Depends: R (>= 2.3), quadprog, ade4, spdep >> Imports: quadpr

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
' n'a pas d'espace de noms do you have an explanation ? thank for help --- Nicolas Duncan Murdoch a écrit : > Nicolas Turenne wrote: > >> i follow your recommendation writing this : >> in the description file >> Depends: R (>= 2.3), quadprog, ade4, spd

Re: [Rd] about integration of a library into package creation

2006-06-13 Thread Nicolas Turenne
failed *** it says that quadprog has not a namespace perhaps it is due to location of quadprog.dll i have put it into inst/src directory thank for help Nicolas Uwe Ligges a écrit : > Nicolas Turenne wrote: > >> your answer is correct after checking some doc >> but examples are

Re: [Rd] about integration of a library into package creation

2006-06-12 Thread Nicolas Turenne
t;) importFrom("knearneigh", "spdep") i obtain : Namespace dependencies not required: dist.dudi dudi.coa dudi.pca knearneigh mstree neig2mat solve.QP if i delete the importFrom lines i get an error about "loading / namespace not succesful" for svcr i think the solution

Re: [Rd] about integration of a library into package creation

2006-06-12 Thread Nicolas Turenne
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 e

Re: [Rd] about integration of a library into package creation

2006-06-12 Thread Nicolas Turenne
> > >You didn't show the results of installing your package. Did that work? > >Generally we advise to do a successful install before you try to run checks. > >Duncan Murdoch D:\RBuild\svcR> rcmd build D://RBuild//svcR --force --docs='all' --binary hence i obtain the file svcR_1.0.zip and

[Rd] about integration of a library into package creation

2006-06-12 Thread Nicolas Turenne
hello, i try to create a package , and i call a library in the namespace file such as : useDynLib(quadprog) after checking my directory with the command "rcmd check" (i am on WindowsXP) i get an error: package / namespace load failed the path of the library is: D:\R\library\quadprog the pat