[R] problem installing RUcausal library

2023-04-22 Thread varin sacha via R-help
Me again ! How to solve this?

At the end of this page there is the installation command :
https://gitlab.science.ru.nl/gbucur/RUcausal/-/blob/master/README.Rmd

Working with a MAC, I have tried to install the RUcausal library (copy and 
paste the installation command).

It is written that the package has been built on Linux using the GNU Compiler 
Collection. To install the package, open an R instance and run:
install.packages('devtools') # required package
devtools::install_git('https://gitlab.science.ru.nl/gbucur/RUcausal')

I get this error message :

  ERROR: package installation failed
Error: Failed to install 'RUcausal' from Git:
  ! System command 'R' failed
0d0bz2p4xg64gn/T/RtmpMs1teQ/Rinst6453ee77bb8/RUcausal’



install.packages('devtools') # required package
--- Please select a CRAN mirror for use in this session ---
trying URL 
'https://stat.ethz.ch/CRAN/bin/macosx/big-sur-arm64/contrib/4.2/devtools_2.4.5.tgz'
Content type 'application/x-gzip' length 421790 bytes (411 KB)
==
downloaded 411 KB


The downloaded binary packages are in

/var/folders/t_/myv0vvms11g40d0bz2p4xg64gn/T//Rtmp7SUtUd/downloaded_packages
> devtools::install_git('https://gitlab.science.ru.nl/gbucur/RUcausal')
Downloading git repo https://gitlab.science.ru.nl/gbucur/RUcausal
'/usr/bin/git' clone --depth 1 --no-hardlinks 
https://gitlab.science.ru.nl/gbucur/RUcausal 
/var/folders/t_/myv0vvms11g40d0bz2p4xg64gn/T//Rtmp7SUtUd/file61a2a8e336a
── R CMD build 
──
─ installing the package to process help pages
  ---ges
─ installing *source* package ‘RUcausal’ ...
  ** using staged installation
  ** libs
  clang++ -arch arm64 -std=gnu++14 
-I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG 
-I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include'
 
-I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/RcppArmadillo/include'
 -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -Wall -pedantic 
-c RcppExports.cpp -o RcppExports.o
  clang++ -arch arm64 -std=gnu++14 
-I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG 
-I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include'
 
-I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/RcppArmadillo/include'
 -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -Wall -pedantic 
-c compute_DAG_probabilities_BGe_fast.cpp -o 
compute_DAG_probabilities_BGe_fast.o
  clang++ -arch arm64 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names 
-undefined dynamic_lookup -single_module -multiply_defined suppress 
-L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o 
RUcausal.so RcppExports.o compute_DAG_probabilities_BGe_fast.o 
-L/Library/Frameworks/R.framework/Resources/lib -lRlapack 
-L/Library/Frameworks/R.framework/Resources/lib -lRblas 
-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1 
-L/opt/R/arm64/gfortran/lib -lgfortran -lemutls_w -lquadmath 
-F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework 
-Wl,CoreFoundation
  ld: warning: directory not found for option 
'-L/opt/R/arm64/gfortran/lib/gcc/aarch64-apple-darwin20.6.0/12.0.1'
  ld: warning: directory not found for option '-L/opt/R/arm64/gfortran/lib'
  ld: library not found for -lgfortran
  clang: error: linker command failed with exit code 1 (use -v to see 
invocation)
  make: *** [RUcausal.so] Error 1
  ERROR: compilation failed for package ‘RUcausal’
─ removing 
‘/private/var/folders/t_/myv0vvms11g40d0bz2p4xg64gn/T/RtmpMs1teQ/Rinst6453ee77bb8/RUcausal’
  ---
  ERROR: package installation failed
Error: Failed to install 'RUcausal' from Git:
  ! System command 'R' failed
0d0bz2p4xg64gn/T/RtmpMs1teQ/Rinst6453ee77bb8/RUcausal’

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] problem installing RGBL library

2023-04-22 Thread varin sacha via R-help
Bert,

Thanks ! It works !

Best,







