Learn R Programming

m2r (version 1.0.3)

m2_call: Call and reset a Macaulay2 process

Description

Call and reset a Macaulay2 process

Usage

m2r_version_number()

m2r_cloud_url()

has_m2_connection()

start_m2( port = 27436L, timeout = 10, attempts = 10, cloud = FALSE, hostname = m2r_cloud_url() )

stop_m2()

reset_m2( port = 27436L, timeout = 10, attempts = 10, hostname = "ec2-52-10-66-241.us-west-2.compute.amazonaws.com" )

m2(code, timeout = -1)

m2.(code, timeout = -1)

# S3 method for m2_pointer print(x, ...)

Value

m2 return value

Arguments

port

port for Macaulay2 socket

timeout

number of seconds before aborting

attempts

numer of times to try to make connection

cloud

use a cloud?

hostname

the remote host to connect to; defaults to the Amazon EC2 instance

code

Macaulay2 code

x

formal argument for print method

...

...