Consequences of R-parity violating interactions for anomalies in ¯ B → D ( ∗ ) τ ¯ ν and b → s μ + μ −