fslaborg / RProvider

Access R packages from F#
http://fslab.org/RProvider/
Other
235 stars 69 forks source link

Module ggplot2 in RProvider is not recognized #178

Closed EdouardM closed 8 years ago

EdouardM commented 8 years ago

I used paket to reference:

R.NET.Community (1.6.5) R.NET.Community.FSharp (1.6.5) RProvider (1.1.20)

I can do: open RProvider

But when I do: open RProvider.ggplot2

=> FSI returns: Error #39 "The namespace 'ggplot2' is not defined

I saw this module used here: https://github.com/evelinag/ffplot/blob/master/examples.fsx

Thanks for your help, Edouard

tpetricek commented 8 years ago

Do you have ggplot installed in R? The easiest way to do that is to run the following in R:

install.packages("ggplot2")

(It can be run via R provider too, but it is a bit weird and requires restart...)

EdouardM commented 8 years ago

I didn't thought about it. I installed the package in R, it is working now.

Thanks Tomas

tpetricek commented 8 years ago

Great :+1: