cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar

How to get current data table's directory?

I use get current directory(); but it works only when i open a fil from menu File->open. If I just open a jmp file by clicking on it and the result of get current directory() is not what is supposed to be.
9 REPLIES 9

Re: How to get current data table's directory?

This isn't exactly the same question but the answer to one will answer the other: having loaded a data table into JMP, can I determine at a later point in the session where it was loaded from?

I can find this out if I've imported a spreadsheet into a JMP data table, because the path of the spreadsheet is recorded as a table variable, and can be retrieved with:

show(dt << get table variable("Notes"));

However I can't see how to access the same information if the data table was simply saved as a JMP table and then later reloaded. JMP obviously possesses this information, because it knows where to write the file back to if you re-save it. Anyone?
gh
gh
Level III

Re: How to get current data table's directory?

try get default directory()

Re: How to get current data table's directory?

it is not current table's path but JMP''s setting.

Re: How to get current data table's directory?

Anyone? Please.
mattf
Level V

Re: How to get current data table's directory?

 

Re: How to get current data table's directory?

it works. thanks MattF. BTW did JMP launched JMP 9?
jschroedl
Staff

Re: How to get current data table's directory?

FYI - JMP 9 launched today!!

Re: How to get current data table's directory?

it is not work when I change to win7. it is always showing wrong path....Would you help on that?
mpb
mpb
Level VII

Re: How to get current data table's directory?

The "get path()" function MattF mentioned in JMP 9 works in Windows 7.

Recommended Articles