In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Error in R code while trying to open a password protected excel file

saachitalwar
8 - Asteroid
R (1) Error in library("excel.link") : there is no package called 'excel.link'
R (1) Execution halted
R (1) The R.exe exit code (1) indicated an error.

 

this above error keeps popping up while I run the code to open an excel file in alteryx.

 

I tried the analytical app method of installing excel.link package but that didn't work either

 

any help is appreciated with this.

 

Code:

 

# install.packages(c("excel.link"),repos='https://cran.revolutionanalytics.com/',dependencies = TRUE)
library("excel.link")

df <- read.Alteryx("#1", mode="data.frame")
filename <- as.character(df[1,"FullPath"])
excel_pwd <- as.character(df[1,"excel_password"])

excel_data <- xl.read.file(filename, password = excel_pwd, write.res.password=excel_pwd)

write.Alteryx(excel_data, 1)

 

0 REPLIES 0
Labels
Top Solution Authors