fslaborg / fslaborg/RProvider

subset expression not being accepted

Open
#154 0 comments 0 reactions 0 assignees View on GitHub
Type: Bug
Dominant language
F#
Stars
245
Forks
68
PR merge metrics
No merged PRs in 30d

Description

I am trying to pass an expression to the subset(..) function as in:

```
#load "../packages/RProvider.1.1.12/RProvider.fsx"
//install UsingR first

open RDotNet
open RProvider
open RProvider.``base``
open RProvider.UsingR

//this does not work. Result is not a subset but the original dataset
let s = R.subset(R.father_son, "round(fheight) == 71")
```

The expression passed in has no effect on the output. The same expression works fine in R console.

Ordinarily one does not need to use subset() function as F# equivalent should work fine. However, in this case I am trying to convert some existing R code to F#. I want the same results as in R and then make more changes to make the code F# specific.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.