Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate Excel File with Images and Write the Output with the Image into Excel in R #502

Open
richujos opened this issue Sep 21, 2024 · 0 comments

Comments

@richujos
Copy link

I am trying to consolidate two excel file with the same column names and write the output into an another excel file while keeping the images in place.

But whenever I consolidate the output, the images are not visible as its not being read into the data frame.

Would it be possible to create a feature which will help in consolidation of excel images within the data frame along with a data frame.

library(openxlsx)
library(dplyr)

Book1 <- read.xlsx("C:/Users/X/X/Desktop/Book1.xlsx", sheet = "Sheet1")

Book2 <- read.xlsx("C:/Users/X/X/Desktop/Book1.xlsx", sheet = "Sheet2")

Consolidation <- rbind(Book1,Book2)
print(Consolidation)

The data frame 1 looks like this:

image

The data frame 2 looks like :

image

The Expected output from the feature is shown below:

image

Would this be something which you guys can create as a new feature for openxlsx library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant