similar to: How to link two R packages together

Displaying 20 results from an estimated 1000 matches similar to: "How to link two R packages together"

2009 Jun 30
1
Conditional dependency between packages
Hi, I have already asked a similar question twice without response on the r-help list https://stat.ethz.ch/pipermail/r-help/2009-June/200300.html but this list might be more appropriate. If there is a particular reason for the lacking answers (unclear, missing information, the solution is obvious to everyone except me, etc), I would like to know. The description below is generalized, but I
2005 Nov 28
1
import of Namespaces
Dear R devels, let's say I have three packages "pkg1", "pkg2" and "pkg3" which all contain new S4 classes and methods. Where "pkg3" depends on "pkg2" and "pkg2" depends on "pkg1". Moreover, all three packages have namespaces. 1) I use ".onLoad <- function(lib, pkg) require(methods)". Do I also have to
2002 Oct 01
1
R CMD check dependency simplification
I am trying to re-organizing my Makefile for testing my R packages and I am having trouble finding a structure I like. The problem seems to be that "R CMD check", which does wonderful things, does not allow dependency information to flow through very gracefully. That is, since everything is copied into the pkg.Rcheck directory, it is difficult to make any changes to source files without
2009 Sep 18
1
Missing link(s) in documentation object
Hi, I want to cross-reference from the documentation of pkg1 to pkg2, which is imported in the NAMESPACE of pkg1, and under Depends in DESCRIPTION of pkg1. According to "Writing R extensions", this can be done by: \code{\link{foo}} when foo is an aliased function in the documentation of pkg2. This works as it should when I install the package, but when I run R CMD check pgk1, I get
2013 Jul 31
1
Depends vs Imports
I am being asked to modernize the Depends line in the DESCRIPTION file of some packages. Writing R Extensions says: The general rules are Packages whose namespace only is needed to load the package using library(pkgname) must be listed in the ?Imports? field and not in the ?Depends? field. Packages listed in imports or importFrom directives in the NAMESPACE file should
2005 Jan 04
2
warnings and errors with R CMD INSTALL
Hello, unfortunately I had to compile latest version of R-2.0.1 by myself. I'd rather would prefer vendors binaries but since the current version of Ubuntu defaults to 1.9.x I had to compile R on my own in order to be up to date! So far, everything went fine and R runs smoothly. Unfortunately I am not able to use R CMD INSTALL command to install add-on packages. I followed RNews 3/3 and
2009 Jun 09
0
Dependency between packages for Windows-binaries
Hi, I have already asked a similar question without response (https://stat.ethz.ch/pipermail/r-help/2009-June/200300.html) so I am here reformulating in the hope that someone is able to help. If something is unclear, please ask. I am working on the development of two packages, pkg1 and pkg2 (based on work in two different projects). pkg1 is quite generic, pkg2 tries to solve a particular
2009 Jun 03
0
Problems with conditional importFrom in NAMESPACE
Hi, I am currently involved in the development of two R-packages, pkg1 and pkg2. They should not be dependent on each other, as most users will only be interested in one of them. Still, I want pkg2 to provide one extra S3 method for three functions (fun1-3) in pkg1 for objects of a class defined in pkg2 (class2), for those users who actually have both packages installed. I think this
2010 Jun 22
1
Installing packages from folder on the computer
i am able to install zip files of packages from local zip files using the file.choose() for the package argument in install.packages() function in R console and also from the Packages menu>install from local zip files. But if there are many packages to install (say >15 or 20), then i have to factor in dependencies of 15-20 packages which may be more than 100 or 200 packages in all to be
2019 Apr 12
6
[supermin PATCH 0/5] rpm: fix package selection w/ multilib
This patch series fixes the way supermin sorts the list of installed packages when resolving a name, picking the right package for the host architecture. Pino Toscano (5): rpm: do not unpack parameters rpm: fix version comparison rpm: query the RPM architecture rpm: fix package sorting (RHBZ#1696822) utils: remove unused 'compare_architecture' function src/librpm-c.c | 10
2018 Aug 20
0
Consider setting RTLD_GLOBAL when loading packages in LinkingTo
Hi everyone, Some of you probably received the following thread from the Rcpp-devel mailing list: http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2018-August/010072.html Summing up, the issue described is the following: pkg1 provides type1 in pkg1.so building on some headers. pkg2 links to pkg1 (BTW, LinkingTo is actually misleading, because it doesn't really link to it), i.e.,
2017 Apr 10
3
[PATCH] builder: various improvements to the documentation
- convert the Fedora 20 examples to Fedora 25 - convert the yum examples to dnf - convert the Debian 7 examples to Debian 8 - mention that --core updates all the installed packages, not "core" ones - convert i386 to i686 for the Fedora 32bit examples - mention that autogenerated root passwords are printed on stdout - mention --get-kernel is deprecated in favour of virt-get-kernel -
2015 Feb 12
2
[PATCH] macosx: Darwin-specific autoconf macros
* Replace LD_LIBRARY_PATH with DYLD_LIBRARY_PATH for Darwin * Remove the -lcrypt flag for Darwin (unsupported) --- configure.ac | 13 +++++++++++++ run.in | 10 +++++----- v2v/link.sh.in | 2 +- 3 files changed, 19 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index d68190a..295de11 100644 --- a/configure.ac +++ b/configure.ac @@ -582,6 +582,19 @@ fi
2016 Aug 09
2
Re: [PATCH 2/8] v2v: add basic support for the "deb" package manager
On Mon, 8 Aug 2016 18:38:49 +0200 Pino Toscano <ptoscano@redhat.com> wrote: > Implement the 'remove', 'file_list_of_package', and 'file_owner' methods > of the Linux module for the "deb" package manager (dpkg basically, on > Debian and derived distributions). > > Also allow it for the main conversion code. > --- >
2011 Aug 23
1
How to keep the command 'R CMD INSTALL -l' running, even when some error is encountered?
Hi, 'R CMD INSTALL -l' will stop if some error is encountered. I don't find in the manual an option to keep the command running. Is there such an option? -- Tom
2005 Jan 05
3
Option for "Delete downloaded files (y/N)?" in install.packages()
Hello! I have a wish/proposal. Is it possible to include some option in install.packages() for Delete downloaded files (y/N)? at the end of that process. It can be quite anoying if you must install several packages and wait meanwhile to type y/n for each package separately. -- Lep pozdrav / With regards, Gregor GORJANC ---------------------------------------------------------------
2012 Jul 27
1
Turn categorical array into matrix with dummy variables
Hi All, I want to turn a categorical array (array with factors) into a matrix with dummy variables. like array=c(a,a,b,b,b) should be turned into: a b 1 0 1 0 0 1 0 1 0 1 Do you know any way of doing this? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Turn-categorical-array-into-matrix-with-dummy-variables-tp4638134.html Sent from the R help mailing list archive at
2006 Aug 29
0
'CanMakeUseOf' field [was ".. Add 'fields' argument ..]
CanUse? If the 'Suggests' field "lists packages that are not necessarily needed" (Writing R Extensions), then why is the user required to have the package installed to pass R CMD check? Likewise, if a CanMakeUseOf field is added, then why would one choose to use Suggests at all? That is, is there an advantage to requiring that the user have a package available (to pass R CMD
2007 Mar 28
1
accessing "hidden" functions
Hi, (I tried looking for it, but I don't think it was discussed before... or maybe I didn't use the correct keywords). I have a package (say, pkg1), which uses NAMESPACE. This package contains a bunch of functions the are used internally, therefore they're not exported (say, internalFunc1). Even though internalFunc1 is not exported, I can access it externally using
2007 Dec 06
1
updating a helper function in a R package
Hi list, Sorry for the vague title, but here is the scenario. I?m writing an R package, let?s say, ?pkg1?, which contains 3 functions: f1, f2, f3. f2 and f3 are helper functions for f1, i.e. f1 calls f2 which in turn calls f3. f1 <- function(?) { ?. f2() ? } f2 <- function(?){ ? f3(?) ? } f3 <- function(...){ .... } Then, I wrote a new version of f3 and I want to