Hi there -
I'm very new to SAS Studio and trying to access data that I need for a course. This dataset was downloaded from Canvas (from my professor) and now I need to access it in SAS Studio. I've seen all the posts about referencing the file in which it lives, but that is not working for me. I don't have the normal C: folders, I have this:
).
I tried this code
libname HIM5623 '/Users/jackiadams/Desktop';
run;
But then I get this response. (Also, there is a library named HIM5623, so I'm not sure why I'm getting that.) Any information to help me get this dataset somewhere I can access it, would be greatly appreciated.
Locate the cursor on HIM5623 folder and right click to check proerties - you will get the right path to the folder,
to be used in the LIBNAME statement.
You're trying to use your C drive (Desktop) with a cloud installation of SAS. It cannot see your C drive or anything on your computer. Instead, you need to find the correct path for the data set on the server and you can do that by right clicking the file and selecting properties.
@JackiStudio wrote:
Hi there -
I'm very new to SAS Studio and trying to access data that I need for a course. This dataset was downloaded from Canvas (from my professor) and now I need to access it in SAS Studio. I've seen all the posts about referencing the file in which it lives, but that is not working for me. I don't have the normal C: folders, I have this:
).
I tried this code
libname HIM5623 '/Users/jackiadams/Desktop';
run;But then I get this response. (Also, there is a library named HIM5623, so I'm not sure why I'm getting that.) Any information to help me get this dataset somewhere I can access it, would be greatly appreciated.
1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;7071 libname HIM5623 '/Users/jackiadams/Desktop';NOTE: Libref HIM5623 refers to the same physical library as MYDATA.WARNING: Library HIM5623 does not exist.NOTE: Libref HIM5623 was successfully assigned as follows:Engine: V9Physical Name: /Users/jackiadams/Desktop72 run;737475 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;86
How could a folder named "my_datasets" have a path that ends in "Desktop"?
@Tom wrote:
How could a folder named "my_datasets" have a path that ends in "Desktop"?
It can in SAS UE depending on what you name the shortcut in the virtual machine, but that's not relevant to this discussion as it's OnDemand for Academics as the first screenshot shows URL for OnDemand server.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.