R Tool for Visual Studio - error: System.ArgumentException: package does not have ProvideToolWindowAttribute attribute

I just installed Microsoft Visual Studio 2017 (community version) using the R Tool (on Win 7 Enterprise).

R is working fine (I can create variables and a graph), but the following error message appears in the "R Interactive" window:

An exception was encountered while constructing the content of this frame.  This information is also logged in "C:\Users\some_user\AppData\Roaming\Microsoft\VisualStudio\15.0_305216d4\ActivityLog.xml".

    Exception details:
    System.ArgumentException: The package does not have a ProvideToolWindowAttribute for tool window c2582843-58c9-4fe7-b4bd-864c17ad7ce2
    Parameter name: toolWindowType
       at Microsoft.VisualStudio.Shell.Package.ThrowNoMatchingToolWindowAttribute(Object toolWindowType, String paramName)
       at Microsoft.VisualStudio.Shell.Package.GetToolWindowAttribute(Guid toolWindowType)
       at Microsoft.VisualStudio.Shell.Package.CreateToolWindow(Guid& toolWindowType, Int32 id)
       at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
       at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()

Therefore, I can not output the results to the console. Does anyone know how to fix this?

Update:

Here is the log file (C: \ Users \ some_user \ AppData \ Roaming \ Microsoft \ VisualStudio \ 15.0_305216d4 \ ActivityLog.xml)

https://www.dropbox.com/s/frpncfjzl1gwqpy/ActivityLog.xml?dl=0

Another update

I was cross hosted on github https://github.com/Microsoft/RTVS/issues/4302but still haven't answered.

+4
source share

Source: https://habr.com/ru/post/1695491/


All Articles