Error in paste("Variable type cannot be changed from", varTypeOrig, "to", : argument "varName" is missing, with no default

Problem
Error in paste("Variable type cannot be changed from", varTypeOrig, "to", : argument "varName" is missing, with no default
Solution
The nameVarInfo object expects to be a list of variables with each variable in the list having a list of properties set, of which 'newName' is one. The correct way to set the nameVarInfo with updated column names would be:

nameVarInfo <- list(existingName1 = list(newName = "nameiwant1"), existingName2 = list(newName = "nameiwant2"), existingName3 = list(newName = "nameiwant3), ...) rxSetVarInfoXdf(nameVarInfo, retStubxdf)
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3104231 - Last Review: 10/29/2015 06:47:00 - Revision: 1.0

Revolution Analytics

  • KB3104231
Feedback