Error in ls(envir = envir, all.names = private) : invalid 'envir' argument in R Error in ls(envir = envir, all.names = private) : invalid 'envir' argument in R r r

Error in ls(envir = envir, all.names = private) : invalid 'envir' argument in R


Have u fully solved your issue? i had a similar issue just a few days ago, sorted it out and would like to share with the community. Actually those wrapper functions (in my case, Rbbg package) call rJava functions had a log file in your user folder under C drive, you could delete those log files as it will enable you to escape from the the error message.enter image description here

In my case, I need to delete the blpjavaapi0.log.0 and org.findata.blpwrapper.0 files created by Rbbg package.