Problem Note 67110: A SUBMIT statement with the R option in the IML procedure generates errors for all R code
If you are using version 4.x.x of R, a SUBMIT / R block in PROC IML can issue a series of errors that includes the following messages:
ERROR: SAS is unable to transcode character data to the R encoding.
ERROR: The final R statement is incomplete.
The only workaround is to revert to version 3.x.x of R.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/IML | Microsoft® Windows® for x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8 Enterprise 32-bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8 Enterprise x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8 Pro 32-bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8 Pro x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8.1 Enterprise 32-bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8.1 Enterprise x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8.1 Pro 32-bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 8.1 Pro x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows 10 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2008 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2008 R2 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2008 for x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2012 Datacenter | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2012 R2 Datacenter | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2012 R2 Std | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2012 Std | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Microsoft Windows Server 2016 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Enterprise 32 bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Enterprise x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Home Premium 32 bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Home Premium x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Professional 32 bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Professional x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Ultimate 32 bit | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
Windows 7 Ultimate x64 | 14.3 | 15.3 | 9.4 TS1M5 | 9.4 TS1M8 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When PROC IML makes a call to R, it might generate error messages that include "ERROR: The final R statement is incomplete" and "ERROR: SAS is unable to transcode character data to the R encoding."
Type: | Problem Note |
Priority: | high |
Topic: | Analytics ==> Matrix Programming
|
Date Modified: | 2023-03-03 15:49:05 |
Date Created: | 2020-12-16 07:37:31 |