This question already has answers here:
How can I check the SBT version?
(10 answers)
Closed 9 years ago.
When I run the version command in the sbt console it shows "0.1.0-SNAPSHOT". Is this the current sbt version?
I'm used the Getting Started guide on the SBT wiki to install sbt on my system.
The version command prints the version of the project you are building. You probably want sbt-version.
To check version of the sbt that you are using:
$ sbt sbt-version
Related
This question already has answers here:
Homebrew cask option not recognized?
(19 answers)
Closed 1 year ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Duplicate This question has been answered, is not unique, and doesn’t differentiate itself from another question.
I'm relatively new to building R packages and I just attempted to move from Travis CI to Github Actions.
When I try to run a check using GHA the job fails. It appears that the cask command is throwing things off, but I'm unsure how to fix it (see photo).
A couple of forum posts noted that the "cask" command is outdated, but I never wrote it into the workflow so I'm unsure where it's being called from.
Would greatly appreciate any tips!
It seems the tutorial you used to install Cask is outdated.
cask is no longer a brew command.
When you want to install a Cask, just do brew install or brew install --cask instead of brew cask install (as shown in line 8 on your print).
Possibly, if you need to know how to do something with brew, you can always use brew help, or read the manual with man brew. brew help <command> will also show you a help message for a command (e.g. brew help upgrade).
Source
This question already has answers here:
How to install a Python package from within IPython?
(7 answers)
Closed 8 years ago.
I am new to Python. I wonder if is it possible to install a new package from inside iPython Notebook.
I tried pip install address but it returns error:
pip install address
^
SyntaxError: invalid syntax
Yes you can
Use the following syntax:
!pip install packagename
Reference thread
This question already has answers here:
Painless way to install a new version of R?
(12 answers)
Closed 8 years ago.
I just upgrade R to 3.1. I am wondering how to install all the packages I have installed in the previous version. I have 126 packages under R 3.0:
> length(list.files("/Library/Frameworks/R.framework/Versions/3.0/Resources/library"))
[1] 126
How could I transfer these packages under the new R 3.1, is it okay to copy the old library just to the new library path?
Yes, you can just copy the old library to the new library path. Then update your packages using the following code:
update.packages(checkBuilt=TRUE, ask=FALSE)
This question already has answers here:
How do I install an R package from the source tarball on windows?
(6 answers)
Closed 1 year ago.
I downloaded the Windows binary file dmGWAS_2.3.zip clickHere and try to install it by clicking Packages/install package from local zip file. After install, when I try to load 'dmGWAS' I got the error 'Error: package ‘dmGWAS’ was built before R 3.0.0: please re-install it'. I am using win 7 and R 3.1.0.
I searched similar questions but find no solution.
try:
> update.packages(checkBuilt = TRUE, ask = FALSE)
The authors release the newest version dmGWAS_3.0, which is compatible with dmGWAS_2.3. You can use the new version at http://bioinfo.mc.vanderbilt.edu/dmGWAS/
This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
Painless way to install a new version of R?
In R, packages are not compatible across upgrades, and must be reinstalled. Is there any way to easily install the same set of packages in the new version as what I had installed in the old version?
Edit: I can't easily access the old version of R, since I upgrade via apt.
I just posted a question with a possible solution:
update.packages(checkBuilt=TRUE, ask=FALSE)
What about that doesn't work for you?