inst/rpc_server/some_script.r

require( "stats", quietly = TRUE )

user_func <- function( times ) {
	rep( "I am made of sugar", times )
}

fib <- function( n ) {
	if( n < 2 )
		return( 1 )
	return( fib( n - 1 ) + fib( n - 2 ) )
}

Try the rjson package in your browser

Any scripts or data that you put into this service are public.

rjson documentation built on Jan. 9, 2022, 9:07 a.m.