我对R(版本3.0.3)非常新,我正在使用shiny
和ggplot
处理一个小应用。一切都很好,然后我似乎无法正确加载包。
这是我的代码和错误消息:
library(shiny)
library(ggplot2)
# Error in get(Info[i, 1], envir = env) : lazy-load database 'P' is corrupt
# In addition: Warning message:
# In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
# Error: package or namespace load failed for ‘ggplot2’**
library(reshape2)
# Error in get(Info[i, 1], envir = env) : lazy-load database 'P' is corrupt
# In addition: Warning message:
# In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1
# Error: package or namespace load failed for ‘reshape2’**
shinyUI(pageWithSidebar(
headerPanel( h3(textOutput("athleteTxt"))),
sidebarPanel(selectInput("athlete", "Changer d'athlete :", paste(dataNom$Nom, dataNom$Prenom))),
mainPanel(tabsetPanel(
tabPanel('Progression individuelle',
plotOutput("graphInd")),
tabPanel('Comparaison par poste',
plotOutput("graphPosition"),
tableOutput("tabPosition")),
tabPanel('Comparaison avec pro',
selectInput("positionStd", "Choisir un standard pour comparer :",
dataStandardsP$Position),
tableOutput("tabStandards")),
))
))
感谢您的帮助。