Le samedi 22 avril 2023 à 19:42:18 UTC+2, Bert Gunter  
a écrit : 





Is lvida.R in your working directory?
Try using the full path name to the file instead in source()

-- Bert

On Sat, Apr 22, 2023 at 9:38 AM varin sacha via R-help
 wrote:
>
> The problem is that I am trying to run this R code :
> https://github.com/dmalinsk/lv-ida/blob/master/example.R
>
>
> So I run :
>
> library(pcalg)
> library(igraph)
> library(RBGL)
> source("lvida.R")
>
>
> Here is what I get :
>
> source("lvida.R")
> Error in file(filename, "r", encoding = encoding) :
>  cannot open the connection
> In addition: Warning message:
> In file(filename, "r", encoding = encoding) :
>  cannot open file 'lvida.R': No such file or directory
>
> So, I guess the problem is coming from the source not from the libraries? How 
> to solve that problem?
>
> Best,
>
>
>
>
>
>
> Le samedi 22 avril 2023 à 18:30:48 UTC+2, Eric Berger  
> a écrit :
>
>
>
>
>
> looks fine.
> what's the problem?
>
> On Sat, Apr 22, 2023 at 7:27 PM varin sacha  wrote:
> > Eric,
> >
> > Here it is :
> >
> >
> > library(RBGL)
> > Loading required package: graph
> > Loading required package: BiocGenerics
> >
> > Attaching package: ‘BiocGenerics’
> >
> > The following objects are masked from ‘package:igraph’:
> >
> >  normalize, path, union
> >
> > The following objects are masked from ‘package:stats’:
> >
> >  IQR, mad, sd, var, xtabs
> >
> > The following objects are masked from ‘package:base’:
> >
> >  anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, 
> >dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, 
> >intersect, is.unsorted, lapply, Map,
> >  mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, 
> >Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort, table, 
> >tapply, union, unique, unsplit, which.max,
> >  which.min
> >
> >
> > Attaching package: ‘graph’
> >
> > The following objects are masked from ‘package:igraph’:
> >
> >  degree, edges, intersection
> >
> >
> > Attaching package: ‘RBGL’
> >
> > The following objects are masked from ‘package:igraph’:
> >
> >  bfs, dfs, transitivity
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Le samedi 22 avril 2023 à 18:12:56 UTC+2, Eric Berger 
> >  a écrit :
> >
> >
> >
> >
> >
> > What happens with the command
> >> library(RBGL)
> >
> >
> >
> > On Sat, Apr 22, 2023 at 7:08 PM varin sacha via R-help 
> >  wrote:
> >> Dear R-experts,
> >>
> >> How to solve that problem?
> >>
> >> My R version is 4.2.1
> >>
> >> Here below trying to install RGBL library found here : 
> >> https://bioconductor.org/packages/release/bioc/html/RBGL.html
> >>
> >> So, I run this R code :
> >>
> >> if (!require("BiocManager", quietly = TRUE))
> >>    install.packages("BiocManager")
> >>
> >> BiocManager::install("RBGL")
> >>
> >>
> >> Here is what I get :
> >>
> >>> if (!require("BiocManager", quietly = TRUE))
> >> + install.packages("BiocManager")
> >> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> >>>
> >>> BiocManager::install("RBGL")
> >> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> >> Warning message:
> >> package(s) not installed when version(s) same as or greater than current; 
> >> use `force = TRUE` to re-install: 'RBGL'
> >>
> >> __
> >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide 
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible code.
> >>
> >
> >
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] problem installing RGBL library

2023-04-22 Thread Bert Gunter
Is lvida.R in your working directory?
Try using the full path name to the file instead in source()

-- Bert

On Sat, Apr 22, 2023 at 9:38 AM varin sacha via R-help
 wrote:
