Code Monkey home page Code Monkey logo

Comments (10)

Joelgranados avatar Joelgranados commented on August 30, 2024

I noticed that you are running R in a cygwin environment. Can you try to install EcoIP by using the R console that is provided by the R windows installation (instead of running it on cygwin)? Be sure to execute RGui.exe (http://data.princeton.edu/R/gettingStarted.html)

from ecoip.

joelissues avatar joelissues commented on August 30, 2024

I also noticed that cygwin saw the filepaths and did some regex parsing. The thing is, I was running these commands through the R console as opposed to through cygwin or command prompt. I'm not sure of how to separate cygwin from the R console.

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

Hrm.

From where did you install R? Where did you download it from? I'm going to
test on a windows box that I have and I want to replicate your setup.

Regards

On Tue, Jul 2, 2013 at 7:27 PM, joelissues [email protected] wrote:

I also noticed that cygwin saw the filepaths and did some regex parsing.
The thing is, I was running these commands through the R console as opposed
to through cygwin or command prompt. I'm not sure of how to separate cygwin
from the R console.


Reply to this email directly or view it on GitHubhttps://github.com//issues/49#issuecomment-20361398
.

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

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

I've manged to Recreate the bug. To start I have created a new version of EcoIP that is released with R 3.0.0 so we should stop having the error message that warned about the wrong R version. To install this new version just follow the same instructions as before (https://github.com/Joelgranados/EcoIP/wiki/How-to-Install).

I'm going to test this new version on my test box back at home. I'll update the bug report once I have more information. I encourage you to test in your environment to see if the new EcoIP actually fixes stuff :)

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

I think I found the culprit of the issue.
I was using "wget" to download the source (this does not work with windows). I was also using "~" to refer to the home directory (this does not work on windows). I have made a new release of EcoIP in the hope to address this issue. Please test and get back to me if it's still is a problem.

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

Hey Dmitri

I tested again with the new build and it apparently keeps on failing. It seems that the automatic download is failing to correctly download the file (only on windows). A work around is to download the file from  http://sourceforge.net/projects/ecoip/ and use it for installation. Execute 'R CMD INSTALL ecoipfile.tar.gz'. If you have all the dependencies installed it should work.

If you don't have all the dependencies installed, you need to install them all. R will tell you which packages you need to install to get EcoIP going. Notice that you might have to compile some packages (SVG package) in order to install it; this is possible with the Rtools package for windows (so you might have to install Rtools as well).

I'm going to leave this issue open until I figure out why the download method does not download properly on windows

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

This issue could be related to https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=7991 and to http://tolstoy.newcastle.edu.au/R/devel/06/06/5792.html#5796qlink1

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

I tested the download feature in R and there seems to be something fishy....
I downloaded with "auto" and "internal" and in both cases the download detects a file of 6430711 bytes but downloads (I don't know from where) 6453589 bytes. When I download with Firefox I get the correct size of 6430711.

The R log:
"""

eip.trz = "EcoIP_0.1-20130717.tar.gz"
eip.from = paste("http://sourceforge.net/projects/ecoip/files/20130717/", eip.trz, "/download", sep="")
download.file(eip.from, eip.trz, method="auto")
essai de l'URL 'http://sourceforge.net/projects/ecoip/files/20130717/EcoIP_0.1-20130717.tar.gz/download'
Content type 'application/x-gzip' length 6430711 bytes (6.1 Mb)
URL ouverte
downloaded 6.1 Mb

file.info("EcoIP_0.1-20130717.tar.gz")[1]
size
EcoIP_0.1-20130717.tar.gz 6453589
unlink("EcoIP_0.1-20130717.tar.gz")

download.file(eip.from, eip.trz, method="internal")
essai de l'URL 'http://sourceforge.net/projects/ecoip/files/20130717/EcoIP_0.1-20130717.tar.gz/download'
Content type 'application/x-gzip' length 6430711 bytes (6.1 Mb)
URL ouverte
downloaded 6.1 Mb

file.info("EcoIP_0.1-20130717.tar.gz")[1]
size
EcoIP_0.1-20130717.tar.gz 6453589
unlink("EcoIP_0.1-20130717.tar.gz")

file.info("EcoIP_0.1-20130717.tar.gz")[1]
size
EcoIP_0.1-20130717.tar.gz 6430711
"""

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

I just created a new bug-report in the R bug tracking system. https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=15398

from ecoip.

Joelgranados avatar Joelgranados commented on August 30, 2024

This issue should be solved with the latest version. EcoIP_0.1-20130722

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.