---
title: "sample code for Calc"
url: "https://openforis.support/questions/733/sample-code-for-calc"
tags: ["calc"]
status: "answered"
score: 0
answer_count: 6
asked: "2016-09-19T09:12:33"
last_activity: "2022-02-22T06:52:13"
source: "Open Foris Support - Q&A Forum"
license: "Copyright Open Foris, 2026. Some rights reserved under creative commons license."
---

# sample code for Calc

Asked by phuquy188 on 2016-09-19

Dear All 
I just reach calc. I want to write code to implement R commands in calc calculation.
 have you have the documentation and code samples to study it? can you share me?


## Answer (score 0, by Mino Togna on 2016-09-20)

Link: https://openforis.support/questions/733/sample-code-for-calc/738

Dear phuquy188 ,

There's a test data set you can download  . The link is available in the 'Calc Home' section of the documentation:

[http://www.openforis.org/tools/calc/tutorials/calc-home.html][1]

Click on the button 'Test data-set' to see the description to get the link.

Thank you,

Mino  


  [1]: http://www.openforis.org/tools/calc/tutorials/calc-home.html


## Answer (score 0, by phuquy188 on 2016-09-21)

Link: https://openforis.support/questions/733/sample-code-for-calc/739

Thanks Mino. But i need code or document to write scrip in calc to caculation.


## Answer (score 0, by Mino Togna on 2016-09-21)

Link: https://openforis.support/questions/733/sample-code-for-calc/750

Have you tried to go through the documentation to understand how the software works?

What kind of statistics you want to produce?

Thank you,
Mino


## Answer (score 0, by phuquy188 on 2016-09-23)

Link: https://openforis.support/questions/733/sample-code-for-calc/752

Hi Mino
I want to use to calculate calc in forestry, but I haven't good knowledge of the R scripts. so i hope you can help me document or link to learn them


## Answer (score 0, by Mino Togna on 2016-09-23)

Link: https://openforis.support/questions/733/sample-code-for-calc/753

Dear Mr. Nguyen Phu Quy,

As you might be aware Calc is en expert tool and if used to produce estimates for any natural resource sampling based assessment, it requires some knowledge of R.

Two useful websites to learn R are:
[http://tryr.codeschool.com/][1] and [http://www.statmethods.net][2] 

I hope the forthcoming Calc training in Hanoi will clarify its potential.

I would like to ask you to post only questions that are relevant to the use of Open Foris tools, otherwise your messages might be removed from this form.

Thank you for your understanding.

Regards,

Mino


  [1]: http://tryr.codeschool.com/
  [2]: http://www.statmethods.net


## Answer (score 0, by phuquy188 on 2016-09-23)

Link: https://openforis.support/questions/733/sample-code-for-calc/754

Thank mino 
I think two sites I were provided by you is very useful with me.Here is the problem I need, I will study them to understand about CALC.
Regards!
