SYMPTOM
Users may encounter "Error in unclass(x) : cannot unclass an external pointer" error message when attempting to open any R script in R console using Strategy deployR ().
Error in unclass(x) : cannot unclass an external pointer
CAUSEThis issue is caused by compatibility issues between R and "RGtk" package version 2.20.33.
ACTIONFollow the steps below to resolve the issue:
1) Download "RGtk2_2.20.31.zip" from the attachment below, or the latest "RGtk" package version from https://cran.r-project.org/web/packages/RGtk2/index.html
2) Remove the problematic "RGtk" package from the installation, and re-install the package from the downloaded source file using the below statements respectively:
remove.packages("RGtk2")
install.packages("C:\\RGtk2_2.20.31.zip", repos=NULL,type="source")
3) Re-open R console and launch deployR ()
This issue has been logged as Scopus ID: 230062 KB439807