Re: [R] Error with RMySQL

2021-10-27 Thread Ashim Kapoor
Dear Jim, > That error means that your user number or group is not allowed to > access it. Did you create the new one as a different user, maybe as > root? Here is what I did: I switched to root in the MySQL Server, created a new user called user2. I GRANTed user2 all permissions to access db2.

Re: [R] Error with RMySQL

2021-10-27 Thread Jim Lemon
HI Ashim, That error means that your user number or group is not allowed to access it. Did you create the new one as a different user, maybe as root? Jim On Thu, Oct 28, 2021 at 4:42 PM Ashim Kapoor wrote: > > Dear R - users, > > I have 2 databases on a MySQL server. I am able to access the old

[R] Error with RMySQL

2021-10-27 Thread Ashim Kapoor
Dear R - users, I have 2 databases on a MySQL server. I am able to access the old one but not the freshly created one. library(RMySQL) # This one is the old one, I am able to access it, > con1<- dbConnect(MySQL(),host= "myserver", db="db1", user= "user1",password > ="mypass1") # This is the new

Re: [R] docker containers and R

2021-10-27 Thread Jeff Newmiller
Docker containers are built from some starting point defined using docker conventions. They have nothing to do with how you may have installed or configured R on your computer, other than perhaps what you learned but forgot about all that stuff. So the answer depends on what docker image you are

Re: [R] docker containers and R

2021-10-27 Thread Martin Møller Skarbiniks Pedersen
On Wed, 27 Oct 2021 at 20:53, Bogdan Tanasa wrote: > Dear all, would you please advise : > > shall I have a container that runs R (below), and install specifically a > package called UMI4Cats, obviously, a lot of other libraries are > installed.How can I save the docker container that contains th

[R] docker containers and R

2021-10-27 Thread Bogdan Tanasa
Dear all, would you please advise : shall I have a container that runs R (below), and install specifically a package called UMI4Cats, obviously, a lot of other libraries are installed.How can I save the docker container that contains the additional libraries that I have installed and are required

Re: [R] R code in RData

2021-10-27 Thread Jeff Newmiller
Sounds right, though the OP appears to be assuming that the code used to generate the data objects in the file will also be there, and we need to be more definitive about that: it is not. Depending how the code was constructed, there may be useful information in the functions that were stored in

Re: [R] R code in RData

2021-10-27 Thread Bert Gunter
See ?load, but you may be confused. Strictly speaking, there is no code in an .Rdata file, only a (typically binary, but possibly ascii) representation of objects, usually as produced by ?save. Of course, functions are also objects, so that if you load a file with functions, the function code is av

[R] R code in RData

2021-10-27 Thread Bogdan Tanasa
Dear all, would you please advice : I have an Rdata file, what is the way to print the R code that has been used inside the Rdata file ? thank you, Bogdan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSC