cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

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

How to rename JMP column name with () in it

Hi,

 

I would like to rename a column with column name "Error(%)" to "Error_Percentage. May i know how to write a JMP script for this? thanks

1 REPLY 1
jthi
Super User

Re: How to rename JMP column name with () in it

If you have your data table reference in variable dt, scrip below should work

Column(dt, "Error(%)") << Set Name("Error_Percentage");

jthi_0-1676009430466.png

Also if you have JMP16+ you can get script like this from action recorder:

// Change column name: Error(%) → Error_Percentage
Data Table("Untitled"):"Error(%)"n << Set Name("Error_Percentage");

 

-Jarmo

Recommended Articles