Dear R users, I have a txt file entitled coc composed by one column of numeric values without header and having 50 rows. This file is under the following path:
C:\\Users\\intel\\Documents\\TR I have written the following lines: xcx=read.table("C:\\Users\\intel\\Documents\\TR\\coc.txt",header=F) xc=log(xcx) I have obtained the series xc but when I wrote x=diff(xc) I obtained the following message: data frame with 0 columns and 50 rows I don't know where is the problem. Can you help me please [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.