Run R Script - Ubuntu Server -


i've compiled r on ubuntu server 16.04. i'm attempting run r script using rscript function, i'm running errors.

when run script using rscript, output shows functions as() , new() methods package included in r distribution cannot found. when run r interactively, i'm able use these functions without problem.

any tremendously appreciated!

it design bug in rscript: not load methods on startup.

two fixes:

  1. add library(methods) script, or
  2. do sudo apt-get install r-cran-littler , use r instead of rscript.

r has been loading methods since day 1 behaviour of rscript never made sense.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -