pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-boost
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-brotli
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-cmake
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-flatbuffers
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-gcc
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-gobject-introspection
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-gtk-doc
pacman -S --noconfirm $MINGW_PACKAGE_PREFIX-lz4
https://kafka.apache.org/quickstart
wget http://apache.claz.org/kafka/2.1.0/kafka_2.12-2.1.0.tgz
tar -xzf kafka_2.12-2.1.0.tgz
bin/zookeeper-server-start.sh config/zookeeper.properties
bin/kafka-server-start.sh config/server.properties
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test
This doc captures results from investigating how to build the Arrow R bindings in Windows. The following options were explored:
- Building Arrow in MSys and bindings in RTools.
- Building Arrow and bindings in RTools.
The most promising long-term solution is to write a CMake generator that can be run from RTools; short term, we can continue making progress compiling Arrow from MSys.
This document explains other approaches considered and provides additional details.
- Create EC2 Windows Machine and connect.
- Download and install MSys2.
- Launch
c:\msys64\mingw64
and run:
pacman -S base-devel
pacman -S msys2-devel
pacman -S mingw-w64-i686-toolchain
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-cmake
- Create EC2 Windows Machine and connect.
- Download and install MSys2.
- Launch
c:\msys64\mingw64
and run:
pacman -S base-devel
pacman -S msys2-devel
pacman -S mingw-w64-i686-toolchain
pacman -S mingw-w64-x86_64-toolchain
pacman -S mingw-w64-x86_64-cmake
This file contains hidden or 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
sudo pip install PyArrow | |
./pyspark --master yarn --num-executors 2 | |
from pyspark.sql.functions import rand | |
df = spark.range(1 << 22).toDF("id").withColumn("x", rand()) | |
from pyspark.sql.functions import udf | |
@udf('double') |
This file contains hidden or 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
RStudio 1.2 comes with improvements to manage **package repos** and adds better support to packages that provide **testing infrastructure** and **database connectivity**. | |
## Package Repos | |
Some organizations set up private CRAN repos to share internal packages, one way of accomplishing this is by | |
creating a private CRAN repos as described in the [R Admin Guide](https://cran.r-project.org/doc/manuals/R-admin.html#Setting-up-a-package-repository). Other projects rely on `drat` to provide CRAN-compatible repos. With RStudio 1.2 you can easily configure and prioritize: private, primary or secondary CRAN repos through the preferences pane. For instance, at the | |
time of this writting, the `limer` package from the `cloudyr` project was not available on CRAN; however, the `cloudyR` | |
project provides a `drat` repo `http://cloudyr.github.io/drat` that we can easily add as a secondary repo: | |
`IMAGE` |
This file contains hidden or 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
Verified using Amazon EC2 Suse 12 machine. | |
See [http://download.opensuse.org/repositories/devel:/languages:/R:/patched/](http://download.opensuse.org/repositories/devel:/languages:/R:/patched/), then from [https://forums.opensuse.org/showthread.php/517620-Installing-R](https://forums.opensuse.org/showthread.php/517620-Installing-R): | |
```bash | |
zypper ar -f http://download.opensuse.org/repositories/devel:/languages:/R:/patched/openSUSE_12.3/ R-patched | |
zypper --gpg-auto-import-keys ref | |
zypper in R-patched R-patched-devel | |
``` |
This file contains hidden or 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
https://api.github.com/search/repositories?q=language:R+stars:%3C10000&page=10&sort=stars | |
... | |
https://api.github.com/search/repositories?q=language:R+stars:%3C1&page=10&sort=stars |