This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source this file to define all the relevant environment variables in Bash | |
# for this profile. You may want to define the 'GUIX_PROFILE' environment | |
# variable to point to the "visible" name of the profile, like this: | |
# | |
# GUIX_PROFILE=/path/to/profile ; \ | |
# source /path/to/profile/etc/profile | |
# | |
# When GUIX_PROFILE is undefined, the various environment variables refer | |
# to this specific profile generation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (nextjournal packages r) | |
#:use-module (guix licenses) | |
#:use-module (guix packages) | |
#:use-module (guix utils) | |
#:use-module (guix download) | |
#:use-module (guix git-download) | |
#:use-module (guix build-system gnu) | |
#:use-module (guix build-system r) | |
#:use-module (gnu packages image) | |
#:use-module (gnu packages algebra) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following package will be installed: | |
r-lubridate 1.7.1 /gnu/store/a3mq6s5j87m7xy0r0h9fn027gsx56lfm-r-lubridate-1.7.1 | |
spurious SIGPOLL | |
spurious SIGPOLL | |
guix package: error: profile contains conflicting entries for r-rcpp | |
guix package: error: first entry: [email protected] /gnu/store/00x11qjy7ca8w79z8y5yd6ig3scgw3dw-r-rcpp-0.12.14 | |
guix package: error: ... propagated from [email protected] | |
guix package: error: second entry: [email protected] /gnu/store/ln79b0ymlymn0l6k14780qphcfwfyld9-r-rcpp-0.12.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (nextjournal packages r) | |
#:use-module (guix licenses) | |
#:use-module (guix packages) | |
#:use-module (guix utils) | |
#:use-module (guix download) | |
#:use-module (guix git-download) | |
#:use-module (guix build-system gnu) | |
#:use-module (guix build-system r) | |
#:use-module (gnu packages image) | |
#:use-module (gnu packages algebra) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fix a build bug that would cause the linker to try linking against | |
'arrow_static' even when building with -DARROW_BUILD_STATIC=off: | |
https://issues.apache.org/jira/browse/ARROW-1308 | |
Patch copied from upstream pull request: | |
https://github.com/apache/arrow/pull/931/commits/88391fe0685742cff489d0bf1a5b1a09b8d73b3b | |
From 88391fe0685742cff489d0bf1a5b1a09b8d73b3b Mon Sep 17 00:00:00 2001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (nextjournal packages compression) | |
#:use-module (guix licenses) | |
#:use-module (guix packages) | |
#:use-module (guix download) | |
#:use-module (guix build-system cmake)) | |
(define-public google-brotli | |
(package | |
(name "google-brotli") | |
(version "0.6.0") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-module (nextjournal packages python) | |
#:use-module (guix download) | |
#:use-module (guix git-download) | |
#:use-module ((guix licenses) #:prefix license:) | |
#:use-module (guix packages) | |
#:use-module (guix utils) | |
#:use-module (guix build-system cmake) | |
#:use-module (guix build-system gnu) | |
#:use-module (guix build-system python) | |
#:use-module (nextjournal packages compression) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# setting up the layout of matplotlib figure | |
fig, ax = plt.subplots() | |
# use the distplot function from seaborn to plot the distribution of AAPL | |
sns.distplot(AAPL['Daily Return'].dropna(), color = 'indianred', | |
hist_kws=dict(alpha = 0.7)) | |
# remove the plot borders | |
sns.despine() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core@agent-3-production ~ $ sudo cat /var/lib/docker/containers/bbade0b6f31f614029f93b1e4ac84e2deb59918fbf02d45643a39fec59245438/checkpoints/r-2840-NRXJT7BG3B7MFLDBCMRV-Libraries/criu.work/restore-2017-08-11T14:08:45.480917875Z/restore.log | |
(00.000462) Pagemap is fully functional | |
(00.000508) Found task size of 7ffffffff000 | |
(00.013771) Found fd 0 (id pipe:[18293297]) in inherit fd list (caller inherit_fd_resolve_clash) | |
(00.013900) Inherit fd 0 moved to 9 to resolve clash | |
(00.013912) Found fd 1 (id pipe:[18293298]) in inherit fd list (caller inherit_fd_resolve_clash) | |
(00.013917) Inherit fd 1 moved to 6 to resolve clash | |
(00.013923) Found fd 2 (id pipe:[18293299]) in inherit fd list (caller inherit_fd_resolve_clash) | |
(00.013927) Inherit fd 2 moved to 8 to resolve clash | |
(00.065090) Adjust mmap_min_addr 0x1000 -> 0x10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build-staging core # guix weather --substitute-urls=http://localhost:8090 | |
computing 5762 package derivations for x86_64-linux... | |
looking for 6004 store items on http://localhost:8090...###################################################################################] | |
updating list of substitutes from 'http://localhost:8090'... 100.0% | |
http://localhost:8090 | |
5.2% substitutes available (310 out of 6004) | |
unknown substitute sizes | |
2630.4 MiB on disk (uncompressed) | |
0.006 seconds per request (33.4 seconds in total) | |
180.0 requests per second |