Dear Madam, Sir, I wonder me how I can scan a file in R when I work at an Apple (Mac OS X). I know how to do in a Windows surrounding, but not in the Apple one. Can you help me? Hope to hear from you and thanks in front, Lilian Roos PS. I have to scan "verzoeken2.txt" and this file is at my USB DISK drive. ===== "All the freaky people make a beauty of the world" - Michael Franti _______________________________ Declare Yourself - Register online to vote today!
scan with Apple
2 messages · Lilian Roos, Thomas Lumley
On Thu, 30 Sep 2004, Lilian Roos wrote:
Dear Madam, Sir, I wonder me how I can scan a file in R when I work at an Apple (Mac OS X). I know how to do in a Windows surrounding, but not in the Apple one. Can you help me? Hope to hear from you and thanks in front, Lilian Roos PS. I have to scan "verzoeken2.txt" and this file is at my USB DISK drive.
The same way. You need to know the path for the file. Look in the Finder
to see the name of your USB disk drive. Suppose it is called UNNAMED
(which is the default for some brands). Then
scan("/Volumes/UNNAMED/verzoeken2.txt")
would work
-thomas
===== "All the freaky people make a beauty of the world" - Michael Franti
_______________________________ Declare Yourself - Register online to vote today! ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle