similar to: Imports, importFrom slow (for Matrix)

Displaying 20 results from an estimated 1000 matches similar to: "Imports, importFrom slow (for Matrix)"

2013 Jun 05
1
conflicting imports despite using importFrom in NAMESPACE
Dear all, It is my understanding that using 'importFrom' in the NAMESPACE of a package allows to avoid conflicts between different packages defining objects with identical names. However, I can still see conflicts while loading the package using 'library'. Here is a toy example, with a package 'foo' importing 'as.igraph' from the igraph package, and 'nj'
2015 Apr 29
2
R CMD check and missing imports from base packages
On Wed, Apr 29, 2015 at 12:53 PM, Winston Chang <winstonchang1 at gmail.com> wrote: > On Tue, Apr 28, 2015 at 3:04 PM, G?bor Cs?rdi <csardi.gabor at gmail.com> > wrote: > > > > > > E.g. if package 'ggplot2' uses 'stats::density()', and package 'igraph' > > also defines 'density()', and 'igraph' is on the search
2015 Apr 29
4
R CMD check and missing imports from base packages
On Wed, Apr 29, 2015 at 1:45 PM, Gabriel Becker <gmbecker at ucdavis.edu> wrote: > Gabor, > > To play devil's advocate a bit, why not just have the package formally > import the functions it wants to use (or the whole package if that is > easier)? > This is exactly my goal. And to facilitate this, R CMD check could remind you if you forgot to do the formal import.
2015 Apr 29
2
R CMD check and missing imports from base packages
> And in general a developer would avoid masking a function > in a base package, so as not to require the user to distinguish > between stats::density() and igraph::density(). Maybe the > example is not meant literally. The 'filter' function in the popular 'dplyr' package masks the one that has been in the stats package forever, and they have nothing in common, so that
2015 Apr 28
5
R CMD check and missing imports from base packages
When a symbol in a package is resolved, R looks into the package's environment, and then into the package's imports environment. Then, if the symbol is still not resolved, it looks into the base package. So far so good. If still not found, it follows the 'search()' path, starting with the global environment and then all attached packages, finishing with base and recommended
2008 Jun 26
1
Compilation error during package installation
Hi, I am a Newbie for R. I just installed R-base on my notebook with openSuSE 11. However, I always got compilation errors in installing add-on packages. For example, when installing "igraph" I got the following error: ___________________________________________________________________ * Installing *source* package 'igraph' ... checking for gcc... gcc checking for C compiler
2008 Jan 08
1
loading igraph package on Solaris
Hello, I'm having trouble getting the igraph package to load on Solaris. I can get igraph to compile and install from a local directory without issues using simply "R CMD INSTALL igraph", however "library(igraph)" from within R gives the following errors: Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library
2010 Jun 23
1
Trouble compiling igraph. . .
Been and R-user for about 5 years now in an industrial setting, and always find the mailing list most helpful. I have run into problem compiling igraph on R. I have contacted the maintainer of igraph, and he has determined that it is not an igraph problem. System is FreeBSD 7.2, R-2.10.1 [also have a sandbox machine running FreeBSD 7.3, R-2.11]. Both machines fail the installation of igraph.
2017 Aug 03
1
error in installing igraph
Hi R users, I got warning messages when installing the package, and I pasted the messages below. I checked updates that my R-studio is already the newest version. I don't know how to solve the problem. Thanks for your help. > library(igraph) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object
2013 Apr 21
1
cedta decided 'igraph' wasn't data.table aware
Hi, what does this mean? --8<---------------cut here---------------start------------->8--- > graph <- graph.data.frame(merged[!v,], vertices=ve, directed=FALSE) cedta decided 'igraph' wasn't data.table aware cedta decided 'igraph' wasn't data.table aware cedta decided 'igraph' wasn't data.table aware cedta decided 'igraph' wasn't
2017 Oct 10
2
Cannot install igraph package
On Mon, Oct 9, 2017 at 4:42 PM, Tom Callaway <tcallawa at redhat.com> wrote: > > On 10/09/2017 11:16 AM, Paul Smith wrote: >> >> I am trying to install >> >> igraph package >> >> but getting the following error: >> >> ------------------ >> make: *** [/usr/lib64/R/etc/Makeconf:159: foreign-graphml.o] Error 1 >> ERROR:
2012 May 29
4
R and igraph problems
I have R 2.15.0 running under Windows 7. I installed the igraph 0.5.4 package from a zip file. When I attempt to load igraph using "library(igraph)", I get the error package igraph is not installed for arch=x64.  When I repeat this using the 32-bit version of R, I get the same basic error but with "arch=i386" instead of x64. [[alternative HTML version deleted]]
2012 Aug 02
1
Cannot install the 'igraph' package
Hi! I want to use R for network analysis and have tried to install the 'igraph' package. Unfortunately, the installation is aborted by an error: --snip-- gcc -std=gnu99 -I/usr/lib64/R/include -DNDEBUG -I/usr/local/include -DUSING_R -I. -Ics -Iglpk -Iglpk/amd -Iglpk/colamd -I/usr/local/include -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
2015 Apr 29
0
R CMD check and missing imports from base packages
Gabor, To play devil's advocate a bit, why not just have the package formally import the functions it wants to use (or the whole package if that is easier)? Also, if your package Depends on another package, instead of importing it (e.g. because the end user will need functions in it in order to meaningfully use your functions), I imagine you *want* to hit symbols in that package before base,
2017 Oct 09
2
Cannot install igraph package
Dear All, I am trying to install igraph package but getting the following error: ------------------ make: *** [/usr/lib64/R/etc/Makeconf:159: foreign-graphml.o] Error 1 ERROR: compilation failed for package ?igraph? * removing ?/usr/lib64/R/library/igraph? ------------------ Any ideas? Thanks in advance, Paul
2015 Dec 02
2
igraph o network
Estimados, estoy ?jugando? con unos datos clínicos donde realizo un análisis de redes, utilicé igraph como nerwork, pero finalmente uso igraph (creo que tiene más opciónes). Son algo de 200 nodos y algo más de 2000 relaciones. Puedo graficarlos. Los datos están de la siguiente forma, por ejemplo, individuo, patología, (las dos primeras columnas son la relación), luego un fármaco, el grupo
2015 Apr 29
0
R CMD check and missing imports from base packages
All, Here are two ideas on this: 1. have R CMD check show how every external function reference gets resolved. 2. have R CMD check warn anytime there is a potential name conflict, e.g. density( ) coming from either igraph or stats, and show how it was resolved. Either could be an option. I guess there are potential problems with conditional loading of libraries where a function could be
2010 Oct 30
2
How to get write permissions for (lib="~/.R/library") ??
Hi I am trying to install R-igraph, but when I issue the command : install.packages("igraph", lib="~/.R/library") in the R session, I get the following error: Warning in install.packages("igraph", lib = "~/.R/library") : 'lib = "~/.R/library"' is not writable Error in install.packages("igraph", lib =
2011 Feb 05
1
Performance of graph and igraph package
Dear R users, I'm using graph library to create a mesh-like network topology and implement a load balance routing algorithm. The current implementation uses graph, RBGL, and Rgraphviz libraries. I have a few attributes on every edge to represent the network loading and capacity, and I frequently update these values. However, I found it works so slow and right now I'm consider rewriting it
2012 May 29
1
community finding in a graph and heatplot
Hi everyone, I am using the fastgreedy.community function to get the $merges matrix and the $modularity vector. This serves my purpose of testing modularity of my graph. But I am "greedy" to plot the heat map and dendrrogram based on the $merges dendogram matrix. I know that heatplot does the graphics part but I am not sure if the dendogram generated by the heatplot will match the one