Coder Social home page Coder Social logo

Error while loading curl about curl HOT 5 CLOSED

jeroen avatar jeroen commented on September 23, 2024
Error while loading curl

from curl.

Comments (5)

jeroen avatar jeroen commented on September 23, 2024

I've never seen this. Can you provide more info on your system please. Which operating system do you use, any non-standard setup? Does the same thing happen when the package is installed in the default directory instead? Did you install it from source or the binary from CRAN?

from curl.

kkaisurya avatar kkaisurya commented on September 23, 2024

Sure. I am using in a visualization tool called Spotfire. There is an additional R Console which runs off from R 3.1.1.2 libraries. I installed it using install.packages('curl').
When installed in the default directory, there are no issues. I tried copying that library onto to the Spotfire library structure as well. That also did not work.
And, yes I am on Windows 7

from curl.

jeroen avatar jeroen commented on September 23, 2024

I don't think this issue is related to curl but rather the way Spotfire manages R packages. Are you not getting the same problem for other packages with compiled code? One thing you could try is compile from source:

library(devtools)
install_github("jeroenooms/curl", lib = "C:/abc/xyz/library")

from curl.

kkaisurya avatar kkaisurya commented on September 23, 2024

Sure.. While doing that, probably found out what the issue was. Firstly, I was not able to call the library(devtools) from the Spotfire console. The reason is the 'Namespace' file has useDynLib(). Same is the case for 'Curl' 's 'Namespace' file as well. So not sure, what I should use instead of 'useDynLib()' :(

from curl.

jeroen avatar jeroen commented on September 23, 2024

Can you try this instead:

remove.packages("curl")
install.packages("curl", type = "source", lib = "C:/abc/xyz/library")

from curl.

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.