Write and run SAS programs in your web browser

sas university edition free version shared folders problem

Reply
New Contributor
Posts: 4

sas university edition free version shared folders problem

hello, 

once i managed to put my shared folder in tha sas studio program. Somehow i lost tha data and try to put it back, the problem is that it appears in my sas studio only as a shortcut ( i am using the settings/ shered folders in the virtual box window). How can i use my shared folders in sas ( i want them to appear as a permanent folder at the left side of my sas studio window), so that when writing data set it  doesn't always appear that there is a problem with tha path and the table that i want to use does not  exist?

 

10x in advance

Super User
Posts: 19,105

Re: sas university edition free version shared folders problem

It sounds like you have a custom library that you'd like as a permanent library.

 

To do this you can modify the autoexec file. It's under one of the menu's on the top right side of the screen. Basically add the libname statement there and it will run everytime you open SAS.  Also, you can get the path for the folder by right clicking the shortcut and examining the properties.

 

libname mylib '/folders/myfolders/';

 

New Contributor
Posts: 4

Re: sas university edition free version shared folders problem

hi,

 

thanks for the answer, but this is not working for me, may be because i dind't state my question clearly.

I will try again with a simple example.

I want to use the the downloaded Ron Cody's folder. I already have it in my PC/ Local disc c/... 

How can i move it, place it and see it at the right side of the free SAS University edition program ( downloaded version using Virtual box) in the field My Folders?

 

BR

 

borjana

Super User
Posts: 19,105

Re: sas university edition free version shared folders problem

Follow instructions to set up shared drive...

1. Move folder to under /folders/myfolders/ ie
/folders/myfolders/ron_cody
2. Write lib to folder
libname ron '/folders/myfolders/ron_cody';

http://support.sas.com/software/products/university-edition/faq/main.htm

http://support.sas.com/software/products/university-edition/faq/data_access_import.htm
New Contributor
Posts: 4

Re: sas university edition free version shared folders problem

thanks again,

 

i have already tried these methods, nothing is working.

I founfd another way to do what i want.

First i craete a new folder in SAS University edition, then i use left button- Upload and add the file that i need to use.

That is how i have it as a permanenet file in my folders.

The only problem is that i can upload only a file not a whole folder.

If you can tell me how can i add a whole folder? (They are alredy shared, but do not appear in sas university edition)

 

Best Regards,

borjana

Super User
Posts: 19,105

Re: sas university edition free version shared folders problem

Are you files txt or SAS files? If they're text files you need to import the data and then store them in a library. I thought the book had a script that imported all the prep data.
New Contributor
Posts: 4

Re: sas university edition free version shared folders problem

yes, the files that i want to import are txt and csv.

i have downloaded them ( from sas Cody page) unzipped them saved them in a shered folder and somehow before some time i have managed to transfer the whole folder in sas program, but once i lost them, now i can't stop wondering how did it first happen to open a folder with txt and csv files in sas program?

Super User
Posts: 19,105

Re: sas university edition free version shared folders problem

CSV/TXT are not native files to SAS. To bring them into SAS permanently you can import them all, create SAS datasets out of the files, SAS7BDAT, and store those in a permanent library. For example, take a look at the free SAS programming course and see how the data set up program runs. You're looking for the same thing.
Ask a Question
Discussion stats
  • 7 replies
  • 418 views
  • 2 likes
  • 2 in conversation