问题描述
我正在尝试在 R 中创建我的简历,并且也托管了该应用程序,但是在托管应用程序后我使用的图像没有显示。
ui.R
library(shiny)
library(shinydashboard)
library(rsconnect)
#
shinyUI(
dashboardPage(
skin = "blue",dashboardHeader(title = "MAYANK TRIPATHI",titleWidth = 500,disable = TRUE),dashboardSidebar(
sidebarMenu(
menuItem(text = "About",tabName = "about",icon =icon("clipboard")),menuItem(text = "Experience",tabName = "experience",icon =icon("fas fa-briefcase")),menuItem(text = "Certifications",tabName = "certifications",icon =icon("fas fa-star")),menuItem(text = "Skills",tabName = "skills",icon =icon("fas fa-plus")),menuItem(text = "Education",tabName = "education",icon =icon("fas fa-user-graduate")),menuItem(text = "Awards",tabName = "awards",icon =icon("fas fa-medal"))
)
),dashboardBody(
tags$head(tags$style(HTML('
/* body */
.content-wrapper,.right-side {
background-color: #FFFFFF;
}
'))),tabItems(
tabItem(tabName = "about",# tags$img(src='mayank.png',height=180,width = 150,style = 'float:right;'),HTML('<center><img src="mayank.png"></center>'),h2(p("MAYANK TRIPATHI"),align = "center"),h3(p("Supply Chain Operations Consultant . 5+ yrs Experience . 8767461837 . mayanktripathi014@gmail.com"),h3(p("Supply Chain Data Analytics | Process Improvement | Lean Management | Forecasting | Project Management "),br(),h4(p("
A DATA lovER who believes in ' making your data do the work for you'.
5+ years of experience working in the engineering and supply chain field.
A result-oriented professional at synchronizing supply with demands and developing supply
chain strategies that significantly
impact profitability and increases the value of the business.
Strong written and spoken communication skills,ability to handle pressures arising from deadlines & targets.
Always keen on learning and implementing new skills at work for higher efficiency and greater impact.
"))),tabItem(tabName = "awards",h1(p("AWARDS & RECOGNITION"),tags$img(src='cyber.png',height=200,width = 300,style = 'float:left;'),h3(p("Received letter of appreciation from regional CEO,IMEA for exceptional contribution during
the cyber-attack crises at the Maersk group.")),tags$img(src='srf.png',h3(p("Received Letter of appreciation from SRF Limited one of the consignors of Walmart for going beyond the call
of duty to be available to resolve unforeseen potential show-stoppers while handling their Haz Cargo")),br()),tabItem(tabName = "education",h1(p("SCHOLASTIC RECORD"),h3("Executive Development Program In Data Science "),h4("XLRI Jamshedpur | First Class"),h3("P.G.D.M - Operations Management"),h4("Chetana's Institute of Management and Research | Grade 'A' "),h3("BE - Electronics Engineering"),h4("Mumbai University | First Class"),h3("H.S.C."),h4("Maharashtra Board | First Class"),h3("S.S.C."),br()
),tabItem(tabName = "skills",h1(p("Continuous Development In Skillset"),tags$img(src='rstudio.png',height=90,width = 100,h3(p("R Programming for statistical analysis,Data Analysis and Machine Learning")),tags$img(src='shiny.png',h3(p("R shiny for building interactive web applications and Business excellence tools")),tags$img(src='sql.png',h3(p("sql for handling relational databases")),tags$img(src='PBI.png',h3(p("Power BI for building Interactive Dynamic Dashboards")),tags$img(src='tab.png',h3(p("Tableau for building Interactive Dynamic Dashboards")),tags$img(src='xl.png',h3(p("Advance Excel for conducting data analysis,data visualization,and data storage"))),tabItem(tabName = "experience",h1(p("PROFESSIONAL EXPERIENCE"),tags$img(src='rsm.png',height=150,h1(p("RSM Astute Consulting Pvt Ltd")),h4(p("June 2019 - Present")),h3(em(p("Supply Chain Operations Consultant"))),h4(p(" Developed a Zero-based Logistics Cost optimization model in R programming,to estimate the optimum freight rate / benchmark rate for different vehicle types in India.
")),h4(p("Conducted complete Logistics spend analysis and cost-saving by conducting Diagnostic and Descriptive analytics,identifying process gaps for leading Pharmaceutical,Cement,and Metal companies.
")),h4(p("Developed capacity planning tool using linear programming algorithm which helps complete
allocation within minutes replacing the majority of manual allocation.
")),h4(p("Developed dashboards for varIoUs clients in Excel and R shiny for tracking,analyzing,and displaying Key Performance Indicators to monitor the health of the business.
")),h4(p("Conducted complete process audit for a large packaged food company implementing tools
like As-Is mapping,To-be Mapping,Time and Motion Study,conducting GAP analysis.
")),h4(p("Exploratory analysis: Using statistical tools like R Programming,Microsoft Excel,and visualization tools like Tableau,Power BI.
")),h4(p(" Carried out work as per project plan agreed with the client,training at the client
location,hand-holding client teams on improvement areas,coordinate and conduct reviews.
")),tags$img(src='damco.png',height=80,h1(p("damco India Pvt Ltd - Maersk Group")),h4(p("April 2017 - June 2019")),h3(em(p("Supply Chain Executive - Customer Associate"))),h4(p("Responsible for managing,controlling all SCM operations activities on the pan-India basis
for Walmart,to deliver optimal operations performed in accordance with the area business strategy and
agreed customer SLA.
")),h4(p("Designing of the dashboard for monthly and quarterly analysis on volume and
performance across all the regions and planning future strategies.
")),h4(p("Handling logistics movements of FCL and LCL shipments for exports from India and
Sri Lanka to USA,Canada and Mexico.
")),h4(p("Managing and coordinating with varIoUs internal and external stakeholders to maintain
the service levels required by the customer.
")),h4(p("Responsible for training and onboarding of vendors,monitoring vendor KPI and
rating them as per their performance.
")),tags$img(src='ISL.png',height=120,h1(p("Intellvisions Software Limited")),h4(p("April 2014 - May 2015")),h3(em(p("Junior Software Engineer"))),h4(p("Responsible for Installation of Kiosk,OptiQ machines & making it run live as per client's SLA.
")),h4(p("Run queries in sql database performing CRUD operations.
")),h4(p("Visiting installation sites & to provide expert technical support to site engineers
during escalation & complex cases.
")),h4(p("Testing and verifying that the implemented solution meets the requirement as per RFP.
")),h4(p("Conduct product training sessions for site engineers and newly joining candidates.
")),h4(p("To build & maintain Software repository documentation,instruction manuals,specifications.
"))),tabItem(tabName = "certifications",h1(p("CERTIFICATIONS"),tags$img(src='simplilearn.png',width = 120,h3("Tableau Desktop 10 Associate"),h4("Simplilearn"),h4("Credential: 1740409"),tags$img(src='CII.png',h3("Supply Chain Management Executive"),h4("Confederation of Indian Industry"),h4("Credential: ScmeXE/2015/0460"),tags$img(src='Axelos.png',h3("PRINCE2 Foundation and Practitioner Certificate in Project Management"),h4("AXELOS Global Best Practice"),h4("Credential: GR656075300MT"),tags$img(src='AIQM.png',h3("Lean Six Sigma Green Belt"),h4("Asian Institute of Quality Management"),h4("Credential: A-4229"),tags$img(src='mdb.png',h3("MongoDB Basics"),h4("MongoDB University"),h4("Credential:https://university.mongodb.com/course_completion/1b93b92b-57a0-40df-8846-32c51e5"),tags$img(src='dgm.png',h3("Regulation of Transport of Dangerous Goods By Sea - IMDG Code (Amendment 38-16)"),h4("IMDG"),h4("Credential:IMDG-D-0145-18")
)
)
)
)
)
server.R
library(shiny)
library(shinydashboard)
shinyServer(function(input,output,session){
})
解决方法
我在浏览器中检查了您的代码,并注意到唯一来源的图像是唯一显示的图像:
仔细检查以确保图像位于应用程序的 www/ 目录中,并且您正在使用:
src = "www/[filename]"
此外,您可以尝试使用 renderImage 在服务器端渲染图像:查看 this article 在闪亮应用中渲染图像。
此外,还有一个 package 用于在 R 中创建简历,它使用乳胶提供动力,可能值得一试。