Calc Problem in 001-init.R

  • Asked
  • Active
  • Viewed 2415 times
0

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

0

Accepted answer

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

1

Accepted answer

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

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.