>
> The problem is that I am trying to run this R code :
> https://github.com/dmalinsk/lv-ida/blob/master/example.R
>
>
> So I run :
>
> library(pcalg)
> library(igraph)
> library(RBGL)
> source("lvida.R")
>
>
> Here is what I get :
>
> source("lvida.R")
> Error in file(filename, "r", encoding = encoding) :
>   cannot open the connection
> In addition: Warning message:
> In file(filename, "r", encoding = encoding) :
>   cannot open file 'lvida.R': No such file or directory
>
> So, I guess the problem is coming from the source not from the libraries? How 
> to solve that problem?
>
> Best,
>
>
>
>
>
>
> Le samedi 22 avril 2023 à 18:30:48 UTC+2, Eric Berger  
> a écrit :
>
>
>
>
>
> looks fine.
> what's the problem?
>
> On Sat, Apr 22, 2023 at 7:27 PM varin sacha  wrote:
> > Eric,
> >
> > Here it is :
> >
> >
> > library(RBGL)
> > Loading required package: graph
> > Loading required package: BiocGenerics
> >
> > Attaching package: ‘BiocGenerics’
> >
> > The following objects are masked from ‘package:igraph’:
> >
> >   normalize, path, union
> >
> > The following objects are masked from ‘package:stats’:
> >
> >   IQR, mad, sd, var, xtabs
> >
> > The following objects are masked from ‘package:base’:
> >
> >   anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, 
> > dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, 
> > intersect, is.unsorted, lapply, Map,
> >   mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, 
> > Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort, table, 
> > tapply, union, unique, unsplit, which.max,
> >   which.min
> >
> >
> > Attaching package: ‘graph’
> >
> > The following objects are masked from ‘package:igraph’:
> >
> >   degree, edges, intersection
> >
> >
> > Attaching package: ‘RBGL’
> >
> > The following objects are masked from ‘package:igraph’:
> >
> >   bfs, dfs, transitivity
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Le samedi 22 avril 2023 à 18:12:56 UTC+2, Eric Berger 
> >  a écrit :
> >
> >
> >
> >
> >
> > What happens with the command
> >> library(RBGL)
> >
> >
> >
> > On Sat, Apr 22, 2023 at 7:08 PM varin sacha via R-help 
> >  wrote:
> >> Dear R-experts,
> >>
> >> How to solve that problem?
> >>
> >> My R version is 4.2.1
> >>
> >> Here below trying to install RGBL library found here : 
> >> https://bioconductor.org/packages/release/bioc/html/RBGL.html
> >>
> >> So, I run this R code :
> >>
> >> if (!require("BiocManager", quietly = TRUE))
> >> install.packages("BiocManager")
> >>
> >> BiocManager::install("RBGL")
> >>
> >>
> >> Here is what I get :
> >>
> >>> if (!require("BiocManager", quietly = TRUE))
> >> + install.packages("BiocManager")
> >> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> >>>
> >>> BiocManager::install("RBGL")
> >> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> >> Warning message:
> >> package(s) not installed when version(s) same as or greater than current; 
> >> use `force = TRUE` to re-install: 'RBGL'
> >>
> >> __
> >> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide 
> >> http://www.R-project.org/posting-guide.html
> >> and provide commented, minimal, self-contained, reproducible code.
> >>
> >
> >
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] problem installing RGBL library

2023-04-22 Thread varin sacha via R-help
The problem is that I am trying to run this R code :
https://github.com/dmalinsk/lv-ida/blob/master/example.R

 
So I run :

library(pcalg)
library(igraph)
library(RBGL)
source("lvida.R")


Here is what I get :

source("lvida.R")
Error in file(filename, "r", encoding = encoding) :
  cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
  cannot open file 'lvida.R': No such file or directory

So, I guess the problem is coming from the source not from the libraries? How 
to solve that problem?

Best,






Le samedi 22 avril 2023 à 18:30:48 UTC+2, Eric Berger  a 
écrit : 





looks fine.
what's the problem?

