cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

Folder empty

The script create the folder, but the folder is empty. I don't have the answer for that: 

NetflixCrow956_0-1647959264751.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Folder empty

There are 2 issues

  1. Your IF() function for saving the file, when the directory exists, has no action. 
    If( Directory Exists( path_save || DIR_NAME ),,	dt<< Save(path_save || DIR_NAME || "\" || DIR_NAME || ".jsl", Append) );
    I believe what you want is
    If( Directory Exists( path_save || DIR_NAME ),	dt<< Save(path_save || DIR_NAME || "\" || DIR_NAME || ".jsl", Append) );
  2. The second issue is that you are attempting to save the data table(dt) as JSL.  Saving a data table using the Save() function only can be saved as .jmp, .xls, .slsx, .txt, .csv, .tsv, .sas7bdat, .xpt and .stx txnelson_0-1647961809103.png

     

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Folder empty

There are 2 issues

  1. Your IF() function for saving the file, when the directory exists, has no action. 
    If( Directory Exists( path_save || DIR_NAME ),,	dt<< Save(path_save || DIR_NAME || "\" || DIR_NAME || ".jsl", Append) );
    I believe what you want is
    If( Directory Exists( path_save || DIR_NAME ),	dt<< Save(path_save || DIR_NAME || "\" || DIR_NAME || ".jsl", Append) );
  2. The second issue is that you are attempting to save the data table(dt) as JSL.  Saving a data table using the Save() function only can be saved as .jmp, .xls, .slsx, .txt, .csv, .tsv, .sas7bdat, .xpt and .stx txnelson_0-1647961809103.png

     

Jim

Recommended Articles