[R-pkg-devel] fviz_nbclust

2021-06-22 Thread csmatyi
Hello all, I am having difficulty installing the factoextra package. I want to run the fviz_nbclust command. Error message [truncated]: The downloaded source packages are in ‘/tmp/RtmpXEQfNc/downloaded_packages’ Installation paths not writeable, unable to update packages path: /usr/lib/R/librar

[R-pkg-devel] pairwiseAlignment

2021-06-16 Thread csmatyi
Hello, I am trying to align two sequences, in DNAString format using the R command pairwiseAlignment. I keep getting this error: pairwiseAlignment(si,sj) Error in .Call2("XStringSet_align_pairwiseAlignment", pattern, subject, : max(nchar(pattern) * nchar(subject)) is too big (must be <= 21474

[R-pkg-devel] creating a function that creates a figure

2021-04-28 Thread csmatyi
Hello all, Normally, when you write a function in R, it returns a value. That way it is easy to write an .Rd file for this function. However, I have written a function that does no such thing. Rather, it takes as input two data frames, and creates a figure. But doesn't return anything. In R pa

[R-pkg-devel] error messages

2021-04-13 Thread csmatyi
Hello R package developers, I tried sending in my package for the fifth time or so, but it still says that it has errors. I read the error messages but I cannot figure out what the error could be. Does anyone know? Thanks, Matthew -- Windows * using log directory 'd:/RCompile/

[R-pkg-devel] how to provide an example for my package when I want to generate a figure

2021-04-13 Thread csmatyi
Hello all, I have a fairly simple package I want to make. It takes two dataframes and then creates a jpeg (a heat map) based on the info in the dataframes. I know how to put the code in the vignette. But as to how to make an example, I don't know that. Would I put the code in the R code for the