On Sat, Apr 22, 2023 at 7:27 PM varin sacha  wrote:
> Eric,
> 
> Here it is :
> 
> 
> library(RBGL)
> Loading required package: graph
> Loading required package: BiocGenerics
> 
> Attaching package: ‘BiocGenerics’
> 
> The following objects are masked from ‘package:igraph’:
> 
>   normalize, path, union
> 
> The following objects are masked from ‘package:stats’:
> 
>   IQR, mad, sd, var, xtabs
> 
> The following objects are masked from ‘package:base’:
> 
>   anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, 
> dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, 
> intersect, is.unsorted, lapply, Map,
>   mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, 
> Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort, table, 
> tapply, union, unique, unsplit, which.max,
>   which.min
> 
> 
> Attaching package: ‘graph’
> 
> The following objects are masked from ‘package:igraph’:
> 
>   degree, edges, intersection
> 
> 
> Attaching package: ‘RBGL’
> 
> The following objects are masked from ‘package:igraph’:
> 
>   bfs, dfs, transitivity
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Le samedi 22 avril 2023 à 18:12:56 UTC+2, Eric Berger  
> a écrit : 
> 
> 
> 
> 
> 
> What happens with the command
>> library(RBGL)
> 
> 
> 
> On Sat, Apr 22, 2023 at 7:08 PM varin sacha via R-help  
> wrote:
>> Dear R-experts,
>> 
>> How to solve that problem?
>> 
>> My R version is 4.2.1
>> 
>> Here below trying to install RGBL library found here : 
>> https://bioconductor.org/packages/release/bioc/html/RBGL.html
>> 
>> So, I run this R code :
>> 
>> if (!require("BiocManager", quietly = TRUE))
>> install.packages("BiocManager")
>> 
>> BiocManager::install("RBGL")
>> 
>> 
>> Here is what I get :
>> 
>>> if (!require("BiocManager", quietly = TRUE))
>> + install.packages("BiocManager")
>> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
>>>
>>> BiocManager::install("RBGL")
>> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
>> Warning message:
>> package(s) not installed when version(s) same as or greater than current; 
>> use `force = TRUE` to re-install: 'RBGL'
>> 
>> __
>> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>> 
> 
> 

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] problem installing RGBL library

2023-04-22 Thread Eric Berger
looks fine.
what's the problem?

On Sat, Apr 22, 2023 at 7:27 PM varin sacha  wrote:

> Eric,
>
> Here it is :
>
>
> library(RBGL)
> Loading required package: graph
> Loading required package: BiocGenerics
>
> Attaching package: ‘BiocGenerics’
>
> The following objects are masked from ‘package:igraph’:
>
>   normalize, path, union
>
> The following objects are masked from ‘package:stats’:
>
>   IQR, mad, sd, var, xtabs
>
> The following objects are masked from ‘package:base’:
>
>   anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames,
> dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl,
> intersect, is.unsorted, lapply, Map,
>   mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int,
> Position, rank, rbind, Reduce, rownames, sapply, setdiff, sort, table,
> tapply, union, unique, unsplit, which.max,
>   which.min
>
>
> Attaching package: ‘graph’
>
> The following objects are masked from ‘package:igraph’:
>
>   degree, edges, intersection
>
>
> Attaching package: ‘RBGL’
>
> The following objects are masked from ‘package:igraph’:
>
>   bfs, dfs, transitivity
>
>
>
>
>
>
>
>
>
>
> Le samedi 22 avril 2023 à 18:12:56 UTC+2, Eric Berger <
> ericjber...@gmail.com> a écrit :
>
>
>
>
>
> What happens with the command
> > library(RBGL)
>
>
>
> On Sat, Apr 22, 2023 at 7:08 PM varin sacha via R-help <
> r-help@r-project.org> wrote:
> > Dear R-experts,
> >
> > How to solve that problem?
> >
> > My R version is 4.2.1
> >
> > Here below trying to install RGBL library found here :
> https://bioconductor.org/packages/release/bioc/html/RBGL.html
> >
> > So, I run this R code :
> >
> > if (!require("BiocManager", quietly = TRUE))
> > install.packages("BiocManager")
> >
> > BiocManager::install("RBGL")
> >
> >
> > Here is what I get :
> >
> >> if (!require("BiocManager", quietly = TRUE))
> > + install.packages("BiocManager")
> > Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> >>
> >> BiocManager::install("RBGL")
> > Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> > Warning message:
> > package(s) not installed when version(s) same as or greater than
> current; use `force = TRUE` to re-install: 'RBGL'
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] problem installing RGBL library

