The 1 3 C(p,γ) 1 4 N radiative capture reaction is analyzed within the R-matrix approach with the aim to determine the astrophysical S factor. The low-energy astrophysical S factor has important contributions from both resonant and nonresonant captures. The contribution of the nonresonant component of the transition to a particular 1 4 N bound state is expressed in terms of the asymptotic normalization coefficient (ANC). The experimental ANCs induced from the 1 3 C( 1 4 N, 1 3 C) 1 4 N and 1 3 C( 3 He,d) 1 4 N reactions are used in the analysis. The fits of the calculated S factors to the experimental data are sensitive to the ANC values and are used to test the extracted ANCs. It is found that the ANCs determined from the transfer reactions provide the best fit for transitions to all the states in 1 4 N, except for the third excited state. The obtained astrophysical factor, S(0)=7.6+/-1.1 keVb, is in excellent agreement with published values.