I figured it out... -> session -> set working directory -> files pane location
make sure you are in the active folder in the folder's tab
caveat: see nwerth's comment below
original problem:
here's my code:
trees <-read.nexus("AMD_phylogeny_tree_files_1000.nex")
the file is buried in "Home > Cfiles > AMD_morphology" (i can see the file in the files pane to the right)
how do i change the "read" command to get to that file?
here's the error message i get:
Error in file(file, "r") : cannot open the connection
In addition: Warning message:
In file(file, "r") :
cannot open file 'AMD_phylogeny_tree_files_1000.nex': No such file or directory
Thanks