This repository was archived by the owner on Oct 28, 2019. It is now read-only.

Description
I have the following code to create a wbservice which has a package twitterR and got the following error
Error in read.dcf(file = tmpf) : cannot open the connection
In addition: Warning message:
In read.dcf(file = tmpf) :
cannot open compressed file 'C:/sAJUDENTICK/bin/windows/contrib/3.1/PACKAGES', probable reason 'Permission denied'
localCRAN <- "C:/sAJUDENTICK"
uri <- paste0("file:///", normalizePath(localCRAN, winslash = "/"))
options(repos = c(CRAN = uri))
api <- publishWebService(
ws,
fun = twitComm,
name = "TwiterCommon",
inputSchema = data.frame(features_to_select),
data.frame=TRUE,
packages = c("twitterR")
)