Some anomalies in the processes b → s ( = µ, e) and b → c ν ( = τ, µ, e), in particular in the observables R K and R D ( * ) , have been found by the BaBar, LHCb and Belle collaborations, leading to a possible lepton flavor universality violation. If these anomalies were confirmed they would inevitably lead to physics beyond the Standard Model. In this paper we try to accommodate the present anomalies in an extra dimensional theory, solving the naturalness problem of the Standard Model by means of a warped metric with a strong conformality violation near the infra-red brane. The R K anomaly can be accommodated provided that the left-handed bottom quark and muon lepton have some degree of compositeness in the dual theory. The theory is consistent with all electroweak and flavor observables, and with all direct searches of Kaluza-Klein electroweak gauge bosons and gluons. The fermion spectrum, and fermion mixing angles, can be reproduced by mostly elementary right-handed bottom quarks, and tau and muon leptons. Moreover the R D ( * ) anomaly requires a strong degree of compositeness for the left-handed tau leptons, which turns out to be in tension with experimental data on the g Z τ L coupling, possibly unless some degree of fine-tuning is introduced in the fixing of the CKM matrix.