Packages for NER in R - r

I am trying to download openNLPmodels.en package in R for Named Entity Recognition but failed to download it successfully. Please suggest any other package in R for NER other than the above.
Thank you in advance.

Though not on CRAN yet, I find entity package on GitHub useful for me. FYI: https://github.com/trinker/entity

If you want to do Named Entity Recognition with custom labels, you can use package crfsuite. https://cran.r-project.org/web//packages/crfsuite/index.html

Related

Install LiDAR Terrestrial Point Cloud Processing of Forest Data package does work

I try install TreeLS package, but i receive this message.
install.packages("TreeLS")
Message:
Installing package into ‘C:/Users/Matheus Pacheco/AppData/Local/R/win-library/4.2’
Warning in install.packages :
package ‘TreeLS’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
I found that the package is not present in CRAN anymore, and i try install from source, using:
install.packages("TreeLS", repos = "https://cran.r-project.org/src/contrib/Archive/TreeLS/TreeLS_2.0.2.tar.gz", repo = NULL, type="source")
But, some functions in the package, doesn't work.
I would be grateful if someone can help me. My final paper in PhD depends on it.
Thanks!
I'm afraid that if you're using a retired package, there is little help to get unless you try to fix it yourself. The question become too general.
But, some functions in the package, doesn't work.
Contact package developer, there is probably another package that include what you need, or his code might have been moved into some other package. He/She would know.
Perhaps someone can help you if you pull out the parts you need.
last resort (not recommend), downgrade to a compatible R version.

Trouble accessing help documentation for a package I created

I'm new to R so I hope this isn't incredibly obvious. I created a package that contains two functions. I provided documentation using roxygen2 for each of the functions, documented and built the package as well as installed and restarted multiple times. I also pushed it up to github and have done everything I can think of to do, yet I cannot access the help files that I created. I always receive this error:
No documentation for ‘myfunc’ in specified packages and libraries: you
could try ‘??myfunc’
Not only is ?myfunc not working, but when I attempt to install my own package to my own RStudio console, but I also receive this error:
Warning in install.packages : package ‘yourpackage*’ is not
available (for R version 3.6.1)
What exactly is going wrong here, and how can I attempt to fix it? I've built packages before and this time I've followed all the same steps I've been taught to use and have used in the past, but for some reason, I'm being met with these errors. I would appreciate any and all help you all have to offer. Thank you in advance!

"GraphClusterAnalysis" package in R

Please, how can I get "GraphClusterAnalysis" package installed? I am trying to use the "Highly connected sub graphs" (HCS) clustering algorithm for my data. I have tried to use install.packages() for the installation but I keep getting: package ‘GraphClusterAnalysis’ is not available (for R version 3.0.3).
I was able to use a method called "highlyConnSG()" for the HCS clustering algorithm which I retrieved after installing "RGBL" and "graph" packages from source "https://biconductor.org/bioLite.R". So to install those packages, type in the R environment command line:
source("https://biconductor.org/biocLite.R")
biocLite("RBGL")
biocLite("graph")
As far as I can see, this is a library, written by the authors of the book ( https://www.csc2.ncsu.edu/faculty/nfsamato/practical-graph-mining-with-R/PracticalGraphMiningWithR.html ).
Also on this page is provided the link to the archive with this library itself (here is the link: https://www.csc2.ncsu.edu/faculty/nfsamato/practical-graph-mining-with-R/R-code/GraphClusterAnalysis.zip ).
So you can load this library and after that you can try to install the library from source. Here is the stackoverflow question about how to do it:
How do I install an R package from source?
Nevertheless, as for me I wasn't successful in installing it from source.

Include an unofficial Julia package in a REQUIRE file?

I'd like to list an "unofficial" Julia package in my package's REQUIRE file. (That is, the package I'd like to list can only be installed with Pkg.clone, not Pkg.add.) How can I configure my package so that this unofficial package gets installed automatically, when someone clones my package?
Unfortunately there is no way to do this at this time, but it is a requested feature. See this Github issue and this mailing list thread.

How to load the 'stringr' package in R?

I am using the "Mining Twitter for Airline Sentiment" tutorial to learn R. (tutorial at http://www.inside-r.org/howto/mining-twitter-airline-consumer-sentiment.)
The parsing algorithm requires loading the external "stringr" library. The R gui terminal consistently says it cannot find the library, even though multiple references exist online.
This is my first experience with an R tutorial. Any suggestions?
Thanks,
#brianpiercy
install.packages("stringr", repos='http://cran.us.r-project.org')
library("stringr")
DWin was right, learn more about "R Package" here.
You may try CloudStat: Twitter analysis.
Summary for newbie:
Go to stringr | Cran-R download the source file. Through your R Gui:
Packages > Install Package(s) from local zip file
Then, Load the library
library(stringr)
Hope it help.

Resources