EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB439807: "Error in unclass(x) : cannot unclass an external pointer" error message appears when attempting to open any R script using MicroStrategy deployR ().


Community Admin

• Strategy


This article describes an error message user may encounter when attempting to open any R script using MicroStrategy deployR (). This issue is limited to using the "RGtk" package version 2.20.33. A solution is provided.

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

CAUSE
This issue is caused by compatibility issues between R and "RGtk" package version 2.20.33.  
ACTION
Follow 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


Comment

0 comments

Details

Knowledge Article

Published:

March 2, 2018

Last Updated:

November 28, 2018