2023-04-22 Thread varin sacha via R-help
Eric,

Here it is :


library(RBGL)
Loading required package: graph
Loading required package: BiocGenerics

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:igraph’:

  normalize, path, union

The following objects are masked from ‘package:stats’:

  IQR, mad, sd, var, xtabs

The following objects are masked from ‘package:base’:

  anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, 
dirname, do.call, duplicated, eval, evalq, Filter, Find, get, grep, grepl, 
intersect, is.unsorted, lapply, Map,
  mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, Position, 
rank, rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply, union, 
unique, unsplit, which.max,
  which.min


Attaching package: ‘graph’

The following objects are masked from ‘package:igraph’:

  degree, edges, intersection


Attaching package: ‘RBGL’

The following objects are masked from ‘package:igraph’:

  bfs, dfs, transitivity










Le samedi 22 avril 2023 à 18:12:56 UTC+2, Eric Berger  a 
écrit : 





What happens with the command
> library(RBGL)



On Sat, Apr 22, 2023 at 7:08 PM varin sacha via R-help  
wrote:
> Dear R-experts,
> 
> How to solve that problem?
> 
> My R version is 4.2.1
> 
> Here below trying to install RGBL library found here : 
> https://bioconductor.org/packages/release/bioc/html/RBGL.html
> 
> So, I run this R code :
> 
> if (!require("BiocManager", quietly = TRUE))
> install.packages("BiocManager")
> 
> BiocManager::install("RBGL")
> 
> 
> Here is what I get :
> 
>> if (!require("BiocManager", quietly = TRUE))
> + install.packages("BiocManager")
> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
>>
>> BiocManager::install("RBGL")
> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> Warning message:
> package(s) not installed when version(s) same as or greater than current; use 
> `force = TRUE` to re-install: 'RBGL'
> 
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] problem installing RGBL library

2023-04-22 Thread Eric Berger
What happens with the command
> library(RBGL)



On Sat, Apr 22, 2023 at 7:08 PM varin sacha via R-help 
wrote:

> Dear R-experts,
>
> How to solve that problem?
>
> My R version is 4.2.1
>
> Here below trying to install RGBL library found here :
> https://bioconductor.org/packages/release/bioc/html/RBGL.html
>
> So, I run this R code :
>
> if (!require("BiocManager", quietly = TRUE))
> install.packages("BiocManager")
>
> BiocManager::install("RBGL")
>
>
> Here is what I get :
>
> > if (!require("BiocManager", quietly = TRUE))
> + install.packages("BiocManager")
> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> >
> > BiocManager::install("RBGL")
> Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
> Warning message:
> package(s) not installed when version(s) same as or greater than current;
> use `force = TRUE` to re-install: 'RBGL'
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] problem installing RGBL library

2023-04-22 Thread varin sacha via R-help
Dear R-experts,

How to solve that problem?

My R version is 4.2.1

Here below trying to install RGBL library found here : 
https://bioconductor.org/packages/release/bioc/html/RBGL.html

So, I run this R code :

if (!require("BiocManager", quietly = TRUE))
install.packages("BiocManager")

BiocManager::install("RBGL")


Here is what I get :

> if (!require("BiocManager", quietly = TRUE))
+ install.packages("BiocManager")
Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
>
> BiocManager::install("RBGL")
Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.1 (2022-06-23)
Warning message:
package(s) not installed when version(s) same as or greater than current; use 
`force = TRUE` to re-install: 'RBGL'

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Query about code

2023-04-22 Thread Jim Lemon
Hi Yeswanth,
As it says on the bottom ofthe first page, the corresponding author it:

yangj...@ms.xjb.ac.cn

Try that email address.

Jim

