Giter VIP home page Giter VIP logo

Comments (9)

mlampros avatar mlampros commented on May 27, 2024

@flopflip,

the .... attempt to apply non-function ..... error mostly occurs when one (or all) python module(s) is (are) not properly installed. The RGF package uses the reticulate package for the interface between Python and R. There is a similar issue in another of my packages (fuzzywuzzyR) which might be helpful to you.

from rgf.

flopflip avatar flopflip commented on May 27, 2024

the solution:
change the permissions of /tmp/rgf

from rgf.

mlampros avatar mlampros commented on May 27, 2024

@flopflip I'm glad you made it work.

I close the issue for now, feel free to reopen it.

from rgf.

skwskwskwskw avatar skwskwskwskw commented on May 27, 2024

Sorry - I still not able to get it works? Facing the same issue and I don't understand what's meant by changing the permissions as suggested by @flopflip

from rgf.

skwskwskwskw avatar skwskwskwskw commented on May 27, 2024

Attached is the input from reticulate package. Kindly help. Thanks.

image

from rgf.

mlampros avatar mlampros commented on May 27, 2024

@skw1990 I'm sorry for the late reply,

from the attached image I assume you are working on a Windows operating system (OS), whereas @flopflip works on a Unix OS (Linux or Macintosh). Therefore the 'permission changing' solution does not apply to you.

I included details on how to install the package on windows on the README.md file, however you should know that ,

  • on windows the user can take advantage of the RGF package currently only from within the command prompt (console or cmd)
  • the installation is somehow cumbersome on Windows (it took me a while to make it work on my windows machine)

You could also have a look to the rgf_python README.rst file which has more up-to-dated installation instructions. It also has a docker-file if you are familiar with docker installations.

As you already know the RGF R package relies on the rgf_python package, and uses the reticulate package for the interface between Python and R.

from rgf.

skwskwskwskw avatar skwskwskwskw commented on May 27, 2024

That's not late at all. Yes, I am working on Win10 pc. I see so, you suggest to use it in python only? On the side not, may I know if there's tutorial via cmd? Thanks.

from rgf.

mlampros avatar mlampros commented on May 27, 2024

@skw1990 ,

the only difference (I personally see) when working on cmd in comparison to an R Gui is code auto completion and the fact that you have to copy-paste small chunks of code, otherwise you can call the RGF package from cmd in the same way as in an R Gui.

As I explained in the README.md you have to first locate where R is installed, for instance in my WIndows machine R is located in C:\Program Files\R\R-3.4.0\bin\x64\R. Then, by opening a command prompt (console) and giving (for instance in my case),

cd C:\Program Files\R\R-3.4.0\bin\x64\

R

library(RGF)

you can proceed working with the RGF package.

from rgf.

skwskwskwskw avatar skwskwskwskw commented on May 27, 2024

Alright. Thank you very much.

from rgf.

Related Issues (3)

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.