JGR not installed. Attempting to install from CRAN...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

JGR not installed. Attempting to install from CRAN...

Jenny Coetzee
Hello

I am new to R, and am running a programme called RDS Analyst which uses R. When trying to open RDS i am getting the following message: JGR not installed. Attempting to install from CRAN…

I am not sure if the issue is a Java one or an R one…

I am working off a Mac using High Sierra

Any help please..?

thanks

Jen




Jenny Coetzee (PhD Candidate)
Head of Prevention in Key Populations & Head of the Soweto Sex Worker Project
Perinatal HIV Research Unit (PHRU)
New Nurses Home
Chris Hani Baragwanath Academic Hospital
Soweto

B: +27 11 989 9821
M: +27 84 761 1193
E: [hidden email]<mailto:[hidden email]>

"Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes ... the ones who see things differently - they're not fond of rules, and they have no respect for the status quo. ... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things. ... They push the human race forward, and while some may see them as the crazy ones, we see genius, because the people who are crazy enough to think that they can change the world, are the ones who do."
(Steve Jobs)


        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: JGR not installed. Attempting to install from CRAN...

Loris Bennett-2
Hi Jenny,

Jenny Coetzee <[hidden email]> writes:

> Hello
>
> I am new to R, and am running a programme called RDS Analyst which
> uses R. When trying to open RDS i am getting the following message:
> JGR not installed. Attempting to install from CRAN…
>
> I am not sure if the issue is a Java one or an R one…
>
> I am working off a Mac using High Sierra
>
> Any help please..?

Here

  http://rforge.net/JGR/

it says that you need two bits: the R package from CRAN and the launcher
for MacOS.  You should be able to install the R package using

  install.packages("JGR")

from the R shell and the launcher just like a regular binary.

Cheers,

Loris

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [hidden email]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: JGR not installed. Attempting to install from CRAN...

Jenny Coetzee
Loris, thank you thank you so much!!!

do you know which CRAN mirror i select? There are loads - all related to various countries..

so appreciate the help

Jenny




Jenny Coetzee (PhD Candidate)
Head of Prevention in Key Populations & Head of the Soweto Sex Worker Project
Perinatal HIV Research Unit (PHRU)
New Nurses Home
Chris Hani Baragwanath Academic Hospital
Soweto

B: +27 11 989 9821
M: +27 84 761 1193
E: [hidden email]<mailto:[hidden email]>

"Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes ... the ones who see things differently - they're not fond of rules, and they have no respect for the status quo. ... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things. ... They push the human race forward, and while some may see them as the crazy ones, we see genius, because the people who are crazy enough to think that they can change the world, are the ones who do."
(Steve Jobs)

On 20 Feb 2018, at 09:16, Loris Bennett <[hidden email]<mailto:[hidden email]>> wrote:

Hi Jenny,

Jenny Coetzee <[hidden email]<mailto:[hidden email]>> writes:

Hello

I am new to R, and am running a programme called RDS Analyst which
uses R. When trying to open RDS i am getting the following message:
JGR not installed. Attempting to install from CRAN…

I am not sure if the issue is a Java one or an R one…

I am working off a Mac using High Sierra

Any help please..?

Here

 http://rforge.net/JGR/

it says that you need two bits: the R package from CRAN and the launcher
for MacOS.  You should be able to install the R package using

 install.packages("JGR")

from the R shell and the launcher just like a regular binary.

Cheers,

Loris

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [hidden email]<mailto:[hidden email]>


        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: JGR not installed. Attempting to install from CRAN...

Loris Bennett-2
Hi Jenny,

Jenny Coetzee <[hidden email]> writes:

> Loris, thank you thank you so much!!!
>
> do you know which CRAN mirror i select? There are loads - all related to various countries..
>
> so appreciate the help

It shouldn't really matter, although I'd choose one that is
geographically close.  Occasionally there can be problems with HTTP
vs. HTTPS, which can lead to spurious errors about a packages not being
available for your version of R.  Because R caches the mirror, if you
run into any issues you might have to exit R and start again.

Cheers,

Loris

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [hidden email]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: JGR not installed. Attempting to install from CRAN...

Jenny Coetzee
thanks Loris

you are bering so helpful!

So, i have done what you explained, but the RDS package that runs “using or through” R is now just closing each time i open it. I have googled and seen that i need to to the following:

 Tips: The recent updates to the Apple Mac OS (Sierra and High Sierra) have reorganized the ways apps, like RDS Analyst, work. So sometimes RDS Analyst will not be configured correctly and will not start (e.g., bouncing icon or no response to double clicking). Most of these relate to how Java works on the Mac. The first thing to try is to open the Terminal and type in :
R CMD javareconf
This asks R to check on the configuration of Java and try to get in sync with it.
off website:
http://wiki.stat.ucla.edu/hpmrg/index.php/RDS_Analyst_Install


BUT, when i do enter  R CMD javareconf, i get the following error:
Error: unexpected symbol in "R CMD”

so what should i do now?

thanks


Jen





Jenny Coetzee (PhD Candidate)
Head of Prevention in Key Populations & Head of the Soweto Sex Worker Project
Perinatal HIV Research Unit (PHRU)
New Nurses Home
Chris Hani Baragwanath Academic Hospital
Soweto

B: +27 11 989 9821
M: +27 84 761 1193
E: [hidden email]<mailto:[hidden email]>

"Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes ... the ones who see things differently - they're not fond of rules, and they have no respect for the status quo. ... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things. ... They push the human race forward, and while some may see them as the crazy ones, we see genius, because the people who are crazy enough to think that they can change the world, are the ones who do."
(Steve Jobs)

On 20 Feb 2018, at 10:05, Loris Bennett <[hidden email]<mailto:[hidden email]>> wrote:

Hi Jenny,

Jenny Coetzee <[hidden email]<mailto:[hidden email]>> writes:

Loris, thank you thank you so much!!!

do you know which CRAN mirror i select? There are loads - all related to various countries..

so appreciate the help

It shouldn't really matter, although I'd choose one that is
geographically close.  Occasionally there can be problems with HTTP
vs. HTTPS, which can lead to spurious errors about a packages not being
available for your version of R.  Because R caches the mirror, if you
run into any issues you might have to exit R and start again.

Cheers,

Loris

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [hidden email]<mailto:[hidden email]>


        [[alternative HTML version deleted]]

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: JGR not installed. Attempting to install from CRAN...

Michael Dewey-3
In reply to this post by Jenny Coetzee
Dear Jenny

 From your email address I would have thought one of the two South
African ones would be best. In the unlikely event of your chosen mirror
not being up-to-date, try another one.

Michael

On 20/02/2018 07:55, Jenny Coetzee wrote:

> Loris, thank you thank you so much!!!
>
> do you know which CRAN mirror i select? There are loads - all related to various countries..
>
> so appreciate the help
>
> Jenny
>
>
>
>
> Jenny Coetzee (PhD Candidate)
> Head of Prevention in Key Populations & Head of the Soweto Sex Worker Project
> Perinatal HIV Research Unit (PHRU)
> New Nurses Home
> Chris Hani Baragwanath Academic Hospital
> Soweto
>
> B: +27 11 989 9821
> M: +27 84 761 1193
> E: [hidden email]<mailto:[hidden email]>
>
> "Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes ... the ones who see things differently - they're not fond of rules, and they have no respect for the status quo. ... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things. ... They push the human race forward, and while some may see them as the crazy ones, we see genius, because the people who are crazy enough to think that they can change the world, are the ones who do."
> (Steve Jobs)
>
> On 20 Feb 2018, at 09:16, Loris Bennett <[hidden email]<mailto:[hidden email]>> wrote:
>
> Hi Jenny,
>
> Jenny Coetzee <[hidden email]<mailto:[hidden email]>> writes:
>
> Hello
>
> I am new to R, and am running a programme called RDS Analyst which
> uses R. When trying to open RDS i am getting the following message:
> JGR not installed. Attempting to install from CRAN…
>
> I am not sure if the issue is a Java one or an R one…
>
> I am working off a Mac using High Sierra
>
> Any help please..?
>
> Here
>
>   http://rforge.net/JGR/
>
> it says that you need two bits: the R package from CRAN and the launcher
> for MacOS.  You should be able to install the R package using
>
>   install.packages("JGR")
>
> from the R shell and the launcher just like a regular binary.
>
> Cheers,
>
> Loris
>
> --
> Dr. Loris Bennett (Mr.)
> ZEDAT, Freie Universität Berlin         Email [hidden email]<mailto:[hidden email]>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] 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.
>

--
Michael
http://www.dewey.myzen.co.uk/home.html

______________________________________________
[hidden email] 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.
Reply | Threaded
Open this post in threaded view
|

Re: JGR not installed. Attempting to install from CRAN...

Loris Bennett-2
In reply to this post by Jenny Coetzee
Jenny Coetzee <[hidden email]> writes:

> thanks Loris
>
> you are bering so helpful!
>
> So, i have done what you explained, but the RDS package that runs
> “using or through” R is now just closing each time i open it. I have
> googled and seen that i need to to the following:
>
> Tips: The recent updates to the Apple Mac OS (Sierra and High Sierra)
> have reorganized the ways apps, like RDS Analyst, work. So sometimes
> RDS Analyst will not be configured correctly and will not start (e.g.,
> bouncing icon or no response to double clicking). Most of these relate
> to how Java works on the Mac. The first thing to try is to open the
> Terminal and type in : R CMD javareconf This asks R to check on the
> configuration of Java and try to get in sync with it.  off website:
> http://wiki.stat.ucla.edu/hpmrg/index.php/RDS_Analyst_Install
>
> BUT, when i do enter R CMD javareconf, i get the following error:
> Error: unexpected symbol in "R CMD”
>
> so what should i do now?

I'll have to guess now, because I don't know much about Macs or Java.  I
assume there is something wrong with your java installation.  You can
check by writing the following in a terminal:

  java -version

If the output of this isn't something sensible, then you probably need
to (re-)install Java.

Otherwise there is some information here (Point 3. "Configure Java for
R"):

  https://www.ibm.com/support/knowledgecenter/en/SSPT3X_3.0.0/com.ibm.swg.im.infosphere.biginsights.install.doc/doc/install_install_r.html

If that doesn't help (and probably even if it does) you should consider
joining the RDS Users Group, if you haven't already:

  http://wiki.stat.ucla.edu/hpmrg/index.php/RDS_Analyst_Users_Group

Cheers,

Loris

--
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email [hidden email]

______________________________________________
[hidden email] 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.