How to call R functions from command line and from within R shell

Bryan D

Bryan D

How to call R functions from command line and from within R shell

R < --vanilla mean.R
R CMD BATCH mean.R

 

If you are trying to run the file from inside the R shell, that's wrong way.
You should type
> source("mean.R")
instead

Related Articles

Wishlist Member WooCommerce Plus - Sell Your Membership Products With WooCommerce The Right Way .

Powered by WishList Member - Membership Software