Dear all, it seems to be that 'recode' can't handle any line breaks in its code.
The following command causes no problem: datameta$smpid.r <- recode(datameta$smpid,"c(101,25,167,45,75)=25;c(104,51)=51") But if I type ... datameta$smpid.r <-recode(datameta$smpid, "c(101,25,167,45,75)=25; c(104,51)=51") ... the result is a syntax error. TIA Bernd -- Bernd Weiss, M.A. Universitaet zu Koeln / University of Cologne Forschungsinstitut fuer Soziologie / Research Institute for Sociology Greinstr. 2 / 50 939 Cologne / Germany Phone: +49 221 / 470-4234 E-Mail: <[EMAIL PROTECTED]> ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help