Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I need to indicate a right file path to read a .csv file into R on OS X, but how can I find where the file is stored? Looking at Excel files, the file path starts at users/…, but there is no indication of a disk or something.

share|improve this question

2 Answers 2

There's no disk letter in OS X unlike Windows.

The mount point for disks is usually /Volumes. For example, files on a flash drive with the name FLASHDRIVE will be located in /Volumes/FLASHDRIVE/.

The startup disk is the root, /. Therefore, the Users folder is /Users. No drive letter is prepended to this.

share|improve this answer

You can right click the file and "Get Info". The path is written right there. Alternatively you could e.g. drag the file into a terminal window to see the path..

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.