Giter Club home page Giter Club logo

Comments (13)

jakobbossek avatar jakobbossek commented on June 7, 2024

Oh damn! rPython does not work on windows systems at the moment.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

Hmm, at the moment it is not possible to call python via rPython on Windows OS. Sure, I could just check whether the used OS is windows and throw an error message in that case for the mpm2 generator. However, the problem is that I need to note rPyhon in the Imports section in the DESCRIPTION file. This way the installation of smoof breaks under windows, since rPython is not available. At the moment I have no clue how to solve this. In the worst-case I will outsource the mpm2 stuff to a single UNIX-only package.

from smoof.

surmann avatar surmann commented on June 7, 2024

My problem with this issue: I cannot use the ecr package without smoof which is not installable without rPython.

from smoof.

surmann avatar surmann commented on June 7, 2024

I installed rPython-win. Unfortunately, the package contains version 0.0-4.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

I will tackle this problem on monday.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

I moved rPython to Suggests. By default it should not be installed now. The python-dependent function should throw an error now on windows systems. Dirk, could you please check the latest build on you windows system?

from smoof.

surmann avatar surmann commented on June 7, 2024

I'm able to check smoof by check(".", force_suggests = FALSE). When I try to install the package by dt or from the R console directly, I get the following result:

> install(".", dependencies=c("Depends", "Imports", "LinkingTo"))
Installing smoof
"C:/PROGRA~1/R/R-31~1.3/bin/x64/R" --vanilla CMD INSTALL  \
  "C:/Users/surmann/Documents/Repositories/smoof"  \
  --library="C:/Users/surmann/Documents/R/win-library/3.1" --install-tests 

* installing *source* package 'smoof' ...
** libs

*** arch - i386
make: Nothing to be done for `all'.
installing to C:/Users/surmann/Documents/R/win-library/3.1/smoof/libs/i386

*** arch - x64
make: Nothing to be done for `all'.
installing to C:/Users/surmann/Documents/R/win-library/3.1/smoof/libs/x64
** R
** inst
** tests
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
Error in inDL(x, as.logical(local), as.logical(now), ...) : 
  kann shared object 'C:/Users/surmann/Documents/R/win-library/3.1/smoof/libs/x64/smoof.dll' nicht laden:
  LoadLibrary failure:  %1 ist keine zulässige Win32-Anwendung.

Fehler: Laden fehlgeschlagen
Ausführung angehalten
ERROR: loading failed for 'x64'
* removing 'C:/Users/surmann/Documents/R/win-library/3.1/smoof'
* restoring previous 'C:/Users/surmann/Documents/R/win-library/3.1/smoof'
Error: Command failed (1)

Do you have an idea? I tried R 32-bit and 64-bit.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

Oh man! Since this error is referred to the generated dynamic link library (dll) I suppose this is a problem with the c(++) stuff.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

Going to check this on a windows machine soon.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

Well, I just successfully installed the latest commit via devtools::install_github("jakobbossek/smoof") on a Windows 7 machine with R version 3.1.1. No problems occured. I will check this in the evening on my home pc with the newest R version.

from smoof.

surmann avatar surmann commented on June 7, 2024

Arg. I tried it this way and it works.
After I deleted the directories scr-* manually, a dt install works too. We should add this in dt clean.

from smoof.

jakobbossek avatar jakobbossek commented on June 7, 2024

Ok, can I close this issue?
You should open a new issue in the dt issue tracker and describe the problem there.

from smoof.

surmann avatar surmann commented on June 7, 2024

solved

from smoof.

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.