Giter Club home page Giter Club logo

Comments (11)

NebJ avatar NebJ commented on May 27, 2024

Great idea!

By the way, do you have a list of already compiled R binaries? Like R v3.X.X?

from heroku-buildpack-r.

bwarren2 avatar bwarren2 commented on May 27, 2024

If the compilation code is sufficiently well written, can't you just fork
off and build to whatever specs you like? As for checking versions, is the
amazon bucket public? (I think it is, but am not at a real computer right
now.)
On Jan 29, 2014 10:19 AM, "Benjamin Lan Sun Luk" [email protected]
wrote:

Great idea!

By the way, do you have a list of already compiled R binaries? Like R
v3.X.X?

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

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

@NebJ Yes, there is currently a build of R 3.0 available.

You will need to update versions in the compile script to refer to it; here and here.

The build reference version is 20131208-1524 and can be downloaded from S3 using the following Url:

https://heroku-buildpack-r.s3.amazonaws.com/R-3.0.2-binaries-20131208-1524.tar.gz

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

@bwarren2 Yes, the S3 bucket is public, but only for reads.

In considering a solution to this I realized that there 3 versions in play; namely:

  • the version of the build script,
  • the version of R,
  • and the version of the actual build-pack (I.e. the detect, compile and release scripts).

I think having multiple branches or forks to address which version of R to use may just make it unmanageable.

from heroku-buildpack-r.

metalaureate avatar metalaureate commented on May 27, 2024

@virtualstaticvoid A package I rely on, tm (term matrix), now only supports R version >= 3.0

If you recall, I use R in a multipack with node.js

BUT, to my great surprise, node no longer works after I make the upgrade. There's nothing in the build log to suggest anything is wrong.

node installs fine on its own. But when I add the R 3.0.2 build line to .buildpack and run the install, after everything completes, heroku complains that the Procfile reference to node cannot be found. (I forked your repo and made the changes you specify above, https://github.com/metalaureate/heroku-buildpack-r)

Here is the output of the git heroku push master command:

https://s3-us-west-2.amazonaws.com/umusergen/r-node-build.txt

I'm completely stumped. Any ideas much appreciated.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

@metalaureate I'm trying to replicate your issue. I suspect it may be the order in which R is included in the multi-buildpack as there is a rm on line 94 in bin/compile which deletes the temporary vendor directory during the compile process, before rebuilding it.

from heroku-buildpack-r.

metalaureate avatar metalaureate commented on May 27, 2024

Thanks! I meant to add that it didn't matter which order I put the buildpacks in.

Sent from my phone.

On Feb 17, 2014, at 2:15 PM, Chris Stefano [email protected] wrote:

@metalaureate I'm trying to replicate your issue. I suspect it may be the order in which R is included in the multi-buildpack as there is a rm on line 94 in bin/compile which deletes the temporary vendor directory during the compile process, before rebuilding it.


Reply to this email directly or view it on GitHub.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

@metalaureate I've updated the development branch for R 3.0.2. I tested with the packages you mentioned and it is working. Can you confirm whether it is working in the multi-buildpack scenario?

from heroku-buildpack-r.

metalaureate avatar metalaureate commented on May 27, 2024

That worked! Thanks.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

As an interim solution, you can include the following files in your application source code to override the version of R to use, and the version of the buildpack archive.

  • .r-version - specify the R version to use. E.g. 3.1.2
  • .r-buildpack-version - specify the buildpack archive (on S3) to use. E.g. 20150216-2120

NOTE: There is no check to see whether the 2 agree. I.e. That there is an archive for the given R version.

An example of this can be found on the cedar-14 branch under alternate-versions.

from heroku-buildpack-r.

virtualstaticvoid avatar virtualstaticvoid commented on May 27, 2024

Backported the version solution on cedar-14 branch to the cedar (master) branch.

from heroku-buildpack-r.

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.