# NOT RUN {
db <- scidbconnect()
x <- scidb(db, "build(<v:double>[i=1:5], sin(i))")
as.R(x)
## i v
## 1 0.8414710
## 2 0.9092974
## 3 0.1411200
## 4 -0.7568025
## 5 -0.9589243
as.R(x, only_attributes=TRUE)
## v
## 0.8414710
## 0.9092974
## 0.1411200
## -0.7568025
## -0.9589243
# }
Run the code above in your browser using DataLab