[R] nlmixr2 installation problems

2023-07-16 Thread Troels Ring
Hi friends - Trying to install nlmixr2 caused problems. I'm on windows with R4.3.1 so made sure to have rtools 4.3 and also reinstalled R and then ran install.packages("nlmixr2",dependencies = TRUE)and got the responseInstalling package into ‘C:/Users/Admin/AppData/Local/R/win-library/4.3’

Re: [R] nlmixr2 installation problems

2023-07-16 Thread Rui Barradas
Às 12:55 de 16/07/2023, Troels Ring escreveu: Hi friends - Trying to install nlmixr2 caused problems. I'm on windows with R4.3.1 so made sure to have rtools 4.3 and also reinstalled R and then ran install.packages("nlmixr2",dependencies = TRUE)and got the responseInstalling package into

[R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread Maria Lathouri via R-help
Dear all,  I am having the following dataset fc<- ID    values    databases Al    0.15    phreeqc Al    0.6    carbfix Al    0.47    actual Ca    7.2    phreeqc Ca    7.2    carbfix Ca    0.3    actual Na    14.4    phreeqc Na    84    carbfix Na    106    actual Cl    22    phreeqc Cl    21.9   

Re: [R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread CALUM POLWART
The data snippet doesn't make sense for the code you provided Using the snippet I'd be doing ggplot2(fc, aes(x = ID, y= value)) + geom_col() + scale_y_log10() And adjusting... Not sure if that's what you are trying to do? On Sun, 16 Jul 2023, 23:57 Maria Lathouri, wrote: > I will find the

Re: [R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread CALUM POLWART
Try adding scale_y_log10() This is a general R help list. It's not a ggplot list and you are likely to be chased off to ggplot's package maintainers nominated support pages. But really a Google search should surely have found this? On Sun, 16 Jul 2023, 22:51 Maria Lathouri via R-help,

Re: [R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread David Winsemius
On 7/16/23 14:51, Maria Lathouri via R-help wrote: Dear all, I am having the following dataset fc<- ID    values    databases Al    0.15    phreeqc Al    0.6    carbfix Al    0.47    actual Ca    7.2    phreeqc Ca    7.2    carbfix Ca    0.3    actual Na    14.4    phreeqc Na    84   

Re: [R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread Ivan Krylov
On Sun, 16 Jul 2023 21:51:10 + (UTC) Maria Lathouri via R-help wrote: > As you can see, the values range from 0 to 400. I want it to plot it > in bars; when I am plotting it as you can imagine the values near > zero don't show at all. A logarithmic scale won't work when the range of numbers

Re: [R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread Maria Lathouri via R-help
I will find the ggplot help.  But I have tried everything, including what you have suggested and nothing works. Kind regards, Maria Στις Κυριακή 16 Ιουλίου 2023 στις 11:22:36 μ.μ. GMT+1, ο χρήστης CALUM POLWART έγραψε: Try adding scale_y_log10() This is a general R help list.

Re: [R] how to change the y-axis to logarithmic in a barplot ggplot

2023-07-16 Thread Bert Gunter
Maria, ggplot is part of the Posit -- formerly RStudio -- assortment of contributed packages. They have their own support site here , which you *may* find useful for such questions, also. Though ggplot queries *are* frequently posted and answered on R-Help. Cheers,

Re: [R] nlmixr2 installation problems

2023-07-16 Thread Troels Ring
Thanks a lot - I was not offered the opportunity to recompile - the system just stopped. Also, today trying > install.packages("sass") Installing package into ‘C:/Users/Admin/AppData/Local/R/win-library/4.3’ (as ‘lib’ is unspecified) also installing the dependencies ‘digest’, ‘base64enc’,