Code Monkey home page Code Monkey logo

Comments (2)

Joelgranados avatar Joelgranados commented on August 30, 2024

Hey Eric.

Do you have GTK+ and ImageMagick installed? You need to have both to run
EBImage. Do you get a allert pop-up from R?
Thx for the report. There needs to be a way to install getopt without using
getopt. I'll work on a bootstrapping mechanism.

On Wed, Apr 11, 2012 at 12:51 AM, egraham <
[email protected]

wrote:

Updated to R version 2.15.0. Then tried to follow instructions. My
comments are in [brackets], commands I tried follow the ">" prompt, output
follows immediately:

source("F:/CENS/Projects/EcoIP/ecoip.R", chdir=TRUE)
Error in library(getopt) : there is no package called ‘getopt’

ecoip_exec("--rinstall")
Error: could not find function "ecoip_exec"

[So, went to Packages > Install Package(s) > getopt. Installed fine.]

source("F:/CENS/Projects/EcoIP/ecoip.R", chdir=TRUE)
Error in library(EBImage) : there is no package called ‘EBImage’
Make sure you call source with chdir=TURE
Loading required package: fields
=== R MUST HAVE fields and digest INSTALLED ===
Loading required package: EBImage
=== Install EBImage. Consider instructions at
http://www.bioconductor.org/packages/release/bioc/html/EBImage.html ===
Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called ‘fields’
2: In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called ‘EBImage’

source("http://bioconductor.org/biocLite.R")
biocLite("EBImage")

[Installed fine.]

source("F:/CENS/Projects/EcoIP/ecoip.R", chdir=TRUE)
Loading required package: abind
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program
Files/R/R-2.15.0/library/EBImage/libs/i386/EBImage.dll':
LoadLibrary failure: The specified procedure could not be found.

Error : package/namespace load failed for ‘EBImage’
Make sure you call source with chdir=TURE
Loading required package: fields
=== R MUST HAVE fields and digest INSTALLED ===
Loading required package: EBImage
Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared object 'C:/Program
Files/R/R-2.15.0/library/EBImage/libs/i386/EBImage.dll':
LoadLibrary failure: The specified procedure could not be found.

In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE,
logical.return = TRUE, :
there is no package called ‘fields’
=== Install EBImage. Consider instructions at
http://www.bioconductor.org/packages/release/bioc/html/EBImage.html ===

ecoip_exec("--rinstall")
Error in getopt(optMat, opt = cmdArgs) : long flag "rinstall" is invalid

[Hm. I will download the program Process Explorer to find out if
EBImage.dll is being loaded. It exists in the specified subdirectory, just
don't know why it's not loading.]


Reply to this email directly or view it on GitHub:
#14

Joel Andrés Granados
IT University of Copenhagen
Copenhagen, Denmark.

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

I change this a bit: Now the installation of getopt and friends is done automatically without the user having to interact. when the user executes source('ecoip.R', chdir=T), the needed packages are checked and installed if needed. After the source command, the user should be able to use ecoip_exec.
There might be a situation where the user does not have permissions to install, in these cases the command tells the user to login as administrator. I tested this on Windows XP (works for me) :).

The errors that are caused by not installing GTK+ nor ImageMagick are not handled by this command.

Next version is available : ) https://github.com/downloads/Joelgranados/EcoIP/EcoIP-0.1.20120411-Linux.zip

from ecoip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.