-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for remote R sessions using svSocket. #115
base: master
Are you sure you want to change the base?
Conversation
*) | ||
|
||
// Retrieve stock price time series and compute returns | ||
let msft = msftOpens |> RR.log |> RR.diff |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this example work if you don't have the compiler patched to support provided extension methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, the example will not work if you don't have the patched compiler or a later compiler version that includes the extension method support.
Includes a new RemoteSession type for connecting to and using remote R sessions with support for moving data back and forth between a local fsharp R session and a remote R session. Also includes a type provider that generates extension methods for the RemoteSession type, adding all R functions from packages imported using the "open RProvider.{rpackage}" syntax. The generated extension methods will not work with the current FSharp compiler, but should be available in a future release of the compiler.
Assignment to variables in a RemoteSession may be done directly RR?foo = "foo" Remote variables may be directly retrieved as RemoteSymbolicExpressions: RR?foo Objects may be cast to local SymbolicExpressions, including RemoteSymbolicExpressions: (32).ToLocalValue() (RR?foo).ToLocalValue() Objects may be cast to RemoteSymbolicExpression: (32).ToRemoteValue(SomeRemoteSession)
Am I correct that this is waiting for a release of F# that will include support for generating provided methods? (And do we know if this is going to be in F# vNext, or if that's going to be in an update for VS 2013?) |
Includes a new RemoteSession type for connecting to and using remote R
sessions with support for moving data back and forth between a local
fsharp R session and a remote R session. Also includes a type provider
that generates extension methods for the RemoteSession type, adding all R
functions from packages imported using the "open RProvider.{rpackage}"
syntax. The generated extension methods will not work with the current
FSharp compiler, but should be available in a future release of the
compiler.