Skip to content

paletteknife

Create Colour Scales and Legend from Continuous or Categorical Vectors

v0.4.2 · Apr 20, 2022 · MIT + file LICENSE

Description

Streamlines the steps for adding colour scales and associated legends when working with base R graphics, especially for interactive use. Popular palettes are included and pretty legends produced when mapping a large variety of vector classes to a colour scale. An additional helper for adding axes and grid lines complements the base::plot() work flow.

Downloads

CRAN

212

Last 30 days

20972nd

845

Last 90 days

3.1K

Last year

Trend: +15.9% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

25

Last 90 days

111

Last year

Trend: -40% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

PDF version of manual

Rd conversion errors:
Converting parsed Rd's to LaTeX Warning in file(out, "wt") :
  cannot open file '/tmp/RtmpiKDNnK/ltx6b272dd33405/autoaxis.tex': No space left on device
Error in file(out, "wt") : cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Version History

3 tracked
new 0.4.2 Mar 10, 2026
updated 0.4.2 ← 0.4.1 diff Apr 19, 2022
new 0.4.1 Oct 14, 2021