stefano-meschiari / Systemic2

Systemic is a C library for modeling exoplanetary radial velocities, with an R binding and a full GUI IDE.
http://www.stefanom.org/?systemic
GNU General Public License v3.0
54 stars 17 forks source link

rdyncall error - Console (R kernel) crash #17

Open tusharshrotriya opened 9 years ago

tusharshrotriya commented 9 years ago

Hi Stefano,

I'm getting rdyncall related errors, saying that: there is no package called ‘rdyncall’

which causes the console (or its R kernel) crash.

Any easy way to fix this?

giordano commented 8 years ago

I think I have the same problem running Systemic 2.1820 on Debian testing, console shows the following message:

Error in eval(expr, envir, enclos) : could not find function "error"
Calls: source ... eval -> eval -> source -> withVisible -> eval -> eval
In addition: Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'rdyncall'
Execution halted

I'm sorry. I'm afraid I can't do that... :(

It appears the Console (or its R kernel) has crashed.

Your options:
- Your environment is auto-saved every minute. To restore, click on this link: ↝RESTORE.CRASH

- Alternatively, you can restart from scratch using the menu Edit -> Kill and restart session

Compilation of Systemic was successful and there is a rdyncall_0.7.5.tgz archive in R directory.

giordano commented 8 years ago

I manually installed rdyncall by running

 install.packages("rdyncall", repos="http://R-Forge.R-project.org")

in a R session, as indicated at http://r-forge.r-project.org/R/?group_id=2086. It seems it has been removed from CRAN: https://cran.r-project.org/web/packages/rdyncall/index.html

iancrossfield commented 8 years ago

The solution offered above by @giordano (on Oct 9, 2015) is what fixed this for me. Many thanks!

TobyOnGithub commented 6 years ago

For the solution offered above by @giordano (9 Oct 2015) also worked for me with the little extra of specifying the package install path:

install.packages("rdyncall", repos="http://R-Forge.R-project.org", lib="/usr/local/lib/R/site-library")

Within R the package install paths can be looked up as

R>.libPaths()