Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

R package is not loading

tjamal1
8 - Asteroid

I am trying to load R package in R tool but i am getting this error 

 

"Error: R (2): Error in library(RODBC) : there is no package called 'RODBC'"

 

The package/library is  is installed in the Alteryx /R Folder but is not loading 

 

Is there anyway to resolve this issue ?

 

I am using this to load package 

 

library(RODBC)

OR 

library("RODBC")

 

3 REPLIES 3
PhilipMannering
16 - Nebula
16 - Nebula

When you say it's installed... did you try running a workflow with this in R tool?

 

install.packages('RODBC', lib="C:/wherever you saved this library")

 

 

 

tjamal1
8 - Asteroid

library(RODBC, lib.loc ="C:/Program Files/Alteryx/R-3.5.3/library")

OR

library("RODBC", lib.loc ="C:/Program Files/Alteryx/R-3.5.3/library")

 

Not worked for me 

the same library used by R environment 

But in Alteryx it's not working  

tjamal1
8 - Asteroid

Uninstalling and reinstalling the package works for me 

Labels