Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Chip Butty
Chip Butty
@otfrom@functional.cafe  ·  activity timestamp last week

Basic #guix question:

If I do

$ guix install r r-dplyr
$ R

> library(dplyr)

That should work right? R should see the dplyr library.

I keep feeling I’m holding it wrong. I just want to be able to slap some ad hoc data analysis together in R

  • Copy link
  • Flag this post
  • Block
Chip Butty
Chip Butty
@otfrom@functional.cafe replied  ·  activity timestamp last week

Surely guix shell isn't the only way to do it (I'm hoping to do some quick analysis in Emacs org-mode)

  • Copy link
  • Flag this comment
  • Block
Ken Butler
Ken Butler
@nxskok@cupoftea.social replied  ·  activity timestamp last week

@otfrom if you're in emacs, there is ESS. In that, M-x R brings up an R command line.

  • Copy link
  • Flag this comment
  • Block
Cayetano Santos
Cayetano Santos
@csantosb@sigmoid.social replied  ·  activity timestamp last week

@otfrom I have not a clue about what I’m doing, but

guix shell -C r r-dplyr -- R

opens an R shell, then

library(dplyr)

returns

> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

filter, lag

The following objects are masked from ‘package:base’:

intersect, setdiff, setequal, union

Is that correct ?

  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct