Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hola
¿Puede alguien por favor ayudarme a instalar R?
Ya he comprobado si el "directorio de inicio" es correcto, y es ...
Tengo que usar algunos gráficos que exigen guión R y luego he intentado instalar R y R studio en mi portátil.
Después de instalarlo i oppened pbi escritorio y muestra el msg abajo.
Tipo de comentarios:
Frown (Error)
Mensaje de error:
Se ha producido un problema al procesar el script de R.
Estos son los detalles técnicos:
Al ejecutar el script de R se ha producido el siguiente error:
No se pudo recuperar la cadena de código de error de System ->15100
Rastreo de pila:
en Microsoft.PowerBI.Client.Windows.CustomVisualsHostService.<>c__DisplayClass24_0.<InstallDependencies>b__0()
en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
Mensaje de seguimiento de pila:
Se ha producido un problema al procesar el script de R.
Estos son los detalles técnicos:
Al ejecutar el script de R se ha producido el siguiente error:
No se pudo recuperar la cadena de código de error de System ->15100
Seguimiento de pila de invocación:
en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo.. ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
en Microsoft.PowerBI.Client.Windows.Utilities.UIBlockingAwareExceptionHandler.HandleException(Exception e)
en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
en System.Delegate.DynamicInvokeImpl(Object[] args)
en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
en System.Windows.Forms.Control.InvokeMarshaledCallbacks()
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
en System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
en Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)
en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction)
en Microsoft.PowerBI.Client.Program.<>c__DisplayClass1_0.<Main>b__1()
en Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
en Microsoft.PowerBI.Client.Program.Main(String[] args)
Código de error:
-2147467259 (0x80004005)
PowerBINonFatalError:
"AppName":"PBIDesktop","AppVersion":"2.83.5894.822","ModuleName":"Microsoft.PowerBI.Client.Windows.dll","Component":"Microsoft.PowerBI.Client.Windows.CustomVisualsHostService +<>c__DisplayClass24_0","Error":"Microsoft.PowerBI.Scripting.R.Exceptions.RUnexpectedException","MethodDef":"<InstallDependencies>b__0","ErrorOffset":"270"
Registros de seguimiento de instantáneas:
C:-Usuarios-Usuario-AppData-Local-Microsoft-Power BI Desktop-FrownSnapShot171831985.zip
Modo predeterminado del modelo:
Importación
Versión del modelo:
PowerBI_V1
Está habilitado el informe de modelos V3:
Falso
Registros de seguimiento de rendimiento:
C:-Usuarios-Usuario-AppData-Local-Microsoft-Power BI Desktop-PerformanceTraces.zip
Funciones de vista previa habilitadas:
PBI_NewWebTableInference
Funciones de vista previa desactivadas:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_inlineExplore
PBI_v3ModelsPreview
PBI_dataSearchCuration
PBI_azureMapVisual
Opciones de DirectQuery deshabilitadas:
TreatHanaAsRelationalSource
Nube:
GlobalCloud
Fórmulas:
Hola @riadorra ,
Vea si esto ayuda
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-r-scripts
https://community.powerbi.com/t5/Desktop/R-Script-error-317/td-p/274341
https://community.powerbi.com/t5/Desktop/R-script-as-data-source-in-Power-BI-Desktop/td-p/685850
https://stackoverflow.com/questions/52885101/anaconda-in-windows-with-power-bi
Código de error:
-2147467259 (0x80004005)
https://www.youtube.com/watch?v=fQe3AfQr-XA
saludos
Harsh Nathani
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución! Apreciar con un Kudos!! (Haga clic en el botón Pulgares arriba)
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.