MixSIAR
MixSIAR copied to clipboard
Problem in load_mix_data
Dear Brian I am facing an "Error in read.table(file=file, header=header, sep=sep, quote=quote :" I have used these codes and the data file was saved in .csv format successfully.
- library (MixSIAR) : Rstudio can read MixSIAR
- data<-read.csv("C:\Users\Administrator\Documents\test\1stdata_consumer.csv") : I have used this code because replacing the system.file with the path address was not working
- mix.filename <- system.file("extdata", "data", Package="MixSIAR") : Rstudio successfully receive this code
- read.table(file= "C:\Users\Administrator\Documents\test\1stdata_consumer.csv", header = TRUE, sep=",", quote="") : Rstudio successfully receive this code
- Now, when I am running mix <- load_mix_data(filename=mix.filename, iso_names=c("d13C", "d15N"), factors=c("X8YR", "X11YR") fac_random=c(TRUE,TRUE), fac_nested=c(FALSE,TRUE), cont_effects=NULL) : it gives the error in read.table(file=file, header=header, sep=sep, quote=quote :"
How can I fix this issue? Please suggest me. I am waiting for your guide. Thanks in Advance Best Regards Alam Kamar