Code Monkey home page Code Monkey logo

Comments (7)

simonbyrne avatar simonbyrne commented on July 1, 2024

Does that fix it?

from rcall.jl.

AndyGreenwell avatar AndyGreenwell commented on July 1, 2024

At present, that check-in did not change the behavior on my machine. The following were the steps I performed to test this check-in on my existing machine image (I will also set up a fresh operating system image and Julia installation as well):

  • Deleted the "RCall" folder from both the C:\Users\<username>\.julia\v0.4 and C:\Users\<username>\.julia\.cache directories.
  • Launched Julia v0.4-pre build
  • Performed a Pkg.update()
  • Performed a Pkg.checkout("RCall")
  • Closed Julia
  • Launched Julia again
  • Performed a Pkg.dir() operation as above
  • Performed a using RCall operation as above
  • Performed a second Pkg.dir() operation as above

The returned directories for each of the Pkg.dir() operations are currently the same as shown above, with the second call having the modified directory.

from rcall.jl.

simonbyrne avatar simonbyrne commented on July 1, 2024

Sorry, can you try:

Pkg.checkout("RCall","master")
Pkg.build("RCall")

from rcall.jl.

AndyGreenwell avatar AndyGreenwell commented on July 1, 2024

In performing the following:

  • installed a new 32-bit Windows 8.1 VM
  • installed a Julia v0.4.0-rc1 build
  • installed R from CRAN
  • Manually added "C:\Program Files\R\R-3.2.2\bin" to the system's Path environment variable.
  • launched Julia
  • Pkg.add("RCall")
  • Pkg.checkout("RCall","master")
  • Pkg.build("RCall")
  • restarted Julia
  • Pkg.dir()
  • using RCall
  • Pkg.dir()

the output from the two calls to Pkg.dir() provided the correct location of C:\Users\<username>\.julia\v0.4

Thanks for the fix.

from rcall.jl.

simonbyrne avatar simonbyrne commented on July 1, 2024

Great. Once I tag a release we should be able to get rid of some of those steps...

You also shouldn't have to manually modify the PATH variable (the build process looks up the windows registry to find the installation path).

from rcall.jl.

AndyGreenwell avatar AndyGreenwell commented on July 1, 2024

I tried executing using RCall before having set the PATH variable and an error was thrown due to not finding the R.dll. After adding the directory containing R.exe and Rscript.exe to the PATH, the above steps worked as hoped. I will repeat the installation steps without having manually modified the PATH to test again.

from rcall.jl.

simonbyrne avatar simonbyrne commented on July 1, 2024

Hmm, I see. You may have to close and reopen Julia before running Pkg.build?

I'll see what I can do to make the steps easier.

from rcall.jl.

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.