Skip to content

Conversation

@dcharbon
Copy link
Contributor

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.

Copy link
Contributor

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?

Copy link
Contributor Author

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.

dcharbon added 4 commits July 31, 2014 11:48
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)
@tpetricek
Copy link
Member

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?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants