Displaying 20 results from an estimated 900 matches similar to: "Cannot link mypackage to 2 other packages"
2013 Jan 27
1
How to remove packages from the active working window
Hi all mailing listers,
My question is as follows:
e.g.
I launched two packages, say packageA and packageB, but they have the
function of the same name, leading to masking. I want to remove the
packageA from the working window after using the packageA so as not to
causing problem. I do not want to carry out task each time using packageA
and packageB individually because many the tasks share
2007 Oct 19
1
install.packages() and configure.args
Hi,
In the case where install.packages("packageA") also needs to install
required package "packageB", then what is passed thru the 'configure.args'
argument seems to be lost when it's the turn of packageA to be installed
(the last package to get installed).
This is not easy to reproduce but let's say you have the graphviz libraries
installed on your system,
2010 Mar 10
1
How to install dependent packages automatically
Hi,
I developed a package that requires 5 other packages. I was wondering if
anyone knows how can I automatically download and install the required
packages during the installation of my new package. My idea is to make this
process easier to the final user.
All the required packages are under bioconductor source but I don't know
where I can include the code to download and install them.
2008 Dec 22
2
batch mode hangs if dest is uptodate
I have been using batch mode successfully. I try this using cygwin on a
PC with 3.0.4 version of rsync. The two PackageOlder dirs are identical
cygwin> diff -r /home/bill/tmp/PackageB /home/bill/PackageB
cygwin> rsync -vv --only-write-batch=/Temp/changeAtoB.rsync -rptO -L
--delete-delay devserver::RT/PackageB/ /home/bill/tmp/PackageA
opening tcp connection to devserver port 873
sending
2011 Aug 03
1
Finding dependancies?
Hi
although the background is that it happened on an hpc cluster, this question
does *not* concern hpc computing with R.
I was using R on a cluster and had to install several packages in my home
directory. Now the head node was migrated to new hardware (new install as
well) and many dependencies for my in $HOME installed packages, which were
present on the old head, are missing on the new head.
2014 Nov 27
1
Problem understanding behaviour of versionCheck for loadNamespace (and when versions for Imports packages are checked)
Hi Duncan,
Many thanks (yet again).
With the hint given by your earlier email (viz that currently loadNamespace
expects a 3rd component called name in the list that is used for the
versionCheck argument) I had another look at what was going on with my toy
examples yesterday evening. I'm still working on my issue, but thus far I
have:
1) Confirmed that internal calls to loadNamespace
2006 Jan 25
1
Rails day 2: where is my association?
I?m following along a few tutorials on the web and trying to implement
my own example, but I must be missing something because I can?t get
has_many or belongs_to to work like I expected. now I have watched all
the videos and made a cookbook several times with different interfaces.
what I''m looking for is *not* a code snippet to solve something (because
I already have that),
2010 Feb 11
2
LinkingTo and C++
Hello,
I've been trying to make LinkingTo work when the package linked to has
c++ code.
I've put dumb packages to illustrate this emails here ;
http://addictedtor.free.fr/misc/linkingto
Package A defines this C++ class:
class A {
public:
A() ;
~A() ;
SEXP hello() ;
} ;
Package B has this function :
SEXP say_hello(){
A a ;
return a.hello() ;
}
headers of package A are copied
2016 Jun 14
5
new function to tools/utils package: dependencies based on DESCRIPTION file
Hi all,
Packages tools and utils have a lot of useful stuff for R developers.
I find one task still not as straightforward as it could. Simply to
extract dependencies of a package from DESCRIPTION file (before it is
even installed to library). This would be valuable in automation of CI
setup in a more meta-data driven way.
The simple function below, I know it is short and simple, but having
it to
2010 Sep 18
3
How to check the available of a package on R repo
Hi folks,
Debian 504 64-bit
What is the correct syntax to check the available of a package on R repo?
> available.packages("emacs", "OS_type=linux")
Warning: unable to access index for repository emacs
Package Version Priority Depends Imports LinkingTo Suggests Enhances
OS_type License File Repository
> available.packages("emacs")
Warning: unable
2008 Oct 07
1
LinkingTo on Windows
Dear List,
R packages may specify a "LinkingTo" attribute to specify dependencies to
the source code (mainly the header files) of other packages.
Unfortunately, it is not possible to also have a reference to the generated
library (.dll on Windows) of the other package. So including a header file
from another package to call an (exported) function will just not help.
I've tried
2008 Apr 17
1
LinkingTo for 2 packages
Hello,
One of our packages contains C++ code that needs to be compiled against
2 other packages. So the LinkingTo field in DESCRIPTION looks like this
LinkingTo: FLCore,FLash
Both packages are also in the Depends field.
In R 2.6.2, first thing we noticed was that both names could not have
any space between them, althoguh the example in the html version of
"Writing R Extensions" does
2013 Nov 16
2
Linking to native routines in other packages
Hello,
I'm currently working on making Rcpp use the feature described here more:
http://cran.r-project.org/doc/manuals/R-exts.html#Linking-to-native-routines-in-other-packages
To give more context, Rcpp has for a long time built what we called "the
Rcpp user library", i.e. a library we could link against user the
linker. We were then producing appropriate linker flag with
2020 Jan 14
2
possible bug in win R-devel in check/test environment
Hi,
During my recent r2sundials development, I've came across a strange test
failing during 'R CMD check' exclusively on win R-devel which I could
reproduce with a minimal example that I present here.
The toy packages testarma1 [1] and testarma2 [2] are minimal
modifications of a skeleton package produced by
RcppArmadillo.package.skeleton().
They are almost identical. The first
2016 Jun 16
3
new function to tools/utils package: dependencies based on DESCRIPTION file
Dear Joris,
So it does looks like the proposed function makes a lot sense then, isn't it?
Cheers,
Jan
On 16 June 2016 at 08:37, Joris Meys <jorismeys at gmail.com> wrote:
> Dear Jan,
>
> It is unavoidable to have OS and R dependencies for devtools. The building
> process for packages is both OS and R dependent, so devtools has to be too
> according to my understanding.
2016 Dec 16
2
Upgrading a package to which other packages are LinkingTo
On 16/12/2016 12:35 PM, Karl Millar wrote:
> A couple of points:
> - rebuilding dependent packages is needed if there is an ABI change,
> not just an API change. For packages like Rcpp which export inline
> functions or macros that might have changed, this is potentially any
> change to existing functions, but for packages like Matrix, it isn't
> really an issue at all
2017 Feb 09
2
R CMD check error
Martyn,
No, that didn't work.
One other thing in the mix (which I don't think is the issue) is that I call one of the
C-entry points of expm. So the DESCRIPTION file imports expm, the NAMESPACE file imports
expm, and the init.c file is
#include "R.h"
#include "R_ext/Rdynload.h"
/* Interface to expm package. */
typedef enum {Ward_2, Ward_1, Ward_buggy_octave}
2015 Aug 25
2
Issues with libcurl + HTTP status codes (eg. 403, 404)
Hi all,
The following fails for me (on OS X, although I imagine it's the same
on other platforms using libcurl):
options(download.file.method = "libcurl")
options(repos = c(CRAN = "https://cran.rstudio.com/", CRANextra =
"http://www.stats.ox.ac.uk/pub/RWin"))
install.packages("lattice") ## could be any package
gives me:
>
2010 Feb 14
2
Portability of a C function
Hi the list,
In a package P1, I write a function f1 in C, potentially an internal
function (not to be called from R).
In a package P2, I write a function f2 in C. The f2 function needs to
use f1 from P1. Is it possible ?
--- 8< ---- In file P1.c ---------
double f1(x,y){
....
}
--- 8< ---- In file P2.c ---------
void f2(x,y,z){
double result;
....
result = f1(x,y);
....
}
2012 May 04
1
sem error message
Hello, I tried to do a 'sem' analysis for data of how blueberry consumption
by birds is influenced by a pollution gradient, using distance and
vegetation structural and composition variables, but I got the following
error message:
Error in sem.default(ram = ram, S = S, N = N, param.names = pars, var.names
= vars, :
S must be a square triangular or symmetric matrix
This may be very