Giter VIP home page Giter VIP logo

Comments (6)

platanus-study avatar platanus-study commented on July 28, 2024 2

I already solved the problem associated with 'R CMD SHLIB'. The error was just because of problem associated with system type in my PC. We need to confirm whether it was installed well or not , when installing R, Rstudio and R package. If someone has above error, I'd like to recommend to reinstall corresponding elements and reboot PC.

from cipa.

platanus-study avatar platanus-study commented on July 28, 2024 1

When I ran code - R CMD SHLIB newordherg_gNet.c' or 'R CMD SHLIB D:/platanus/CiPA_Rocde/CiPA-master/AP_simulation/models/newordherg_qNet.c ' in rstudio, It occurrs error that is unpexpected symbol in R CMD.

To run R CMD SHLIB command in rstudio, What I Should do?

from cipa.

shanmdphd avatar shanmdphd commented on July 28, 2024

Have you successfully done R CMD SHLIB newordherg_qNet.c or does this error occur when you're running the command?

from cipa.

shanmdphd avatar shanmdphd commented on July 28, 2024

The C code should be compiled in the cmd or powershell prior to running AP_simulation.R.
You have to enter the command in the 'cmd.exe' in Windows 10 ("Window key+R"). In Rstudio, you may press "Shift+Alt+R" and run the following scripts.

image

from cipa.

platanus-study avatar platanus-study commented on July 28, 2024

Thank you for answering my question. I ran the code that is 'newordherg_qNet.c' in powershell environment in window10 or terminal environment in rstudio as you have explained me above. But aftering compiling the code, It occurs another error. The error is as follow.

  • Run error example

PS D:\Platanus\CiPA_Rocde\CiPA-master\AP_simulation\models> R CMD SHLIB newordherg_qNet.c
Invoke-History : 'SHLIB' It couldn't find location parameter permitting factor.  
Location line : 1 character : 1
+ R CMD SHLIB newordherg_qNet.c
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : InvalidArgument: (:) [Invoke-History], 
ParameterBindingException
+ FullyQualifiedErrorId : 

PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeHistoryCommand


Although I find solution associated with R CMD SHLIB issue, it is difficult to solve the issue. Do you have any idea to solve the error?

from cipa.

shanmdphd avatar shanmdphd commented on July 28, 2024

Happy to hear it. Now you can close this issue.

from cipa.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.