- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I can't get SAS to read in my text file on my mac, I've tried everything? Could someone please help, this is what I have.....
Data golf;
infile '/Users/katiemessi/Documents/golf.text';
input Distance_yards 18-22
Golfer_ID 28-29
Brand $ 39;
run;
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you're using SAS University Edition, which is local, though it appears in your browser then my previous suggestion applies.
If you're using SAS Academics on Demand, then no, this does not apply. In that case SAS cannot access files on your computer, because it's in the cloud. So you need to upload your data first. Go to files/folders/servers pane on the right hand side, there will be a picture of a cabinet or up arrow that can you use to upload your files. Then you can right click the file, select properties and see the file path you need to use.
Both assume you're using SAS Studio. If you're using EG its a different process again.
@KatieMessi wrote:
I’m using the online SAS Does this still apply
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
You need to use the myfolders you created at set up. Place your files in that folder and then you can reference them using:
/folders/myfolders/golf.txt
If you check out the Learning SAS subforum here, it has a lot of the starting up questions you likely have.
Edit: Another good resource is video.sas.com for learning tutorials.
@KatieMessi wrote:
I can't get SAS to read in my text file on my mac, I've tried everything? Could someone please help, this is what I have.....
Data golf;
infile '/Users/katiemessi/Documents/golf.text';
input Distance_yards 18-22
Golfer_ID 28-29
Brand $ 39;
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
If you're using SAS University Edition, which is local, though it appears in your browser then my previous suggestion applies.
If you're using SAS Academics on Demand, then no, this does not apply. In that case SAS cannot access files on your computer, because it's in the cloud. So you need to upload your data first. Go to files/folders/servers pane on the right hand side, there will be a picture of a cabinet or up arrow that can you use to upload your files. Then you can right click the file, select properties and see the file path you need to use.
Both assume you're using SAS Studio. If you're using EG its a different process again.
@KatieMessi wrote:
I’m using the online SAS Does this still apply
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content