스크립트를 통해 쿼리 된 데이터 테이블을 지정된 폴더에 저장하는 방법은 무엇입니까?</CODE></PRE><P>안녕하세요! 여기 누구든지 jmp 스크립트를 통해 쿼리 된 데이터 테이블을 지정된 폴더에 저장하는 방법을 알고 있습니까? 올바른 방법을 찾지 못하는 것 같습니다 ... 미리 감사드립니다!</P><P>내 샘플 스크립트는 다음과 같습니다.</P><PRE><CODE class=" language-jsl">Data Table( "name of data table" );
//save raw data table to a folder
dt = current data table ();
filepath = "C:\Users\folder path";
dt<< save(filepath || "name of data table.jmp");
데이터 테이블스크립팅Re : 스크립트를 통해 쿼리 된 데이터 테이블을 지정된 폴더에 저장하는 방법?문제는 파일 경로와 "데이터 table.jmp 이름"사이에 "/"가 누락 된 것 같습니다.아래는 작업 스크립트입니다.
Names Default To Here( 1 );
Open( "$SAMPLE_DATA\big class.jmp" );
dt = Data Table( "big class" );
filepath = "$TEMP";
Wait( 5 ); // placed for the example so the table will be visible
dt << save( filepath || "\" || "mytable.jmp" );
Close( dt, nosave );
Wait( 5 ); // placed so for the example one can see the table is closed
Open( filepath || "\" || "mytable.jmp" );