Hi,

after some time, I needed Calc to run again. While the scripts seem to be working in R Studio, as soon as I press the "play" button in calculations to load them into Calc, I receive the following error message indicating that my CRAN mirror is not defined(?):

*Error in 'R Scripts - Processing chain' 2023-05-02 18:58:46 step : 1-init.R INFO: Processing chain started 2023-05-02 18:58:46 step : - ERROR: Error in contrib.url(repos, "source"): trying to use CRAN without setting a mirror

Error in dbDisconnect(connection) : could not find function "dbDisconnect" Calls: source ... tryCatch -> tryCatchList -> tryCatchOne -> <anonymous> Execution halted*

I have tried to alter the Rprofile and Rprofile.site files in ..opt\R\R-4.1.1\library\base\R and ..opt\R\R-4.1.1\etc, respectively. Unfortunately to no avail.

Any pointing in the right direction would be highly appreciated!

Thanks in advance! Alex

asked 02 May '23, 19:05

wexxo's gravatar image

wexxo
14521842
accept rate: 4%


Hi OF Team,

I updated R in C:\opt\R\R-4.3.0 (from ver. 4.1.1). Now the scripts are being processed fine in Calc, so the problem is solved!

Thanks a lot for the hint and support!!

Best regards, Alex

permanent link

answered 05 May '23, 11:49

wexxo's gravatar image

wexxo
14521842
accept rate: 4%

edited 05 May '23, 11:50

Dear Alex,
We will contact you to you private email, so you can share with us your Calc workspace and we can better understand your issue.
Many thanks,
Open Foris Team

permanent link

answered 04 May '23, 09:42

Stefano%20%28OF%29's gravatar image

Stefano (OF) ♦♦
4.8k119
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×83

question asked: 02 May '23, 19:05

question was seen: 844 times

last updated: 05 May '23, 11:50