Which version of netCDF contains libnetcdf.so.6? - netcdf

It's all in the title.
I have version 4.1.3 installed, and that contains libnetcdf.so.7.
Is this question a better fit for a different SE site?

Version 4.1.1 contains libnetcdf.so.6.

Related

Problem with find and replace in R Editor

I am currently using R (RGui; R version 4.2.1). I use 'find' and 'replace' in R Editor a lot. Recently, both will only work for one character. So I can find 'a' but it won't find any instances of 'aaa' even if I know they exist. I'd be really happy if anyone can suggest a solution as it's driving me crazy. Thanks!
This was recently fixed in Rgui for Windows. I am using "R version 4.2.1 Patched (2022-09-28 r82941 ucrt)" and it works (using ctrl-h or the Edit menu in the Rgui R Editor).
In the BUG FIXES on Windows subsection within the section CHANGES IN R 4.2.1 patched of https://cran.r-project.org/doc/manuals/r-devel/NEWS.html it says:
Find and replace operations work again in the script editor in Rgui on Windows.
Same problem - with R 4.2.1 I cannot find and replace using the R editor. I had to close the script up and do it in .txt.
I have the same issue. R version 4.2.1 on Windows 10. It doesn't find anything I search for, even if I can see it right there on the screen. Not even single-character strings. I was editing a non-R file.

Which packages can be used for qualitative data analysis and coding in R version 4.13?

I have already tried using RQDA but it no longer works for version 4.13 and I can't seem to change my version to 4.00 from the global options menu since RQDA only works till version 4.

Adding a nickname to an R package?

When developping an R package, is it possible to add a nickname to a certain version?
How would this be added in the DESCRIPTION file?
That cannot be in the version, as only numbers are accepted. It could of course be in the description, but it would not be a real metadata.
You can add a field to the DESCRIPTION file for this:
Package: coolpkg
Nickname: Coolest Nickname Ever
Version: 0.1.0
After installing your package you can then get the nickname back like this:
packageDescription("coolpkg")[["Nickname"]]
FYI I think CRAN has standards around what can go in the DESCRIPTION file, just something to keep in mind if that's what you're working towards.
Alternatively, you could just save the nickname as a data object in the package.

Disadvantages of save() version 2 in R?

An R object can be saved using save()
Objects saved that way require R >= 3.5.0 in order to load()
So, to make a data file more accessible (i.e. to some earlier R versions), we can use save(... , version = 2)
Are there any disadvantages of doing so?
For reference, from ?save
version - the workspace format version to use. NULL specifies the current default format (3). Version 1 was the default from R 0.99.0 to R 1.3.1 and version 2 from R 1.4.0 to 3.5.0. Version 3 is supported from R 3.5.0.

Could not find LoadFile() even if a guide says it should exist, am I or the guide wrong? In R

I need to perform an analytic hierarchical process (AHP) on a dataset using R. I have basic understanding of navigation and can follow most guides to perform rudiment analyses. However, I'm not comfortable enough to be sure if I or the guide is wrong.
The guide I've followed is this: https://www.r-bloggers.com/analytic-hierarchy-process-ahp-with-the-ahp-package/.
(I run R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch")
1: I have (successfully) installed and loaded the AHP package using:
devtools::install_github("gluc/ahp", build_vignettes = install.packages("data.tree"))
2: I have (successfully) set working directory using:
setwd("myworkingdirectory")
3: I have attempted (PROBLEM) loaded the file to a variable using:
myahp <- LoadFile("myAHPfile.txt")
Error: could not find function "LoadFile"
3x: As diagnosis I run:
getAnywhere("LoadFile")
no object named ‘LoadFile’ was found
For your information: Step 3x is inspired by this SO answer (Error: could not find function ... in R)
Can someone tell me what I am doing wrong? I greatly appreciate any help.
Both. The guide refers to an old version of the gap package from github. With the latest version from cran (0.2.11), the function is now called Load, and the file format has changed.
If you just want to goof around with the package, I can recommend the online app at ipub.com.
If you insist on following the guide, make sure you get version 0.1.1 from github

Resources