Jump to content

How to output or display a graph from R packages using TERR (variogram


Tina Zhao

Recommended Posts

Dear spotfire community:

I'm trying to output the graph generated from variogram from something like the following: (plot(vgm2, model=model.2))

but I can't. I used RinR, like adding these lines to the end of the code, but still it doesn't work. I wonder if it can be output as a binary object at all, or if Rgraph can really generate the plot.

variogram is a function in gstat package or library to do spatial interpolation for geodata.

Thanks!

Tina

 

library(RinR)

library(Sdatasets)#Set the path to your local open-source R installation

pushPATH("C:\Users\myusername\Documents\R\R-3.5.1\bin")

graph3

Link to comment
Share on other sites

Just figured it out why it didn't work. rlang library in the TERR tool management have a higher version installed 0.3.1 instead of the one from0-Cloud [https] which has 0.1.6 version. After reinstalling to the lower version, the error disappeared and the graph was output like expected. Then used the add property control as label to load document property etc etc.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...