Hello there,

Much thanks in advance for any help.  I have a few questions:

1) Why do I keep getting the following error:

File1 <- read.csv("../RawData/File1.csv",as.is=TRUE,row.names=1)
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") :
  cannot open file '../RawData/File1.csv': No such file or directory

?

More specifically, my directories are set up in the following way:
     SampleProject
 RawData   SampleCode

The current script is in the SampleCode folder.  File1.csv is in the
RawData folder.  I'm a bit confused why this error keeps occurring.  I
googled it and found many other people getting the same error, but was not
sure why mine remained incorrect...

2) Ultimately what I want to do is take File1.csv, File2.csv and File3.csv
(all in the RawData folder) and basically add them together such that it
was as if they were all on one big csv file to begin with.  I thought I
knew how to do this but I'm using a mac now-- is there something different
between the code to do this with R Studio and on a Mac and using Tinn R on
Windows?

In any case, I would really very much appreciate any help on both these
issues.

Thank you again.

benjamin

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to