Hi, I'm running into the error below when doing "R CMD INSTALL MyPackage.tar.gz". This didn't use to be this way and I am at a loss as to where this might be coming from. Any pointers where to look? Joh ** building package indices ... Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 8 elements ERROR: installing package indices failed
On 28/10/2010 7:54 AM, Johannes Graumann wrote:> Hi, > > I'm running into the error below when doing "R CMD INSTALL > MyPackage.tar.gz". This didn't use to be this way and I am at a loss as to > where this might be coming from. Any pointers where to look? > > Joh > > ** building package indices ... > Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, > : > line 1 did not have 8 elements > ERROR: installing package indices failed >You may get more informative error information if you do the install from within R. Supposing you've used setwd() to go to the directory where your package lives, try install.packages("MyPackage.tar.gz", repos=NULL, type="source") If that fails, then traceback() will tell you where the failure happened. Duncan Murdoch
Johannes Graumann wrote:> Hi, > > I'm running into the error below when doing "R CMD INSTALL > MyPackage.tar.gz". This didn't use to be this way and I am at a loss as to > where this might be coming from. Any pointers where to look? > > Joh > > ** building package indices ... > Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, > : > line 1 did not have 8 elements > ERROR: installing package indices failedI was working on new functionality and had a no-zipped data file in the "data" directory ... chance finding in google put me on that track ... Works again. Joh