On Sat, Apr 22, 2023 at 2:59 PM ADIGARLA YESWANTH NAIDU
<102213...@smail.iitpkd.ac.in> wrote:
>
> Thanks for your reply sir ,
> Here is the reference,I want to follow the procedure which they have 
> mentioned in the method.
>
> Best Regards,
> Yeswanth,
>
> On Sat, Apr 22, 2023 at 4:08 AM Bert Gunter  wrote:
>>
>> "Perhaps you could supply a reference to
>> the work you are using?"
>>
>> ... in which case they should simply email the author directly, no?
>>
>> -- Bert
>>
>> On Fri, Apr 21, 2023 at 3:22 PM Jim Lemon  wrote:
>> >
>> > Hi Yeswanth,
>> > You seem to be referring to a specific publication by a specific
>> > author. Unless someone in R-help knows who and what you are referring
>> > to, it seems very difficult. Perhaps you could supply a reference to
>> > the work you are using?
>> >
>> > JIm
>> >
>> > On Sat, Apr 22, 2023 at 7:03 AM ADIGARLA YESWANTH NAIDU
>> > <102213...@smail.iitpkd.ac.in> wrote:
>> > >
>> > > I have been trying to write the code for the CCM analysis that you used 
>> > > in
>> > > your study, but unfortunately, I haven't been able to write it. I was
>> > > wondering if you would be willing to share the code with me. I understand
>> > > that the code may be your intellectual property, but I assure you that I
>> > > will use it solely for academic and non-commercial purposes.
>> > >
>> > > If you are able to share the code, I would greatly appreciate it. The 
>> > > code
>> > > will be a valuable resource for me to understand the implementation 
>> > > details
>> > > and reproduce the results of your study. Alternatively, if you are unable
>> > > to share the code, I would be grateful for any guidance or suggestions 
>> > > you
>> > > can provide in implementing the CCM analysis using the rEDM and
>> > > multispatialCCM packages.
>> > >
>> > > Thank you very much for your consideration. I look forward to your 
>> > > positive
>> > > response.
>> > >
>> > > Best regards,
>> > > Yeswanth.
>> > >
>> > > [[alternative HTML version deleted]]
>> > >
>> > > __
>> > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> > > https://stat.ethz.ch/mailman/listinfo/r-help
>> > > PLEASE do read the posting guide 
>> > > http://www.R-project.org/posting-guide.html
>> > > and provide commented, minimal, self-contained, reproducible code.
>> >
>> > __
>> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>> > https://stat.ethz.ch/mailman/listinfo/r-help
>> > PLEASE do read the posting guide 
>> > http://www.R-project.org/posting-guide.html
>> > and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] package elevatr doesn't contain get_elev_raster()

2023-04-22 Thread Rusty Travis
On 4/22/23 00:46, Ivan Krylov wrote:
> On Sat, 22 Apr 2023 00:18:09 -0700
> Rusty Travis  wrote:
>> install.packages('elevatr') completes successfully, but "Error:
>> object 'get_elev_raster' not found" is a problem.
>>
>> Did you load the package using library(elevatr) after installing it?
>>
>> Alternatively, elevatr::get_elev_raster should also work.
  Thank you, I realized my library(elevatr) omission shortly shortly 
after posting.

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] package elevatr doesn't contain get_elev_raster()

2023-04-22 Thread Ivan Krylov
On Sat, 22 Apr 2023 00:18:09 -0700
Rusty Travis  wrote:

> install.packages('elevatr') completes successfully, but "Error:
> object 'get_elev_raster' not found" is a problem.

Did you load the package using library(elevatr) after installing it?

Alternatively, elevatr::get_elev_raster should also work.

-- 
Best regards,
Ivan

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] package elevatr doesn't contain get_elev_raster()

2023-04-22 Thread Rusty Travis
I installed R-4.3.0 in Debian 11 Linux and wish to plot elevation data 
perspectives.

install.packages('elevatr') completes successfully, but "Error: object 
'get_elev_raster' not found" is a problem.

How to solve, please?
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.